/freebsd/sys/dev/usb/net/ |
H A D | if_cue.c | 190 #define CUE_SETBIT(sc, reg, x) \ argument 193 #define CUE_CLRBIT(sc, reg, x) \ argument 262 cue_getmac(struct cue_softc *sc, void *buf) in cue_getmac() 291 struct cue_softc *sc = uether_getsc(ue); in cue_setpromisc() local 321 struct cue_softc *sc = uether_getsc(ue); in cue_setmulti() local 352 cue_reset(struct cue_softc *sc) in cue_reset() 375 struct cue_softc *sc = uether_getsc(ue); in cue_attach_post() local 562 struct cue_softc *sc = uether_getsc(ue); in cue_tick() local 578 struct cue_softc *sc = uether_getsc(ue); in cue_start() local 590 struct cue_softc *sc = uether_getsc(ue); in cue_init() local [all …]
|
H A D | if_kue.c | 283 kue_load_fw(struct kue_softc *sc) in kue_load_fw() 342 struct kue_softc *sc = uether_getsc(ue); in kue_setpromisc() local 358 struct kue_softc *sc = arg; in kue_copy_maddr() local 371 struct kue_softc *sc = uether_getsc(ue); in kue_setmulti() local 405 kue_reset(struct kue_softc *sc) in kue_reset() 424 struct kue_softc *sc = uether_getsc(ue); in kue_attach_post() local 471 struct kue_softc *sc = device_get_softc(dev); in kue_attach() local 515 struct kue_softc *sc = device_get_softc(dev); in kue_detach() local 648 struct kue_softc *sc = uether_getsc(ue); in kue_start() local 660 struct kue_softc *sc = uether_getsc(ue); in kue_init() local [all …]
|
H A D | if_smsc.c | 164 #define smsc_dbg_printf(sc, fmt, args...) \ argument 173 #define smsc_warn_printf(sc, fmt, args...) \ argument 176 #define smsc_err_printf(sc, fmt, args...) \ argument 636 struct smsc_softc *sc = if_getsoftc(ifp); in smsc_ifmedia_upd() local 663 struct smsc_softc *sc = if_getsoftc(ifp); in smsc_ifmedia_sts() local 714 struct smsc_softc *sc = uether_getsc(ue); in smsc_setmulti() local 871 smsc_reset(struct smsc_softc *sc) in smsc_reset() 1282 smsc_phy_init(struct smsc_softc *sc) in smsc_phy_init() 1334 smsc_chip_init(struct smsc_softc *sc) in smsc_chip_init() 1504 struct smsc_softc *sc; in smsc_ioctl() local [all …]
|
/freebsd/sys/arm/mv/ |
H A D | mv_ap806_gicp.c | 102 struct mv_ap806_gicp_softc *sc; in mv_ap806_gicp_attach() local 225 struct mv_ap806_gicp_softc *sc; in mv_ap806_gicp_activate_intr() local 238 struct mv_ap806_gicp_softc *sc; in mv_ap806_gicp_enable_intr() local 248 struct mv_ap806_gicp_softc *sc; in mv_ap806_gicp_disable_intr() local 268 struct mv_ap806_gicp_softc *sc; in mv_ap806_gicp_deactivate_intr() local 283 struct mv_ap806_gicp_softc *sc; in mv_ap806_gicp_setup_intr() local 297 struct mv_ap806_gicp_softc *sc; in mv_ap806_gicp_teardown_intr() local 310 struct mv_ap806_gicp_softc *sc; in mv_ap806_gicp_pre_ithread() local 320 struct mv_ap806_gicp_softc *sc; in mv_ap806_gicp_post_ithread() local 330 struct mv_ap806_gicp_softc *sc; in mv_ap806_gicp_post_filter() local [all …]
|
/freebsd/sys/dev/hifn/ |
H A D | hifn7751.c | 233 hifn_partname(struct hifn_softc *sc) in hifn_partname() 786 struct hifn_softc *sc = vsc; in hifn_rng() local 831 hifn_puc_wait(struct hifn_softc *sc) in hifn_puc_wait() 1215 hifn_sessions(struct hifn_softc *sc) in hifn_sessions() 1247 hifn_ramtype(struct hifn_softc *sc) in hifn_ramtype() 1775 struct hifn_softc *sc, in hifn_crypto() 2084 struct hifn_softc *sc = vsc; in hifn_tick() local 2117 struct hifn_softc *sc = arg; in hifn_intr() local 2325 struct hifn_softc *sc; in hifn_probesession() local 2522 hifn_abort(struct hifn_softc *sc) in hifn_abort() [all …]
|
/freebsd/sys/dev/ixgbe/ |
H A D | if_ixv.c | 241 struct ixgbe_softc *sc = iflib_get_softc(ctx); in ixv_if_tx_queues_alloc() local 385 struct ixgbe_softc *sc; in ixv_if_attach_pre() local 702 struct ixgbe_softc *sc = que->sc; in ixv_msix_que() local 716 struct ixgbe_softc *sc = arg; in ixv_msix_mbx() local 811 ixv_negotiate_api(struct ixgbe_softc *sc) in ixv_negotiate_api() 1680 ixv_configure_ivars(struct ixgbe_softc *sc) in ixv_configure_ivars() 1709 ixv_save_stats(struct ixgbe_softc *sc) in ixv_save_stats() 1729 ixv_init_stats(struct ixgbe_softc *sc) in ixv_init_stats() 1778 ixv_update_stats(struct ixgbe_softc *sc) in ixv_update_stats() 1882 ixv_print_debug_info(struct ixgbe_softc *sc) in ixv_print_debug_info() [all …]
|
H A D | if_ix.c | 876 struct ixgbe_softc *sc; in ixgbe_if_attach_pre() local 1069 struct ixgbe_softc *sc; in ixgbe_if_attach_post() local 1606 ixgbe_add_hw_stats(struct ixgbe_softc *sc) in ixgbe_add_hw_stats() 2213 struct ixgbe_softc *sc = que->sc; in ixgbe_msix_que() local 2531 struct ixgbe_softc *sc = arg; in ixgbe_msix_link() local 3307 ixgbe_config_gpie(struct ixgbe_softc *sc) in ixgbe_config_gpie() 3402 struct ixgbe_softc *sc = arg; in ixgbe_mc_filter_apply() local 3726 ixgbe_config_dmac(struct ixgbe_softc *sc) in ixgbe_config_dmac() 3932 struct ixgbe_softc *sc = arg; in ixgbe_intr() local 4021 struct ixgbe_softc *sc; in ixgbe_sysctl_flowcntl() local [all …]
|
/freebsd/sys/dev/mpr/ |
H A D | mpr_sas.c | 443 struct mpr_softc *sc; in mprsas_prepare_volume_remove() local 508 struct mpr_softc *sc; in mprsas_prepare_remove() local 931 struct mpr_softc *sc = sassc->sc; in mprsas_discovery_end() local 1206 struct mpr_softc *sc = tm->cm_sc; in mprsas_tm_timeout() local 1615 struct mpr_softc *sc; in mprsas_scsiio_timeout() local 1844 struct mpr_softc *sc; in mprsas_action_scsiio() local 2231 uint8_t sct, sc; in mprsas_nvme_trans_status_code() local 2923 struct mpr_softc *sc; in mprsas_send_smpcmd() local 3088 struct mpr_softc *sc; in mprsas_action_smpio() local 3215 struct mpr_softc *sc; in mprsas_action_resetdev() local [all …]
|
/freebsd/sys/dev/ale/ |
H A D | if_ale.c | 203 struct ale_softc *sc; in ale_miibus_readreg() local 229 struct ale_softc *sc; in ale_miibus_writereg() local 254 struct ale_softc *sc; in ale_miibus_statchg() local 299 struct ale_softc *sc; in ale_mediastatus() local 319 struct ale_softc *sc; in ale_mediachange() local 452 struct ale_softc *sc; in ale_attach() local 704 struct ale_softc *sc; in ale_detach() local 1547 struct ale_softc *sc; in ale_suspend() local 1562 struct ale_softc *sc; in ale_resume() local 1960 struct ale_softc *sc; in ale_ioctl() local [all …]
|
/freebsd/sys/dev/ntb/ntb_hw/ |
H A D | ntb_hw_plx.c | 114 #define PLX_NTX_OUR_BASE(sc) \ argument 116 #define PLX_NTX_PEER_BASE(sc) \ argument 120 #define NTX_READ(sc, reg) \ argument 122 #define NTX_WRITE(sc, reg, val) \ argument 126 #define PNTX_READ(sc, reg) \ argument 128 #define PNTX_WRITE(sc, reg, val) \ argument 132 #define BNTX_READ(sc, reg) \ argument 135 #define BNTX_WRITE(sc, reg, val) \ argument 172 struct ntb_plx_softc *sc = device_get_softc(dev); in ntb_plx_init() local 243 struct ntb_plx_softc *sc = device_get_softc(dev); in ntb_plx_isr() local [all …]
|
/freebsd/sys/dev/vnic/ |
H A D | thunder_mdio.c | 129 #define MDIO_LOCK_INIT(sc, name) \ argument 132 #define MDIO_LOCK_DESTROY(sc) \ argument 138 #define MDIO_LOCK_ASSERT(sc) \ argument 141 #define mdio_reg_read(sc, reg) \ argument 150 struct thunder_mdio_softc *sc; in thunder_mdio_attach() local 177 struct thunder_mdio_softc *sc; in thunder_mdio_detach() local 254 struct thunder_mdio_softc *sc; in thunder_mdio_read() local 306 struct thunder_mdio_softc *sc; in thunder_mdio_write() local 381 struct thunder_mdio_softc *sc; in thunder_mdio_media_status() local 442 struct thunder_mdio_softc *sc; in thunder_mdio_phy_connect() local [all …]
|
/freebsd/sys/dev/mfi/ |
H A D | mfi.c | 1260 struct mfi_softc *sc; in mfi_startup() local 1279 struct mfi_softc *sc; in mfi_intr() local 1650 struct mfi_softc *sc; in mfi_handle_evt() local 1719 struct mfi_softc *sc; in mfi_aen_complete() local 1907 struct mfi_softc *sc; in mfi_add_ld_complete() local 1990 struct mfi_softc *sc; in mfi_add_sys_pd_complete() local 2245 struct mfi_softc *sc; in mfi_bio_complete() local 2342 struct mfi_softc *sc; in mfi_data_cb() local 2692 struct mfi_softc *sc; in mfi_open() local 2712 struct mfi_softc *sc; in mfi_close() local [all …]
|
/freebsd/sys/arm64/qoriq/ |
H A D | qoriq_gpio_pic.c | 99 struct qoriq_gpio_pic_softc *sc; in qoriq_gpio_pic_intr() local 131 struct qoriq_gpio_pic_softc *sc; in qoriq_gpio_pic_disable_intr() local 145 struct qoriq_gpio_pic_softc *sc; in qoriq_gpio_pic_enable_intr() local 205 struct qoriq_gpio_pic_softc *sc; in qoriq_gpio_pic_map_intr() local 227 struct qoriq_gpio_pic_softc *sc; in qoriq_gpio_pic_setup_intr() local 263 struct qoriq_gpio_pic_softc *sc; in qoriq_gpio_pic_teardown_intr() local 281 struct qoriq_gpio_pic_softc *sc; in qoriq_gpio_pic_post_filter() local 296 struct qoriq_gpio_pic_softc *sc; in qoriq_gpio_pic_post_ithread() local 311 struct qoriq_gpio_pic_softc *sc; in qoriq_gpio_pic_pre_ithread() local 339 struct qoriq_gpio_pic_softc *sc; in qoriq_gpio_pic_attach() local [all …]
|
/freebsd/sys/dev/rtwn/usb/ |
H A D | rtwn_usb_attach.c | 129 rtwn_usb_alloc_rx_list(struct rtwn_softc *sc) in rtwn_usb_alloc_rx_list() 149 rtwn_usb_alloc_tx_list(struct rtwn_softc *sc) in rtwn_usb_alloc_tx_list() 193 rtwn_usb_free_rx_list(struct rtwn_softc *sc) in rtwn_usb_free_rx_list() 207 rtwn_usb_free_tx_list(struct rtwn_softc *sc) in rtwn_usb_free_tx_list() 281 rtwn_usb_start_xfers(struct rtwn_softc *sc) in rtwn_usb_start_xfers() 289 rtwn_usb_abort_xfers(struct rtwn_softc *sc) in rtwn_usb_abort_xfers() 317 rtwn_usb_drop_incorrect_tx(struct rtwn_softc *sc) in rtwn_usb_drop_incorrect_tx() 325 rtwn_usb_attach_methods(struct rtwn_softc *sc) in rtwn_usb_attach_methods() 350 rtwn_usb_sysctlattach(struct rtwn_softc *sc) in rtwn_usb_sysctlattach() 379 struct rtwn_softc *sc = &uc->uc_sc; in rtwn_usb_attach() local [all …]
|
/freebsd/sys/dev/dialog/da9063/ |
H A D | da9063_rtc.c | 52 #define DA9063_RTC_LOCK(sc) mtx_lock(&(sc)->mtx) argument 53 #define DA9063_RTC_UNLOCK(sc) mtx_unlock(&(sc)->mtx) argument 54 #define DA9063_RTC_ASSERT_LOCKED(sc) mtx_assert(&(sc)->mtx, MA_OWNED); argument 55 #define DA9063_RTC_ASSERT_UNLOCKED(sc) mtx_assert(&(sc)->mtx, MA_NOTOWNED); argument 63 da9063_rtc_read_ct(struct da9063_rtc_softc *sc, struct clocktime *ct) in da9063_rtc_read_ct() 110 da9063_rtc_write_ct(struct da9063_rtc_softc *sc, struct clocktime *ct) in da9063_rtc_write_ct() 148 struct da9063_rtc_softc *sc; in da9063_rtc_gettime() local 190 struct da9063_rtc_softc *sc; in da9063_rtc_settime() local 227 struct da9063_rtc_softc *sc; in da9063_rtc_attach() local 267 struct da9063_rtc_softc *sc; in da9063_rtc_detach() local
|
/freebsd/sys/dev/usb/controller/ |
H A D | ehci.c | 134 ehci_softc_t *sc; member 183 ehci_reset(ehci_softc_t *sc) in ehci_reset() 203 ehci_hcreset(ehci_softc_t *sc) in ehci_hcreset() 280 ehci_init(ehci_softc_t *sc) in ehci_init() 552 ehci_detach(ehci_softc_t *sc) in ehci_detach() 574 ehci_suspend(ehci_softc_t *sc) in ehci_suspend() 583 ehci_resume(ehci_softc_t *sc) in ehci_resume() 597 ehci_dump_regs(ehci_softc_t *sc) in ehci_dump_regs() 873 ehci_dump_isoc(ehci_softc_t *sc) in ehci_dump_isoc() 1436 ehci_softc_t *sc = arg; in ehci_poll_timeout() local [all …]
|
/freebsd/sys/dev/mpi3mr/ |
H A D | mpi3mr_cam.c | 107 struct mpi3mr_softc *sc; in mpi3mr_prepare_sgls() local 689 struct mpi3mr_softc *sc; in mpi3mr_task_abort() local 734 struct mpi3mr_softc *sc; in mpi3mr_target_reset() local 836 struct mpi3mr_softc *sc; in mpi3mr_scsiio_timeout() local 918 struct mpi3mr_softc *sc; in mpi3mr_action_scsiio() local 1251 struct mpi3mr_softc *sc; in mpi3mr_cam_poll() local 1511 mpi3mr_freeup_events(struct mpi3mr_softc *sc) in mpi3mr_freeup_events() 1642 mpi3mr_logdata_evt_bh(struct mpi3mr_softc *sc, in mpi3mr_logdata_evt_bh() 2033 struct mpi3mr_softc *sc; in mpi3mr_firmware_event_work() local 2058 mpi3mr_cam_attach(struct mpi3mr_softc *sc) in mpi3mr_cam_attach() [all …]
|
/freebsd/sys/dev/ath/ath_rate/onoe/ |
H A D | onoe.c | 101 ath_rate_node_init(struct ath_softc *sc, struct ath_node *an) in ath_rate_node_init() 107 ath_rate_node_cleanup(struct ath_softc *sc, struct ath_node *an) in ath_rate_node_cleanup() 112 ath_rate_findrate(struct ath_softc *sc, struct ath_node *an, in ath_rate_findrate() 136 ath_rate_getxtxrates(struct ath_softc *sc, struct ath_node *an, in ath_rate_getxtxrates() 155 ath_rate_setupxtxdesc(struct ath_softc *sc, struct ath_node *an, in ath_rate_setupxtxdesc() 168 ath_rate_tx_complete(struct ath_softc *sc, struct ath_node *an, in ath_rate_tx_complete() 284 ath_rate_ctl_start(struct ath_softc *sc, struct ieee80211_node *ni) in ath_rate_ctl_start() 336 struct ath_softc *sc = arg; in ath_rate_ctl() local 401 ath_rate_sysctlattach(struct ath_softc *sc) in ath_rate_sysctlattach() 419 ath_rate_fetch_node_stats(struct ath_softc *sc, struct ath_node *an, in ath_rate_fetch_node_stats() [all …]
|
/freebsd/sys/dev/bhnd/cores/pcie2/ |
H A D | bhnd_pcie2_hostb.c | 106 struct bhnd_pcie2hb_softc *sc; in bhnd_pcie2_hostb_attach() local 143 struct bhnd_pcie2hb_softc *sc; in bhnd_pcie2_hostb_detach() local 158 struct bhnd_pcie2hb_softc *sc; in bhnd_pcie2_hostb_suspend() local 173 struct bhnd_pcie2hb_softc *sc; in bhnd_pcie2_hostb_resume() local 199 bhnd_pcie2_wars_early_once(struct bhnd_pcie2hb_softc *sc) in bhnd_pcie2_wars_early_once() 210 bhnd_pcie2_wars_hwup(struct bhnd_pcie2hb_softc *sc) in bhnd_pcie2_wars_hwup() 221 bhnd_pcie2_wars_hwdown(struct bhnd_pcie2hb_softc *sc) in bhnd_pcie2_wars_hwdown()
|
/freebsd/sys/dev/bxe/ |
H A D | bxe_debug.c | 44 bxe_reg_write8(struct bxe_softc *sc, bus_size_t offset, uint8_t val) in bxe_reg_write8() 82 bxe_reg_read8(struct bxe_softc *sc, bus_size_t offset) in bxe_reg_read8() 95 bxe_reg_read16(struct bxe_softc *sc, bus_size_t offset) in bxe_reg_read16() 112 bxe_reg_read32(struct bxe_softc *sc, bus_size_t offset) in bxe_reg_read32() 133 elink_cb_dbg(struct bxe_softc *sc, in elink_cb_dbg() 144 elink_cb_dbg1(struct bxe_softc *sc, in elink_cb_dbg1() 157 elink_cb_dbg2(struct bxe_softc *sc, in elink_cb_dbg2() 171 elink_cb_dbg3(struct bxe_softc *sc, in elink_cb_dbg3() 190 bxe_dump_mem(struct bxe_softc *sc, in bxe_dump_mem() 228 bxe_dump_mbuf_data(struct bxe_softc *sc, in bxe_dump_mbuf_data() [all …]
|
/freebsd/sys/powerpc/powerpc/ |
H A D | openpic.c | 75 struct openpic_softc *sc; in openpic_common_attach() local 231 struct openpic_softc *sc; in openpic_bind() local 267 struct openpic_softc *sc; in openpic_config() local 297 struct openpic_softc *sc; in openpic_dispatch() local 317 struct openpic_softc *sc; in openpic_enable() local 337 struct openpic_softc *sc; in openpic_eoi() local 349 struct openpic_softc *sc; in openpic_ipi() local 363 struct openpic_softc *sc; in openpic_mask() local 381 struct openpic_softc *sc; in openpic_unmask() local 399 struct openpic_softc *sc; in openpic_suspend() local [all …]
|
/freebsd/sys/arm64/freescale/imx/ |
H A D | imx7gpc.c | 63 struct imx7gpc_softc *sc = device_get_softc(dev); in imx7gpc_activate_intr() local 71 struct imx7gpc_softc *sc = device_get_softc(dev); in imx7gpc_disable_intr() local 79 struct imx7gpc_softc *sc = device_get_softc(dev); in imx7gpc_enable_intr() local 88 struct imx7gpc_softc *sc = device_get_softc(dev); in imx7gpc_map_intr() local 97 struct imx7gpc_softc *sc = device_get_softc(dev); in imx7gpc_deactivate_intr() local 106 struct imx7gpc_softc *sc = device_get_softc(dev); in imx7gpc_setup_intr() local 115 struct imx7gpc_softc *sc = device_get_softc(dev); in imx7gpc_teardown_intr() local 123 struct imx7gpc_softc *sc = device_get_softc(dev); in imx7gpc_pre_ithread() local 131 struct imx7gpc_softc *sc = device_get_softc(dev); in imx7gpc_post_ithread() local 139 struct imx7gpc_softc *sc = device_get_softc(dev); in imx7gpc_post_filter() local [all …]
|
/freebsd/sys/dev/hyperv/vmbus/ |
H A D | vmbus.c | 456 vmbus_init(struct vmbus_softc *sc) in vmbus_init() 525 struct vmbus_softc *sc = xsc; in vmbus_scan_done_task() local 534 vmbus_scan_done(struct vmbus_softc *sc, in vmbus_scan_done() 542 vmbus_scan(struct vmbus_softc *sc) in vmbus_scan() 638 struct vmbus_softc *sc = xsc; in vmbus_msg_task() local 738 struct vmbus_softc *sc = xsc; in vmbus_synic_setup() local 826 vmbus_dma_alloc(struct vmbus_softc *sc) in vmbus_dma_alloc() 872 vmbus_dma_free(struct vmbus_softc *sc) in vmbus_dma_free() 1024 struct vmbus_softc *sc = arg1; in vmbus_sysctl_version() local 1389 vmbus_doattach(struct vmbus_softc *sc) in vmbus_doattach() [all …]
|
/freebsd/sys/dev/intpm/ |
H A D | intpm.c | 61 #define INTSMB_LOCK(sc) mtx_lock(&(sc)->lock) argument 62 #define INTSMB_UNLOCK(sc) mtx_unlock(&(sc)->lock) argument 134 struct intsmb_softc *sc; in sb8xx_attach() local 203 struct intsmb_softc *sc = device_get_softc(dev); in intsmb_release_resources() local 370 struct intsmb_softc *sc = arg; in intsmb_rawintr() local 397 intsmb_free(struct intsmb_softc *sc) in intsmb_free() 421 intsmb_intr(struct intsmb_softc *sc) in intsmb_intr() 445 intsmb_slvintr(struct intsmb_softc *sc) in intsmb_slvintr() 466 intsmb_alrintr(struct intsmb_softc *sc) in intsmb_alrintr() 556 intsmb_stop_poll(struct intsmb_softc *sc) in intsmb_stop_poll() [all …]
|
/freebsd/sys/dev/rtwn/rtl8192c/ |
H A D | r92c_chan.c | 57 r92c_get_power_group(struct rtwn_softc *sc, struct ieee80211_channel *c) in r92c_get_power_group() 81 r92c_get_txpower(struct rtwn_softc *sc, int chain, in r92c_get_txpower() 156 r92c_write_txpower(struct rtwn_softc *sc, int chain, in r92c_write_txpower() 218 r92c_set_txpower(struct rtwn_softc *sc, struct ieee80211_channel *c) in r92c_set_txpower() 245 r92c_set_bw40(struct rtwn_softc *sc, uint8_t chan, int prichlo) in r92c_set_bw40() 273 r92c_set_bw20(struct rtwn_softc *sc, uint8_t chan) in r92c_set_bw20() 291 r92c_set_chan(struct rtwn_softc *sc, struct ieee80211_channel *c) in r92c_set_chan() 313 r92c_set_gain(struct rtwn_softc *sc, uint8_t gain) in r92c_set_gain() 325 struct rtwn_softc *sc = ic->ic_softc; in r92c_scan_start() local 339 struct rtwn_softc *sc = ic->ic_softc; in r92c_scan_end() local
|