/freebsd/sys/dev/le/ |
H A D | lance.c | 186 lance_attach(struct lance_softc *sc) in lance_attach() 202 lance_detach(struct lance_softc *sc) in lance_detach() 215 lance_suspend(struct lance_softc *sc) in lance_suspend() 224 lance_resume(struct lance_softc *sc) in lance_resume() 236 struct lance_softc *sc = if_getsoftc(ifp); in lance_start() local 244 lance_stop(struct lance_softc *sc) in lance_stop() 275 lance_init_locked(struct lance_softc *sc) in lance_init_locked() 452 struct lance_softc *sc = if_getsoftc(ifp); in lance_mediachange() local 475 struct lance_softc *sc = if_getsoftc(ifp); in lance_mediastatus() local 575 struct lance_softc *sc; member [all …]
|
/freebsd/sys/dev/ipmi/ |
H A D | ipmi_kcs.c | 58 kcs_wait(struct ipmi_softc *sc, int value, int mask) in kcs_wait() 78 kcs_wait_for_ibf(struct ipmi_softc *sc, bool level) in kcs_wait_for_ibf() 85 kcs_wait_for_obf(struct ipmi_softc *sc, bool level) in kcs_wait_for_obf() 92 kcs_clear_obf(struct ipmi_softc *sc, int status) in kcs_clear_obf() 102 kcs_error(struct ipmi_softc *sc) in kcs_error() 170 kcs_start_write(struct ipmi_softc *sc) in kcs_start_write() 211 kcs_write_byte(struct ipmi_softc *sc, u_char data) in kcs_write_byte() 461 struct ipmi_softc *sc = arg; in kcs_loop() local 483 kcs_startup(struct ipmi_softc *sc) in kcs_startup() 531 ipmi_kcs_attach(struct ipmi_softc *sc) in ipmi_kcs_attach() [all …]
|
H A D | ipmi_smic.c | 55 smic_wait_for_tx_okay(struct ipmi_softc *sc) in smic_wait_for_tx_okay() 65 smic_wait_for_rx_okay(struct ipmi_softc *sc) in smic_wait_for_rx_okay() 75 smic_wait_for_not_busy(struct ipmi_softc *sc) in smic_wait_for_not_busy() 85 smic_set_busy(struct ipmi_softc *sc) in smic_set_busy() 100 smic_start_write(struct ipmi_softc *sc, u_char data) in smic_start_write() 125 smic_write_next(struct ipmi_softc *sc, u_char data) in smic_write_next() 149 smic_write_last(struct ipmi_softc *sc, u_char data) in smic_write_last() 223 smic_read_end(struct ipmi_softc *sc) in smic_read_end() 358 struct ipmi_softc *sc = arg; in smic_loop() local 383 smic_startup(struct ipmi_softc *sc) in smic_startup() [all …]
|
/freebsd/sys/dev/gem/ |
H A D | if_gem.c | 143 gem_attach(struct gem_softc *sc) in gem_attach() 530 struct gem_softc *sc = xsc; in gem_cddma_callback() local 542 struct gem_softc *sc = arg; in gem_tick() local 599 gem_reset(struct gem_softc *sc) in gem_reset() 904 struct gem_softc *sc = xsc; in gem_init() local 1374 gem_tint(struct gem_softc *sc) in gem_tint() 1490 struct gem_softc *sc = arg; in gem_rint_timeout() local 1690 struct gem_softc *sc = v; in gem_intr() local 1836 struct gem_softc *sc; in gem_mii_readreg() local 1894 struct gem_softc *sc; in gem_mii_writereg() local [all …]
|
/freebsd/sys/dev/bce/ |
H A D | if_bce.c | 673 struct bce_softc *sc; in bce_probe() local 1052 struct bce_softc *sc; in bce_attach() local 1842 struct bce_softc *sc; in bce_miibus_read_reg() local 1920 struct bce_softc *sc; in bce_miibus_write_reg() local 1992 struct bce_softc *sc; in bce_miibus_statchg() local 3438 struct bce_softc *sc; in bce_dma_alloc() local 7780 struct bce_softc *sc; in bce_intr() local 8209 struct bce_softc *sc; in bce_get_counter() local 8419 struct bce_softc *sc; in bce_sysctl_driver_state() local 8446 struct bce_softc *sc; in bce_sysctl_hw_state() local [all …]
|
/freebsd/sys/dev/bxe/ |
H A D | bxe.c | 5113 struct bxe_softc *sc; in bxe_tx_encap() local 5602 struct bxe_softc *sc; in bxe_tx_start() local 6104 struct bxe_softc *sc; in bxe_free_tpa_pool() local 12116 struct bxe_softc *sc; member 15824 struct bxe_softc *sc; in bxe_sysctl_state() local 16202 struct bxe_softc *sc; in bxe_attach() local 16399 struct bxe_softc *sc; in bxe_detach() local 16483 struct bxe_softc *sc; in bxe_shutdown() local 19424 struct bxe_softc *sc; in bxe_debugnet_init() local 19442 struct bxe_softc *sc; in bxe_debugnet_transmit() local [all …]
|
/freebsd/sys/dev/dpaa/ |
H A D | if_dtsec.c | 157 struct dtsec_softc *sc; in dtsec_fm_mac_mdio_event_callback() local 167 struct dtsec_softc *sc; in dtsec_fm_mac_exception_callback() local 261 struct dtsec_softc *sc; in dtsec_fm_port_rx_exception_callback() local 272 struct dtsec_softc *sc; in dtsec_fm_port_tx_exception_callback() local 425 struct dtsec_softc *sc; in dtsec_if_ioctl() local 470 struct dtsec_softc *sc; in dtsec_if_tick() local 534 struct dtsec_softc *sc; in dtsec_if_init() local 546 struct dtsec_softc *sc; in dtsec_if_start() local 627 struct dtsec_softc *sc; in dtsec_attach() local 760 struct dtsec_softc *sc; in dtsec_detach() local [all …]
|
/freebsd/sys/dev/lge/ |
H A D | if_lge.c | 263 struct lge_softc *sc; in lge_miibus_readreg() local 293 struct lge_softc *sc; in lge_miibus_writereg() local 316 struct lge_softc *sc; in lge_miibus_statchg() local 449 struct lge_softc *sc; in lge_attach() local 578 struct lge_softc *sc; in lge_detach() local 825 struct lge_softc *sc; in lge_jfree() local 997 struct lge_softc *sc; in lge_tick() local 1035 struct lge_softc *sc; in lge_intr() local 1142 struct lge_softc *sc; in lge_start() local 1153 struct lge_softc *sc; in lge_start_locked() local [all …]
|
/freebsd/sys/dev/rtwn/ |
H A D | if_rtwn.c | 158 rtwn_attach(struct rtwn_softc *sc) in rtwn_attach() 365 rtwn_detach(struct rtwn_softc *sc) in rtwn_detach() 385 rtwn_suspend(struct rtwn_softc *sc) in rtwn_suspend() 393 rtwn_resume(struct rtwn_softc *sc) in rtwn_resume() 866 struct rtwn_softc *sc = arg; in rtwn_pwrmode_init() local 1345 struct rtwn_softc *sc = arg; in rtwn_watchdog() local 1380 rtwn_dma_init(struct rtwn_softc *sc) in rtwn_dma_init() 1446 rtwn_mac_init(struct rtwn_softc *sc) in rtwn_mac_init() 1462 rtwn_mrr_init(struct rtwn_softc *sc) in rtwn_mrr_init() 1776 rtwn_init(struct rtwn_softc *sc) in rtwn_init() [all …]
|
/freebsd/sys/arm/xilinx/ |
H A D | zy7_slcr.c | 66 #define ZSLCR_LOCK(sc) mtx_lock(&(sc)->sc_mtx) argument 68 #define ZSLCR_LOCK_INIT(sc) \ argument 110 zy7_slcr_unlock(struct zy7_slcr_softc *sc) in zy7_slcr_unlock() 118 zy7_slcr_lock(struct zy7_slcr_softc *sc) in zy7_slcr_lock() 128 struct zy7_slcr_softc *sc = zy7_slcr_softc_p; in zy7_slcr_cpu_reset() local 152 struct zy7_slcr_softc *sc = zy7_slcr_softc_p; in zy7_slcr_preload_pl() local 182 struct zy7_slcr_softc *sc = zy7_slcr_softc_p; in zy7_slcr_postload_pl() local 212 struct zy7_slcr_softc *sc = zy7_slcr_softc_p; in cgem_set_ref_clk() local 259 struct zy7_slcr_softc *sc = zy7_slcr_softc_p; in zy7_pl_fclk_set_source() local 287 struct zy7_slcr_softc *sc = zy7_slcr_softc_p; in zy7_pl_fclk_get_source() local [all …]
|
/freebsd/sys/dev/xl/ |
H A D | if_xl.c | 382 struct xl_softc *sc; in xl_mii_bitbang_read() local 401 struct xl_softc *sc; in xl_mii_bitbang_write() local 414 struct xl_softc *sc; in xl_miibus_readreg() local 427 struct xl_softc *sc; in xl_miibus_writereg() local 442 struct xl_softc *sc; in xl_miibus_statchg() local 484 struct xl_softc *sc; in xl_miibus_mediainit() local 664 struct xl_softc *sc = arg; in xl_check_maddr_90xB() local 1064 struct xl_softc *sc; in xl_attach() local 1549 struct xl_softc *sc; in xl_detach() local 3229 struct xl_softc *sc; in xl_suspend() local [all …]
|
/freebsd/sys/dev/xilinx/ |
H A D | if_xae.c | 176 struct xae_softc *sc; in xae_xdma_tx_intr() local 211 struct xae_softc *sc; in xae_xdma_rx_intr() local 261 struct xae_softc *sc; in xae_transmit_locked() local 300 struct xae_softc *sc; in xae_transmit() local 408 struct xae_softc *sc; in xae_tick() local 466 struct xae_softc *sc; in xae_init() local 478 struct xae_softc *sc; in xae_media_status() local 501 struct xae_softc *sc; in xae_media_change() local 584 struct xae_softc *sc; in xae_ioctl() local 694 struct xae_softc *sc; in xae_miibus_read_reg() local [all …]
|
/freebsd/sys/dev/tws/ |
H A D | tws_hdm.c | 81 tws_init_ctlr(struct tws_softc *sc) in tws_init_ctlr() 112 tws_init_obfl_q(struct tws_softc *sc) in tws_init_obfl_q() 216 tws_display_ctlr_info(struct tws_softc *sc) in tws_display_ctlr_info() 403 tws_ctlr_ready(struct tws_softc *sc) in tws_ctlr_ready() 415 tws_turn_on_interrupts(struct tws_softc *sc) in tws_turn_on_interrupts() 425 tws_turn_off_interrupts(struct tws_softc *sc) in tws_turn_off_interrupts() 435 tws_disable_db_intr(struct tws_softc *sc) in tws_disable_db_intr() 446 tws_enable_db_intr(struct tws_softc *sc) in tws_enable_db_intr() 457 tws_ctlr_reset(struct tws_softc *sc) in tws_ctlr_reset() 482 tws_assert_soft_reset(struct tws_softc *sc) in tws_assert_soft_reset() [all …]
|
H A D | tws.c | 113 struct tws_softc *sc = dev->si_drv1; in tws_open() local 123 struct tws_softc *sc = dev->si_drv1; in tws_close() local 133 struct tws_softc *sc = dev->si_drv1; in tws_read() local 143 struct tws_softc *sc = dev->si_drv1; in tws_write() local 451 tws_teardown_intr(struct tws_softc *sc) in tws_teardown_intr() 466 tws_setup_irq(struct tws_softc *sc) in tws_setup_irq() 505 tws_init(struct tws_softc *sc) in tws_init() 638 tws_init_aen_q(struct tws_softc *sc) in tws_init_aen_q() 650 tws_init_trace_q(struct tws_softc *sc) in tws_init_trace_q() 766 tws_get_state(struct tws_softc *sc) in tws_get_state() [all …]
|
/freebsd/sys/dev/ath/ |
H A D | if_ath_sysctl.c | 110 struct ath_softc *sc = arg1; in ath_sysctl_slottime() local 136 struct ath_softc *sc = arg1; in ath_sysctl_acktimeout() local 162 struct ath_softc *sc = arg1; in ath_sysctl_ctstimeout() local 188 struct ath_softc *sc = arg1; in ath_sysctl_softled() local 209 struct ath_softc *sc = arg1; in ath_sysctl_ledpin() local 228 struct ath_softc *sc = arg1; in ath_sysctl_hardled() local 249 struct ath_softc *sc = arg1; in ath_sysctl_txantenna() local 286 struct ath_softc *sc = arg1; in ath_sysctl_rxantenna() local 309 struct ath_softc *sc = arg1; in ath_sysctl_diversity() local 340 struct ath_softc *sc = arg1; in ath_sysctl_diag() local [all …]
|
H A D | if_ath_rx_edma.c | 159 ath_edma_stoprecv(struct ath_softc *sc, int dodelay) in ath_edma_stoprecv() 205 ath_edma_reinit_fifo(struct ath_softc *sc, HAL_RX_QUEUE qtype) in ath_edma_reinit_fifo() 242 ath_edma_startrecv(struct ath_softc *sc) in ath_edma_startrecv() 335 ath_edma_recv_sched(struct ath_softc *sc, int dosched) in ath_edma_recv_sched() 359 ath_edma_recv_flush(struct ath_softc *sc) in ath_edma_recv_flush() 526 ath_edma_flush_deferred_queue(struct ath_softc *sc) in ath_edma_flush_deferred_queue() 618 struct ath_softc *sc = (struct ath_softc *) arg; in ath_edma_recv_tasklet() local 754 ath_edma_rxbuf_alloc(struct ath_softc *sc) in ath_edma_rxbuf_alloc() 970 ath_edma_dma_rxsetup(struct ath_softc *sc) in ath_edma_dma_rxsetup() 991 ath_edma_dma_rxteardown(struct ath_softc *sc) in ath_edma_dma_rxteardown() [all …]
|
/freebsd/sys/dev/oce/ |
H A D | oce_hw.c | 51 oce_POST(POCE_SOFTC sc) in oce_POST() 92 oce_hw_init(POCE_SOFTC sc) in oce_hw_init() 150 oce_hw_pci_free(POCE_SOFTC sc) in oce_hw_pci_free() 235 oce_hw_pci_alloc(POCE_SOFTC sc) in oce_hw_pci_alloc() 328 oce_hw_shutdown(POCE_SOFTC sc) in oce_hw_shutdown() 361 oce_create_nw_interface(POCE_SOFTC sc) in oce_create_nw_interface() 428 oce_delete_nw_interface(POCE_SOFTC sc) in oce_delete_nw_interface() 443 oce_pci_soft_reset(POCE_SOFTC sc) in oce_pci_soft_reset() 463 oce_hw_start(POCE_SOFTC sc) in oce_hw_start() 504 oce_hw_intr_enable(POCE_SOFTC sc) in oce_hw_intr_enable() [all …]
|
/freebsd/sys/dev/etherswitch/ar40xx/ |
H A D | ar40xx_main.c | 100 struct ar40xx_softc *sc = arg; in ar40xx_tick() local 109 struct ar40xx_softc *sc = device_get_softc(dev); in ar40xx_statchg() local 117 struct ar40xx_softc *sc = device_get_softc(dev); in ar40xx_readphy() local 125 struct ar40xx_softc *sc = device_get_softc(dev); in ar40xx_writephy() local 134 ar40xx_reset_switch(struct ar40xx_softc *sc) in ar40xx_reset_switch() 165 struct ar40xx_softc *sc = arg1; in ar40xx_sysctl_dump_port_state() local 205 struct ar40xx_softc *sc = arg1; in ar40xx_sysctl_dump_port_mibstats() local 233 ar40xx_sysctl_attach(struct ar40xx_softc *sc) in ar40xx_sysctl_attach() 256 struct ar40xx_softc *sc = device_get_softc(dev); in ar40xx_detach() local 281 struct ar40xx_softc *sc = device_get_softc(dev); in ar40xx_attach() local [all …]
|
/freebsd/sys/dev/hdmi/ |
H A D | dwc_hdmi.c | 113 dwc_hdmi_av_composer(struct dwc_hdmi_softc *sc) in dwc_hdmi_av_composer() 260 dwc_hdmi_clear_overflow(struct dwc_hdmi_softc *sc) in dwc_hdmi_clear_overflow() 275 dwc_hdmi_phy_configure(struct dwc_hdmi_softc *sc) in dwc_hdmi_phy_configure() 386 dwc_hdmi_phy_init(struct dwc_hdmi_softc *sc) in dwc_hdmi_phy_init() 579 dwc_hdmi_video_sample(struct dwc_hdmi_softc *sc) in dwc_hdmi_video_sample() 630 dwc_hdmi_set_mode(struct dwc_hdmi_softc *sc) in dwc_hdmi_set_mode() 710 struct dwc_hdmi_softc *sc; in dwc_hdmi_detect_cable() local 728 struct dwc_hdmi_softc *sc; in dwc_hdmi_init() local 798 dwc_hdmi_detect_hdmi(struct dwc_hdmi_softc *sc) in dwc_hdmi_detect_hdmi() 825 struct dwc_hdmi_softc *sc; in dwc_hdmi_get_edid() local [all …]
|
/freebsd/sys/dev/mfi/ |
H A D | mfi_tbolt.c | 92 mfi_tbolt_enable_intr_ppc(struct mfi_softc *sc) in mfi_tbolt_enable_intr_ppc() 149 mfi_tbolt_adp_reset(struct mfi_softc *sc) in mfi_tbolt_adp_reset() 200 mfi_tbolt_init_globals(struct mfi_softc *sc) in mfi_tbolt_init_globals() 332 mfi_tbolt_init_MFI_queue(struct mfi_softc *sc) in mfi_tbolt_init_MFI_queue() 448 mfi_tbolt_alloc_cmd(struct mfi_softc *sc) in mfi_tbolt_alloc_cmd() 535 mfi_tbolt_reset(struct mfi_softc *sc) in mfi_tbolt_reset() 654 mfi_tbolt_complete_cmd(struct mfi_softc *sc) in mfi_tbolt_complete_cmd() 1215 mfi_kill_hba(struct mfi_softc *sc) in mfi_kill_hba() 1441 struct mfi_softc *sc; in mfi_sync_map_complete() local 1469 mfi_queue_map_sync(struct mfi_softc *sc) in mfi_queue_map_sync() [all …]
|
/freebsd/sys/dev/mgb/ |
H A D | if_mgb.c | 334 struct mgb_softc *sc; in mgb_attach_pre() local 460 struct mgb_softc *sc; in mgb_attach_post() local 473 struct mgb_softc *sc; in mgb_detach() local 503 struct mgb_softc *sc; in mgb_media_change() local 522 struct mgb_softc *sc; in mgb_media_status() local 539 struct mgb_softc *sc; in mgb_tx_queues_alloc() local 563 struct mgb_softc *sc; in mgb_rx_queues_alloc() local 586 struct mgb_softc *sc; in mgb_queues_free() local 597 struct mgb_softc *sc; in mgb_init() local 733 struct mgb_softc *sc; in mgb_legacy_intr() local [all …]
|
/freebsd/sys/dev/otus/ |
H A D | if_otus.c | 95 #define OTUS_DPRINTF(sc, dm, ...) \ argument 418 struct otus_softc *sc = ic->ic_softc; in otus_parent() local 451 otus_tx_start(struct otus_softc *sc) in otus_tx_start() 460 struct otus_softc *sc = ic->ic_softc; in otus_transmit() local 488 _otus_start(struct otus_softc *sc) in _otus_start() 524 struct otus_softc *sc = arg; in otus_tx_task() local 1095 _otus_getbuf(struct otus_softc *sc) in _otus_getbuf() 1109 otus_getbuf(struct otus_softc *sc) in otus_getbuf() 1141 otus_get_txcmd(struct otus_softc *sc) in otus_get_txcmd() 3239 otus_init(struct otus_softc *sc) in otus_init() [all …]
|
/freebsd/sys/dev/qcom_tlmm/ |
H A D | qcom_tlmm_ipq4018_hw.c | 68 qcom_tlmm_ipq4018_hw_pin_set_function(struct qcom_tlmm_softc *sc, in qcom_tlmm_ipq4018_hw_pin_set_function() 96 qcom_tlmm_ipq4018_hw_pin_get_function(struct qcom_tlmm_softc *sc, in qcom_tlmm_ipq4018_hw_pin_get_function() 264 struct qcom_tlmm_softc *sc, uint32_t pin) in qcom_tlmm_ipq4018_hw_pin_toggle_output_value() 292 struct qcom_tlmm_softc *sc, uint32_t pin, in qcom_tlmm_ipq4018_hw_pin_set_pupd_config() 338 struct qcom_tlmm_softc *sc, uint32_t pin, in qcom_tlmm_ipq4018_hw_pin_get_pupd_config() 377 struct qcom_tlmm_softc *sc, uint32_t pin, uint8_t drv) in qcom_tlmm_ipq4018_hw_pin_set_drive_strength() 410 struct qcom_tlmm_softc *sc, uint32_t pin, uint8_t *drv) in qcom_tlmm_ipq4018_hw_pin_get_drive_strength() 436 struct qcom_tlmm_softc *sc, uint32_t pin, bool enable) in qcom_tlmm_ipq4018_hw_pin_set_vm() 463 struct qcom_tlmm_softc *sc, uint32_t pin, bool *enable) in qcom_tlmm_ipq4018_hw_pin_get_vm() 485 struct qcom_tlmm_softc *sc, uint32_t pin, bool enable) in qcom_tlmm_ipq4018_hw_pin_set_open_drain() [all …]
|
/freebsd/sys/dev/iwn/ |
H A D | if_iwn.c | 1806 iwn_free_kw(struct iwn_softc *sc) in iwn_free_kw() 2980 struct iwn_softc *sc = arg; in iwn_calib_timeout() local 4177 struct iwn_softc *sc = arg; in iwn_rftoggle_task() local 4264 struct iwn_softc *sc = arg; in iwn_intr() local 4979 struct iwn_softc *sc = arg0; in iwn_xmit_task() local 5112 struct iwn_softc *sc = arg; in iwn_scan_timeout() local 5122 struct iwn_softc *sc = arg; in iwn_watchdog() local 6778 iwn_config(struct iwn_softc *sc) in iwn_config() 8908 struct iwn_softc *sc = arg0; in iwn_panicked() local 9031 iwn_init(struct iwn_softc *sc) in iwn_init() [all …]
|
/freebsd/sys/dev/my/ |
H A D | if_my.c | 375 struct my_softc *sc; in my_autoneg_timeout() local 794 struct my_softc *sc; in my_attach() local 978 struct my_softc *sc; in my_detach() local 1256 struct my_softc *sc; in my_intr() local 1376 struct my_softc *sc; in my_start() local 1387 struct my_softc *sc; in my_start_locked() local 1457 struct my_softc *sc = xsc; in my_init() local 1562 struct my_softc *sc; in my_ifmedia_upd() local 1587 struct my_softc *sc; in my_ifmedia_sts() local 1679 struct my_softc *sc; in my_watchdog() local [all …]
|