/freebsd/sys/arm64/broadcom/genet/ |
H A D | if_genet.c | 249 struct gen_softc *sc; in gen_attach() local 388 struct gen_softc *sc; in gen_get_phy_mode() local 417 struct gen_softc *sc; in gen_get_eaddr() local 1045 struct gen_softc *sc; in gen_start() local 1540 struct gen_softc *sc; in gen_ioctl() local 1612 struct gen_softc *sc; in gen_tick() local 1639 struct gen_softc *sc; in gen_miibus_readreg() local 1670 struct gen_softc *sc; in gen_miibus_writereg() local 1751 struct gen_softc *sc; in gen_link_task() local 1763 struct gen_softc *sc; in gen_miibus_statchg() local [all …]
|
/freebsd/sys/dev/et/ |
H A D | if_et.c | 221 struct et_softc *sc; in et_attach() local 367 struct et_softc *sc; in et_detach() local 406 struct et_softc *sc; in et_shutdown() local 418 struct et_softc *sc; in et_miibus_readreg() local 462 struct et_softc *sc; in et_miibus_writereg() local 502 struct et_softc *sc; in et_miibus_statchg() local 601 struct et_softc *sc; in et_ifmedia_upd_locked() local 615 struct et_softc *sc; in et_ifmedia_upd() local 629 struct et_softc *sc; in et_ifmedia_sts() local 1175 struct et_softc *sc; in et_intr() local [all …]
|
/freebsd/sys/dev/clk/rockchip/ |
H A D | rk_cru.c | 67 #define CCU_READ4(sc, reg) bus_read_4((sc)->res, (reg)) argument 68 #define CCU_WRITE4(sc, reg, val) bus_write_4((sc)->res, (reg), (val)) argument 75 struct rk_cru_softc *sc; in rk_cru_write_4() local 85 struct rk_cru_softc *sc; in rk_cru_read_4() local 96 struct rk_cru_softc *sc; in rk_cru_modify_4() local 112 struct rk_cru_softc *sc; in rk_cru_reset_assert() local 138 struct rk_cru_softc *sc; in rk_cru_reset_is_asserted() local 164 struct rk_cru_softc *sc; in rk_cru_device_lock() local 173 struct rk_cru_softc *sc; in rk_cru_device_unlock() local 180 rk_cru_register_gates(struct rk_cru_softc *sc) in rk_cru_register_gates() [all …]
|
/freebsd/sys/dev/oce/ |
H A D | oce_if.c | 256 POCE_SOFTC sc; in oce_probe() local 300 POCE_SOFTC sc; in oce_attach() local 629 POCE_SOFTC sc = arg; in oce_init() local 689 POCE_SOFTC sc = ii->sc; in oce_intr() local 805 POCE_SOFTC sc = ii->sc; in oce_fast_isr() local 869 oce_intr_free(POCE_SOFTC sc) in oce_intr_free() 1835 oce_init_lro(POCE_SOFTC sc) in oce_init_lro() 1854 oce_free_lro(POCE_SOFTC sc) in oce_free_lro() 2457 POCE_SOFTC sc = arg; in oce_local_timer() local 2766 is_be3_a1(POCE_SOFTC sc) in is_be3_a1() [all …]
|
H A D | oce_queue.c | 86 oce_queue_init_all(POCE_SOFTC sc) in oce_queue_init_all() 163 oce_queue_release_all(POCE_SOFTC sc) in oce_queue_release_all() 313 POCE_SOFTC sc = wq->parent; in oce_wq_create() local 386 oce_rq *oce_rq_init(POCE_SOFTC sc, in oce_rq_init() 489 POCE_SOFTC sc = rq->parent; in oce_rq_create() local 957 oce_arm_eq(POCE_SOFTC sc, in oce_arm_eq() 1001 POCE_SOFTC sc = eq->parent; in oce_drain_eq() local 1070 POCE_SOFTC sc; in oce_drain_rq_cq() local 1190 POCE_SOFTC sc; in oce_rx_cq_clean() local 1231 oce_stop_rx(POCE_SOFTC sc) in oce_stop_rx() [all …]
|
/freebsd/sys/dev/qcom_tlmm/ |
H A D | qcom_tlmm_pin.c | 69 qcom_tlmm_pin_configure(struct qcom_tlmm_softc *sc, in qcom_tlmm_pin_configure() 123 struct qcom_tlmm_softc *sc; in qcom_tlmm_get_bus() local 133 struct qcom_tlmm_softc *sc = device_get_softc(dev); in qcom_tlmm_pin_max() local 142 struct qcom_tlmm_softc *sc = device_get_softc(dev); in qcom_tlmm_pin_getcaps() local 159 struct qcom_tlmm_softc *sc = device_get_softc(dev); in qcom_tlmm_pin_getflags() local 213 struct qcom_tlmm_softc *sc = device_get_softc(dev); in qcom_tlmm_pin_getname() local 230 struct qcom_tlmm_softc *sc = device_get_softc(dev); in qcom_tlmm_pin_setflags() local 247 struct qcom_tlmm_softc *sc = device_get_softc(dev); in qcom_tlmm_pin_set() local 263 struct qcom_tlmm_softc *sc = device_get_softc(dev); in qcom_tlmm_pin_get() local 279 struct qcom_tlmm_softc *sc = device_get_softc(dev); in qcom_tlmm_pin_toggle() local [all …]
|
/freebsd/sys/dev/uart/ |
H A D | uart_dev_lowrisc.c | 191 lowrisc_uart_bus_attach(struct uart_softc *sc) in lowrisc_uart_bus_attach() 212 lowrisc_uart_bus_detach(struct uart_softc *sc) in lowrisc_uart_bus_detach() 221 lowrisc_uart_bus_flush(struct uart_softc *sc, int what) in lowrisc_uart_bus_flush() 230 lowrisc_uart_bus_getsig(struct uart_softc *sc) in lowrisc_uart_bus_getsig() 264 lowrisc_uart_bus_ipend(struct uart_softc *sc) in lowrisc_uart_bus_ipend() 295 lowrisc_uart_bus_probe(struct uart_softc *sc) in lowrisc_uart_bus_probe() 318 lowrisc_uart_bus_receive(struct uart_softc *sc) in lowrisc_uart_bus_receive() 344 lowrisc_uart_bus_setsig(struct uart_softc *sc, int sig) in lowrisc_uart_bus_setsig() 351 lowrisc_uart_bus_transmit(struct uart_softc *sc) in lowrisc_uart_bus_transmit() 370 lowrisc_uart_bus_grab(struct uart_softc *sc) in lowrisc_uart_bus_grab() [all …]
|
/freebsd/sys/arm/ti/omap4/ |
H A D | omap4_wugen.c | 60 struct omap4_wugen_sc *sc = device_get_softc(dev); in omap4_wugen_activate_intr() local 68 struct omap4_wugen_sc *sc = device_get_softc(dev); in omap4_wugen_disable_intr() local 76 struct omap4_wugen_sc *sc = device_get_softc(dev); in omap4_wugen_enable_intr() local 85 struct omap4_wugen_sc *sc = device_get_softc(dev); in omap4_wugen_map_intr() local 94 struct omap4_wugen_sc *sc = device_get_softc(dev); in omap4_wugen_deactivate_intr() local 103 struct omap4_wugen_sc *sc = device_get_softc(dev); in omap4_wugen_setup_intr() local 112 struct omap4_wugen_sc *sc = device_get_softc(dev); in omap4_wugen_teardown_intr() local 120 struct omap4_wugen_sc *sc = device_get_softc(dev); in omap4_wugen_pre_ithread() local 128 struct omap4_wugen_sc *sc = device_get_softc(dev); in omap4_wugen_post_ithread() local 167 struct omap4_wugen_sc *sc; in omap4_wugen_detach() local [all …]
|
/freebsd/sys/dev/ath/ |
H A D | if_ath_misc.h | 123 #define ath_power_setpower(sc, ps, sg) _ath_power_setpower(sc, ps, sg, \ argument 125 #define ath_power_setselfgen(sc, ps) _ath_power_set_selfgen(sc, ps, \ argument 127 #define ath_power_set_power_state(sc, ps) \ argument 129 #define ath_power_restore_power_state(sc) \ argument 136 ath_tx_kick(struct ath_softc *sc) in ath_tx_kick() 146 ath_tx_swq_kick(struct ath_softc *sc) in ath_tx_swq_kick()
|
H A D | if_ath_tx.c | 168 ath_tx_is_11n(struct ath_softc *sc) in ath_tx_is_11n() 254 ath_txfrag_cleanup(struct ath_softc *sc, in ath_txfrag_cleanup() 2422 struct ath_softc *sc = ic->ic_softc; in ath_raw_xmit() local 5919 struct ath_softc *sc = ni->ni_ic->ic_softc; local 5997 struct ath_softc *sc = ni->ni_ic->ic_softc; local 6043 struct ath_softc *sc = ni->ni_ic->ic_softc; local 6178 struct ath_softc *sc = ni->ni_ic->ic_softc; local 6251 struct ath_softc *sc = ni->ni_ic->ic_softc; local 6380 ath_legacy_dma_txsetup(struct ath_softc *sc) 6388 ath_legacy_dma_txteardown(struct ath_softc *sc) [all …]
|
H A D | if_ath_btcoex.c | 86 ath_btcoex_cfg_wb195(struct ath_softc *sc) in ath_btcoex_cfg_wb195() 142 ath_btcoex_cfg_wb225(struct ath_softc *sc) in ath_btcoex_cfg_wb225() 193 ath_btcoex_cfg_mci(struct ath_softc *sc, uint32_t mci_cfg, int do_btdiv) in ath_btcoex_cfg_mci() 268 ath_btcoex_cfg_wb222(struct ath_softc *sc) in ath_btcoex_cfg_wb222() 282 ath_btcoex_cfg_wb335b(struct ath_softc *sc) in ath_btcoex_cfg_wb335b() 341 ath_btcoex_attach(struct ath_softc *sc) in ath_btcoex_attach() 391 ath_btcoex_detach(struct ath_softc *sc) in ath_btcoex_detach() 410 ath_btcoex_enable(struct ath_softc *sc, const struct ieee80211_channel *chan) in ath_btcoex_enable() 427 ath_btcoex_ioctl(struct ath_softc *sc, struct ath_diag *ad) in ath_btcoex_ioctl()
|
/freebsd/sys/dev/iicbus/mux/ |
H A D | iicmux.c | 59 struct iicmux_softc *sc = device_get_softc(dev); in iicmux_callback() local 126 struct iicmux_softc *sc = device_get_softc(dev); in iicmux_get_frequency() local 135 struct iicmux_softc *sc = device_get_softc(dev); in iicmux_get_node() local 149 struct iicmux_softc *sc = device_get_softc(dev); in iicmux_intr() local 160 struct iicmux_softc *sc = device_get_softc(dev); in iicmux_read() local 168 struct iicmux_softc *sc = device_get_softc(dev); in iicmux_repeated_start() local 176 struct iicmux_softc *sc = device_get_softc(dev); in iicmux_reset() local 184 struct iicmux_softc *sc = device_get_softc(dev); in iicmux_start() local 192 struct iicmux_softc *sc = device_get_softc(dev); in iicmux_stop() local 200 struct iicmux_softc *sc = device_get_softc(dev); in iicmux_transfer() local [all …]
|
/freebsd/sys/dev/ice/ |
H A D | ice_rdma.c | 123 struct ice_softc *sc = ice_rdma_peer_to_sc(peer); in ice_rdma_pf_reset() local 146 struct ice_softc *sc = ice_rdma_peer_to_sc(peer); in ice_rdma_pf_msix_init() local 167 struct ice_softc *sc = ice_rdma_peer_to_sc(peer); in ice_rdma_qset_register_request() local 495 struct ice_softc *sc; in ice_rdma_register() local 627 ice_rdma_pf_attach_locked(struct ice_softc *sc) in ice_rdma_pf_attach_locked() 682 ice_rdma_pf_attach(struct ice_softc *sc) in ice_rdma_pf_attach() 704 ice_rdma_pf_detach_locked(struct ice_softc *sc) in ice_rdma_pf_detach_locked() 741 ice_rdma_pf_detach(struct ice_softc *sc) in ice_rdma_pf_detach() 757 ice_rdma_pf_init(struct ice_softc *sc) in ice_rdma_pf_init() 786 ice_rdma_pf_stop(struct ice_softc *sc) in ice_rdma_pf_stop() [all …]
|
/freebsd/sys/dev/rtwn/ |
H A D | if_rtwn_rx.c | 107 rtwn_set_basicrates(struct rtwn_softc *sc, uint32_t rates) in rtwn_set_basicrates() 168 rtwn_get_tsf_low(struct rtwn_softc *sc, int id) in rtwn_get_tsf_low() 174 rtwn_get_tsf_high(struct rtwn_softc *sc, int id) in rtwn_get_tsf_high() 189 rtwn_extend_rx_tsf(struct rtwn_softc *sc, in rtwn_extend_rx_tsf() 330 struct rtwn_softc *sc = vap->iv_ic->ic_softc; in rtwn_adhoc_recv_mgmt() local 379 rtwn_set_multi(struct rtwn_softc *sc) in rtwn_set_multi() 407 rtwn_rxfilter_update_mgt(struct rtwn_softc *sc) in rtwn_rxfilter_update_mgt() 427 rtwn_rxfilter_update(struct rtwn_softc *sc) in rtwn_rxfilter_update() 440 rtwn_rxfilter_init(struct rtwn_softc *sc) in rtwn_rxfilter_init() 464 rtwn_rxfilter_set(struct rtwn_softc *sc) in rtwn_rxfilter_set() [all …]
|
/freebsd/sys/powerpc/ps3/ |
H A D | if_glc.c | 119 struct glc_softc *sc; in glc_attach() local 287 glc_init_locked(struct glc_softc *sc) in glc_init_locked() 350 struct glc_softc *sc = xsc; in glc_stop() local 361 struct glc_softc *sc = xsc; in glc_init() local 371 struct glc_softc *sc = xsc; in glc_tick() local 504 struct glc_softc *sc = arg; in glc_add_maddr() local 523 glc_set_multicast(struct glc_softc *sc) in glc_set_multicast() 707 glc_rxintr(struct glc_softc *sc) in glc_rxintr() 780 glc_txintr(struct glc_softc *sc) in glc_txintr() 852 struct glc_softc *sc = xsc; in glc_intr_filter() local [all …]
|
/freebsd/sys/dev/virtio/balloon/ |
H A D | virtio_balloon.c | 173 struct vtballoon_softc *sc; in vtballoon_attach() local 232 struct vtballoon_softc *sc; in vtballoon_detach() local 264 struct vtballoon_softc *sc; in vtballoon_config_change() local 322 struct vtballoon_softc *sc; in vtballoon_vq_intr() local 436 vtballoon_pop(struct vtballoon_softc *sc) in vtballoon_pop() 444 vtballoon_stop(struct vtballoon_softc *sc) in vtballoon_stop() 454 vtballoon_alloc_page(struct vtballoon_softc *sc) in vtballoon_alloc_page() 474 vtballoon_desired_size(struct vtballoon_softc *sc) in vtballoon_desired_size() 488 vtballoon_update_size(struct vtballoon_softc *sc) in vtballoon_update_size() 501 vtballoon_sleep(struct vtballoon_softc *sc) in vtballoon_sleep() [all …]
|
/freebsd/sys/dev/ips/ |
H A D | ips.c | 78 ips_softc_t *sc = dev->si_drv1; in ips_open() local 87 ips_softc_t *sc = dev->si_drv1; in ips_close() local 98 ips_softc_t *sc; in ips_ioctl() local 114 static int ips_cmdqueue_free(ips_softc_t *sc) in ips_cmdqueue_free() 145 static int ips_cmdqueue_init(ips_softc_t *sc) in ips_cmdqueue_init() 261 static int ips_diskdev_init(ips_softc_t *sc) in ips_diskdev_init() 282 static int ips_diskdev_free(ips_softc_t *sc) in ips_diskdev_free() 306 ips_softc_t *sc = arg; in ips_timeout() local 344 int ips_adapter_init(ips_softc_t *sc) in ips_adapter_init() 488 int ips_adapter_free(ips_softc_t *sc) in ips_adapter_free() [all …]
|
/freebsd/sys/dev/usb/controller/ |
H A D | atmegadci.c | 148 atmegadci_clocks_on(struct atmegadci_softc *sc) in atmegadci_clocks_on() 190 atmegadci_pull_up(struct atmegadci_softc *sc) in atmegadci_pull_up() 202 atmegadci_pull_down(struct atmegadci_softc *sc) in atmegadci_pull_down() 244 struct atmegadci_softc *sc; in atmegadci_setup_rx() local 329 struct atmegadci_softc *sc; in atmegadci_data_rx() local 443 struct atmegadci_softc *sc; in atmegadci_data_tx() local 528 struct atmegadci_softc *sc; in atmegadci_data_tx_sync() local 1106 struct atmegadci_softc *sc; in atmegadci_set_stall() local 1187 struct atmegadci_softc *sc; in atmegadci_clear_stall() local 1213 atmegadci_init(struct atmegadci_softc *sc) in atmegadci_init() [all …]
|
/freebsd/sys/dev/bxe/ |
H A D | ecore_init_ops.h | 48 static void ecore_init_str_wr(struct bxe_softc *sc, uint32_t addr, in ecore_init_str_wr() 57 static void ecore_init_ind_wr(struct bxe_softc *sc, uint32_t addr, in ecore_init_ind_wr() 111 static void ecore_init_wr_64(struct bxe_softc *sc, uint32_t addr, in ecore_init_wr_64() 180 static void ecore_init_wr_wb(struct bxe_softc *sc, uint32_t addr, in ecore_init_wr_wb() 647 static int ecore_ilt_line_mem_op(struct bxe_softc *sc, in ecore_ilt_line_mem_op() 694 static int ecore_ilt_mem_op(struct bxe_softc *sc, uint8_t memop) in ecore_ilt_mem_op() 718 static void ecore_ilt_line_init_op(struct bxe_softc *sc, in ecore_ilt_line_init_op() 738 static void ecore_ilt_boundry_init_op(struct bxe_softc *sc, in ecore_ilt_boundry_init_op() 791 static void ecore_ilt_client_init_op_ilt(struct bxe_softc *sc, in ecore_ilt_client_init_op_ilt() 808 static void ecore_ilt_client_init_op(struct bxe_softc *sc, in ecore_ilt_client_init_op() [all …]
|
H A D | bxe.h | 312 #define NUM_BD_REQ(sc) \ argument 364 #define NUM_RCQ_REQ(sc) \ argument 471 struct bxe_softc *sc; member 541 struct bxe_softc *sc; member 692 #define IS_SRIOV(sc) 0 argument 1152 #define CHIP_REV_IS_ASIC(sc) \ argument 2074 #define HW_CID(sc, x) \ argument 2250 #define bxe_panic(sc, msg) \ argument 2257 #define bxe_panic(sc, msg) \ argument 2278 reg_poll(struct bxe_softc *sc, in reg_poll() [all …]
|
/freebsd/sys/dev/vr/ |
H A D | if_vr.c | 242 struct vr_softc *sc; in vr_miibus_readreg() local 265 struct vr_softc *sc; in vr_miibus_writereg() local 295 struct vr_softc *sc; in vr_miibus_statchg() local 431 struct vr_softc *sc; member 605 struct vr_softc *sc; in vr_attach() local 1553 struct vr_softc *sc; in vr_tick() local 1583 struct vr_softc *sc; in vr_poll() local 1599 struct vr_softc *sc; in vr_poll_locked() local 1672 struct vr_softc *sc; in vr_intr() local 1692 struct vr_softc *sc; in vr_int_task() local [all …]
|
/freebsd/sys/dev/iavf/ |
H A D | if_iavf_iflib.c | 257 struct iavf_sc *sc; in iavf_if_attach_pre() local 411 struct iavf_sc *sc = (struct iavf_sc *)arg; in iavf_vc_task() local 428 iavf_setup_vc_tq(struct iavf_sc *sc) in iavf_setup_vc_tq() 469 struct iavf_sc *sc; in iavf_if_attach_post() local 520 struct iavf_sc *sc = iavf_sc_from_ctx(ctx); in iavf_if_detach() local 669 iavf_send_vc_msg(struct iavf_sc *sc, u32 op) in iavf_send_vc_msg() 1129 iavf_check_aq_errors(struct iavf_sc *sc) in iavf_check_aq_errors() 1559 iavf_setup_interface(struct iavf_sc *sc) in iavf_setup_interface() 1695 iavf_configure_itr(struct iavf_sc *sc) in iavf_configure_itr() 1739 struct iavf_sc *sc = rx_que->vsi->back; in iavf_msix_que() local [all …]
|
/freebsd/sys/dev/fxp/ |
H A D | if_fxp.c | 326 fxp_scb_wait(struct fxp_softc *sc) in fxp_scb_wait() 426 struct fxp_softc *sc; in fxp_attach() local 932 fxp_release(struct fxp_softc *sc) in fxp_release() 1711 struct fxp_softc *sc = xsc; in fxp_intr() local 1750 fxp_txeof(struct fxp_softc *sc) in fxp_txeof() 2116 struct fxp_softc *sc = xsc; in fxp_tick() local 2180 fxp_stop(struct fxp_softc *sc) in fxp_stop() 2232 fxp_watchdog(struct fxp_softc *sc) in fxp_watchdog() 2256 struct fxp_softc *sc = xsc; in fxp_init() local 2797 struct fxp_softc *sc; in fxp_miibus_statchg() local [all …]
|
/freebsd/sys/dev/re/ |
H A D | if_re.c | 449 struct rl_softc *sc; in re_gmii_readreg() local 487 struct rl_softc *sc; in re_gmii_writereg() local 519 struct rl_softc *sc; in re_miibus_readreg() local 573 struct rl_softc *sc; in re_miibus_writereg() local 619 struct rl_softc *sc; in re_miibus_statchg() local 1217 struct rl_softc *sc; in re_attach() local 1774 struct rl_softc *sc; in re_detach() local 2488 struct rl_softc *sc; in re_tick() local 4112 struct rl_softc *sc; in re_debugnet_init() local 4131 struct rl_softc *sc; in re_debugnet_transmit() local [all …]
|
/freebsd/sys/dev/rtwn/rtl8812a/usb/ |
H A D | r12au_attach.c | 76 r12au_postattach(struct rtwn_softc *sc) in r12au_postattach() 109 r12a_vap_preattach(struct rtwn_softc *sc, struct ieee80211vap *vap) in r12a_vap_preattach() 124 r12a_attach_private(struct rtwn_softc *sc) in r12a_attach_private() 149 r12a_detach_private(struct rtwn_softc *sc) in r12a_detach_private() 157 r12a_read_chipid_vendor(struct rtwn_softc *sc, uint32_t reg_sys_cfg) in r12a_read_chipid_vendor() 166 r12au_adj_devcaps(struct rtwn_softc *sc) in r12au_adj_devcaps() 182 struct rtwn_softc *sc = &uc->uc_sc; in r12au_attach() local
|