/freebsd/sys/dev/qcom_qup/ |
H A D | qcom_spi_hw.c | 207 qcom_spi_hw_qup_init_locked(struct qcom_spi_softc *sc) in qcom_spi_hw_qup_init_locked() 246 qcom_spi_hw_spi_init_locked(struct qcom_spi_softc *sc) in qcom_spi_hw_spi_init_locked() 309 qcom_spi_hw_interrupt_handle(struct qcom_spi_softc *sc) in qcom_spi_hw_interrupt_handle() 414 qcom_spi_hw_complete_transfer(struct qcom_spi_softc *sc) in qcom_spi_hw_complete_transfer() 542 qcom_spi_hw_setup_io_modes(struct qcom_spi_softc *sc) in qcom_spi_hw_setup_io_modes() 721 qcom_spi_hw_ack_opmode(struct qcom_spi_softc *sc) in qcom_spi_hw_ack_opmode() 762 qcom_spi_hw_write_pio_fifo(struct qcom_spi_softc *sc) in qcom_spi_hw_write_pio_fifo() 834 qcom_spi_hw_write_pio_block(struct qcom_spi_softc *sc) in qcom_spi_hw_write_pio_block() 869 qcom_spi_hw_read_pio_fifo(struct qcom_spi_softc *sc) in qcom_spi_hw_read_pio_fifo() 965 qcom_spi_hw_read_pio_block(struct qcom_spi_softc *sc) in qcom_spi_hw_read_pio_block() [all …]
|
/freebsd/sys/dev/sbni/ |
H A D | if_sbni.c | 195 sbni_probe(struct sbni_softc *sc) in sbni_probe() 257 sbni_detach(struct sbni_softc *sc) in sbni_detach() 288 struct sbni_softc *sc; in sbni_init() local 340 sbni_stop(struct sbni_softc *sc) in sbni_stop() 374 struct sbni_softc *sc; in sbni_intr() local 444 recv_frame(struct sbni_softc *sc) in recv_frame() 478 send_frame(struct sbni_softc *sc) in send_frame() 840 get_rx_buf(struct sbni_softc *sc) in get_rx_buf() 901 struct sbni_softc *sc; in sbni_timeout() local 985 sbni_add(struct sbni_softc *sc) in sbni_add() [all …]
|
/freebsd/sys/dev/iwm/ |
H A D | if_iwm_pcie_trans.c | 273 iwm_nic_lock(struct iwm_softc *sc) in iwm_nic_lock() 302 iwm_nic_unlock(struct iwm_softc *sc) in iwm_nic_unlock() 352 iwm_check_rfkill(struct iwm_softc *sc) in iwm_check_rfkill() 378 iwm_set_hw_ready(struct iwm_softc *sc) in iwm_set_hw_ready() 398 iwm_prepare_card_hw(struct iwm_softc *sc) in iwm_prepare_card_hw() 430 iwm_apm_config(struct iwm_softc *sc) in iwm_apm_config() 473 iwm_apm_init(struct iwm_softc *sc) in iwm_apm_init() 593 iwm_apm_stop(struct iwm_softc *sc) in iwm_apm_stop() 625 iwm_start_hw(struct iwm_softc *sc) in iwm_start_hw() 651 iwm_set_pwr(struct iwm_softc *sc) in iwm_set_pwr() [all …]
|
/freebsd/sys/dev/etherswitch/mtkswitch/ |
H A D | mtkswitch_mt7620.c | 72 struct mtkswitch_softc *sc = device_get_softc(dev); in mtkswitch_phy_read() local 102 struct mtkswitch_softc *sc = device_get_softc(dev); in mtkswitch_phy_write() local 117 mtkswitch_reg_read32(struct mtkswitch_softc *sc, int reg) in mtkswitch_reg_read32() 161 struct mtkswitch_softc *sc = device_get_softc(dev); in mtkswitch_reg_read() local 173 struct mtkswitch_softc *sc = device_get_softc(dev); in mtkswitch_reg_write() local 190 mtkswitch_reset(struct mtkswitch_softc *sc) in mtkswitch_reset() 198 mtkswitch_hw_setup(struct mtkswitch_softc *sc) in mtkswitch_hw_setup() 211 mtkswitch_hw_global_setup(struct mtkswitch_softc *sc) in mtkswitch_hw_global_setup() 273 mtkswitch_atu_flush(struct mtkswitch_softc *sc) in mtkswitch_atu_flush() 350 mtkswitch_vlan_init_hw(struct mtkswitch_softc *sc) in mtkswitch_vlan_init_hw() [all …]
|
H A D | mtkswitch_rt3050.c | 59 struct mtkswitch_softc *sc = device_get_softc(dev); in mtkswitch_reg_read() local 72 struct mtkswitch_softc *sc = device_get_softc(dev); in mtkswitch_reg_write() local 92 struct mtkswitch_softc *sc = device_get_softc(dev); in mtkswitch_phy_read() local 110 struct mtkswitch_softc *sc = device_get_softc(dev); in mtkswitch_phy_write() local 123 mtkswitch_reset(struct mtkswitch_softc *sc) in mtkswitch_reset() 136 mtkswitch_hw_setup(struct mtkswitch_softc *sc) in mtkswitch_hw_setup() 152 mtkswitch_hw_global_setup(struct mtkswitch_softc *sc) in mtkswitch_hw_global_setup() 160 mtkswitch_port_init(struct mtkswitch_softc *sc, int port) in mtkswitch_port_init() 209 mtkswitch_atu_flush(struct mtkswitch_softc *sc) in mtkswitch_atu_flush() 290 mtkswitch_vlan_init_hw(struct mtkswitch_softc *sc) in mtkswitch_vlan_init_hw() [all …]
|
H A D | mtkswitch.c | 89 struct mtkswitch_softc *sc; in mtkswitch_probe() local 109 mtkswitch_attach_phys(struct mtkswitch_softc *sc) in mtkswitch_attach_phys() 172 struct mtkswitch_softc *sc; in mtkswitch_attach() local 356 mtkswitch_miipollstat(struct mtkswitch_softc *sc) in mtkswitch_miipollstat() 397 struct mtkswitch_softc *sc = arg; in mtkswitch_tick() local 439 struct mtkswitch_softc *sc; in mtkswitch_getport() local 482 struct mtkswitch_softc *sc; in mtkswitch_setport() local 522 struct mtkswitch_softc *sc = if_getsoftc(ifp); in mtkswitch_ifmedia_upd() local 534 struct mtkswitch_softc *sc = if_getsoftc(ifp); in mtkswitch_ifmedia_sts() local 549 struct mtkswitch_softc *sc; in mtkswitch_getconf() local [all …]
|
/freebsd/sys/dev/etherswitch/arswitch/ |
H A D | arswitch.c | 96 struct arswitch_softc *sc; in arswitch_probe() local 287 ar8xxx_atu_flush(struct arswitch_softc *sc) in ar8xxx_atu_flush() 846 struct arswitch_softc *sc = arg; in arswitch_tick() local 914 struct arswitch_softc *sc; in arswitch_getport() local 1024 struct arswitch_softc *sc; in arswitch_setport() local 1126 struct arswitch_softc *sc; in arswitch_getconf() local 1148 struct arswitch_softc *sc; in arswitch_setconf() local 1168 struct arswitch_softc *sc; in arswitch_atu_flush_all() local 1183 struct arswitch_softc *sc; in arswitch_atu_flush_port() local 1198 struct arswitch_softc *sc; in arswitch_atu_fetch_table() local [all …]
|
H A D | arswitch_8327.c | 153 ar8327_phy_fixup(struct arswitch_softc *sc, int phy) in ar8327_phy_fixup() 319 ar8327_fetch_pdata_port(struct arswitch_softc *sc, in ar8327_fetch_pdata_port() 412 ar8327_fetch_pdata_pad(struct arswitch_softc *sc, in ar8327_fetch_pdata_pad() 531 ar8327_fetch_pdata_led(struct arswitch_softc *sc, in ar8327_fetch_pdata_led() 579 ar8327_init_pdata(struct arswitch_softc *sc) in ar8327_init_pdata() 676 ar8327_hw_setup(struct arswitch_softc *sc) in ar8327_hw_setup() 715 ar8327_hw_global_setup(struct arswitch_softc *sc) in ar8327_hw_global_setup() 865 ar8327_reset_vlans(struct arswitch_softc *sc) in ar8327_reset_vlans() 1046 ar8327_atu_wait_ready(struct arswitch_softc *sc) in ar8327_atu_wait_ready() 1060 ar8327_atu_flush(struct arswitch_softc *sc) in ar8327_atu_flush() [all …]
|
/freebsd/sys/dev/smc/ |
H A D | if_smc.c | 226 struct smc_softc *sc; in smc_probe() local 307 struct smc_softc *sc; in smc_attach() local 423 struct smc_softc *sc; in smc_detach() local 504 struct smc_softc *sc; in smc_start() local 515 struct smc_softc *sc; in smc_start_locked() local 590 struct smc_softc *sc; in smc_task_tx() local 697 struct smc_softc *sc; in smc_task_rx() local 808 struct smc_softc *sc; in smc_poll() local 828 struct smc_softc *sc; in smc_intr() local 854 struct smc_softc *sc; in smc_task_intr() local [all …]
|
/freebsd/sys/dev/altera/sdcard/ |
H A D | altera_sdcard.c | 77 altera_sdcard_attach(struct altera_sdcard_softc *sc) in altera_sdcard_attach() 102 altera_sdcard_detach(struct altera_sdcard_softc *sc) in altera_sdcard_detach() 152 altera_sdcard_nextio(struct altera_sdcard_softc *sc) in altera_sdcard_nextio() 168 altera_sdcard_task_nocard(struct altera_sdcard_softc *sc) in altera_sdcard_task_nocard() 210 altera_sdcard_task_badcard(struct altera_sdcard_softc *sc) in altera_sdcard_task_badcard() 232 altera_sdcard_task_idle(struct altera_sdcard_softc *sc) in altera_sdcard_task_idle() 255 altera_sdcard_task_io(struct altera_sdcard_softc *sc) in altera_sdcard_task_io() 316 altera_sdcard_task_rechedule(struct altera_sdcard_softc *sc) in altera_sdcard_task_rechedule() 357 struct altera_sdcard_softc *sc; in altera_sdcard_task() local 398 altera_sdcard_start(struct altera_sdcard_softc *sc) in altera_sdcard_start()
|
/freebsd/sys/dev/altera/jtag_uart/ |
H A D | altera_jtag_uart_tty.c | 131 aju_data_read(struct altera_jtag_uart_softc *sc) in aju_data_read() 146 aju_control_read(struct altera_jtag_uart_softc *sc) in aju_control_read() 165 aju_writable(struct altera_jtag_uart_softc *sc) in aju_writable() 173 aju_readable(struct altera_jtag_uart_softc *sc) in aju_readable() 191 aju_read(struct altera_jtag_uart_softc *sc) in aju_read() 205 aju_intr_readable_enable(struct altera_jtag_uart_softc *sc) in aju_intr_readable_enable() 244 aju_intr_disable(struct altera_jtag_uart_softc *sc) in aju_intr_disable() 362 struct altera_jtag_uart_softc *sc = tty_softc(tp); in aju_outwakeup() local 374 struct altera_jtag_uart_softc *sc = arg; in aju_io_callout() local 405 struct altera_jtag_uart_softc *sc = arg; in aju_ac_callout() local [all …]
|
/freebsd/sys/dev/ichwd/ |
H A D | ichwd.c | 304 #define ichwd_read_tco_1(sc, off) \ argument 306 #define ichwd_read_tco_2(sc, off) \ argument 308 #define ichwd_read_tco_4(sc, off) \ argument 310 #define ichwd_read_smi_4(sc, off) \ argument 312 #define ichwd_read_gcs_4(sc, off) \ argument 317 #define ichwd_read_gc_4(sc, off) \ argument 535 struct ichwd_softc *sc = arg; in ichwd_event() local 750 struct ichwd_softc *sc; in ichwd_smb_attach() local 824 struct ichwd_softc *sc; in ichwd_lpc_attach() local 881 struct ichwd_softc *sc; in ichwd_attach() local [all …]
|
/freebsd/sys/powerpc/powermac/ |
H A D | cuda.c | 143 struct cuda_softc *sc; in cuda_attach() local 261 struct cuda_softc *sc; in cuda_detach() local 284 cuda_idle(struct cuda_softc *sc) in cuda_idle() 294 cuda_tip(struct cuda_softc *sc) in cuda_tip() 304 cuda_clear_tip(struct cuda_softc *sc) in cuda_clear_tip() 314 cuda_in(struct cuda_softc *sc) in cuda_in() 324 cuda_out(struct cuda_softc *sc) in cuda_out() 344 cuda_ack_off(struct cuda_softc *sc) in cuda_ack_off() 362 struct cuda_softc *sc = cookie; in cuda_send() local 519 struct cuda_softc *sc; in cuda_intr() local [all …]
|
/freebsd/sys/dev/ae/ |
H A D | if_ae.c | 237 ae_softc_t *sc; in ae_attach() local 532 ae_softc_t *sc; in ae_init() local 804 ae_softc_t *sc; in ae_miibus_readreg() local 839 ae_softc_t *sc; in ae_miibus_writereg() local 874 ae_softc_t *sc; in ae_miibus_statchg() local 883 ae_softc_t *sc; in ae_mediastatus() local 900 ae_softc_t *sc; in ae_mediachange() local 1268 ae_softc_t *sc; in ae_shutdown() local 1394 ae_softc_t *sc; in ae_suspend() local 1409 ae_softc_t *sc; in ae_resume() local [all …]
|
/freebsd/sys/dev/virtio/pci/ |
H A D | virtio_pci_legacy.c | 220 struct vtpci_legacy_softc *sc; in vtpci_legacy_attach() local 263 struct vtpci_legacy_softc *sc; in vtpci_legacy_detach() local 310 struct vtpci_legacy_softc *sc; in vtpci_legacy_child_detached() local 325 struct vtpci_legacy_softc *sc; in vtpci_legacy_read_ivar() local 348 struct vtpci_legacy_softc *sc; in vtpci_legacy_write_ivar() local 368 struct vtpci_legacy_softc *sc; in vtpci_legacy_negotiate_features() local 384 struct vtpci_legacy_softc *sc; in vtpci_legacy_with_feature() local 395 struct vtpci_legacy_softc *sc; in vtpci_legacy_alloc_virtqueues() local 407 struct vtpci_legacy_softc *sc; in vtpci_legacy_setup_interrupts() local 423 struct vtpci_legacy_softc *sc; in vtpci_legacy_reinit() local [all …]
|
H A D | virtio_pci_modern.c | 281 struct vtpci_modern_softc *sc; in vtpci_modern_attach() local 324 struct vtpci_modern_softc *sc; in vtpci_modern_detach() local 370 struct vtpci_modern_softc *sc; in vtpci_modern_child_detached() local 385 struct vtpci_modern_softc *sc; in vtpci_modern_read_ivar() local 409 struct vtpci_modern_softc *sc; in vtpci_modern_write_ivar() local 429 struct vtpci_modern_softc *sc; in vtpci_modern_negotiate_features() local 451 struct vtpci_modern_softc *sc; in vtpci_modern_finalize_features() local 474 struct vtpci_modern_softc *sc; in vtpci_modern_with_feature() local 512 struct vtpci_modern_softc *sc; in vtpci_modern_alloc_virtqueues() local 532 struct vtpci_modern_softc *sc; in vtpci_modern_setup_interrupts() local [all …]
|
/freebsd/sys/dev/bge/ |
H A D | if_bge.c | 1096 struct bge_softc *sc; in bge_miibus_readreg() local 1150 struct bge_softc *sc; in bge_miibus_writereg() local 1200 struct bge_softc *sc; in bge_miibus_statchg() local 2706 struct bge_softc *sc; in bge_probe() local 3294 struct bge_softc *sc; in bge_attach() local 3939 struct bge_softc *sc; in bge_detach() local 4584 struct bge_softc *sc; in bge_msi_intr() local 4598 struct bge_softc *sc; in bge_intr_task() local 4655 struct bge_softc *sc; in bge_intr() local 5329 struct bge_softc *sc; in bge_start_locked() local [all …]
|
/freebsd/sys/dev/virtio/mmio/ |
H A D | virtio_mmio.c | 179 struct vtmmio_softc *sc; in vtmmio_probe() local 221 struct vtmmio_softc *sc; in vtmmio_setup_intr() local 256 struct vtmmio_softc *sc; in vtmmio_attach() local 294 struct vtmmio_softc *sc; in vtmmio_detach() local 347 struct vtmmio_softc *sc; in vtmmio_driver_added() local 357 struct vtmmio_softc *sc; in vtmmio_child_detached() local 368 struct vtmmio_softc *sc; in vtmmio_read_ivar() local 408 struct vtmmio_softc *sc; in vtmmio_write_ivar() local 429 struct vtmmio_softc *sc; in vtmmio_negotiate_features() local 469 struct vtmmio_softc *sc; in vtmmio_finalize_features() local [all …]
|
/freebsd/sys/dev/aac/ |
H A D | aac.c | 354 struct aac_softc *sc; in aac_daemon() local 416 struct aac_softc *sc; in aac_startup() local 665 struct aac_softc *sc; in aac_detach() local 728 struct aac_softc *sc; in aac_shutdown() local 787 struct aac_softc *sc; in aac_suspend() local 804 struct aac_softc *sc; in aac_resume() local 820 struct aac_softc *sc; in aac_new_intr() local 903 struct aac_softc *sc; in aac_filter() local 1120 struct aac_softc *sc; in aac_complete() local 1176 struct aac_softc *sc; in aac_submit_bio() local [all …]
|
/freebsd/sys/dev/tws/ |
H A D | tws_cam.c | 124 tws_cam_attach(struct tws_softc *sc) in tws_cam_attach() 189 tws_cam_detach(struct tws_softc *sc) in tws_cam_detach() 203 tws_bus_scan(struct tws_softc *sc) in tws_bus_scan() 320 struct tws_softc *sc = req->sc; in tws_scsi_complete() local 342 struct tws_softc *sc = req->sc; in tws_getset_param_complete() local 357 struct tws_softc *sc = req->sc; in tws_aen_complete() local 435 struct tws_softc *sc = req->sc; in tws_cmd_complete() local 501 struct tws_softc *sc = req->sc; in tws_scsi_err_complete() local 935 struct tws_softc *sc = req->sc; in tws_dmamap_data_load_cbfn() local 1089 tws_intr_resp(struct tws_softc *sc) in tws_intr_resp() [all …]
|
/freebsd/sys/dev/etherswitch/felix/ |
H A D | felix.c | 154 felix_softc_t sc; in felix_probe() local 331 felix_softc_t sc; in felix_timer_rate() local 360 felix_softc_t sc; in felix_attach() local 482 felix_softc_t sc; in felix_detach() local 525 felix_softc_t sc; in felix_getinfo() local 534 felix_softc_t sc; in felix_getconf() local 589 felix_softc_t sc; in felix_setconf() local 614 felix_softc_t sc; in felix_lock() local 624 felix_softc_t sc; in felix_unlock() local 665 felix_softc_t sc; in felix_getport() local [all …]
|
/freebsd/sys/dev/ath/ |
H A D | if_ath.c | 2079 struct ath_softc *sc = arg; in ath_intr() local 2372 struct ath_softc *sc = arg; in ath_fatal_proc() local 2488 struct ath_softc *sc = arg; in ath_bmiss_proc() local 2532 struct ath_softc *sc = arg; in ath_tsfoor_proc() local 3814 struct ath_softc *sc = arg; in ath_reset_proc() local 3828 struct ath_softc *sc = arg; in ath_bstuck_proc() local 4594 struct ath_softc *sc = arg; in ath_tx_proc_q0() local 4638 struct ath_softc *sc = arg; in ath_tx_proc_q0123() local 4694 struct ath_softc *sc = arg; in ath_tx_proc() local 4743 struct ath_softc *sc = arg; in ath_txq_sched_tasklet() local [all …]
|
/freebsd/sys/dev/bfe/ |
H A D | if_bfe.c | 432 struct bfe_softc *sc; in bfe_attach() local 537 struct bfe_softc *sc; in bfe_detach() local 576 struct bfe_softc *sc; in bfe_shutdown() local 590 struct bfe_softc *sc; in bfe_suspend() local 603 struct bfe_softc *sc; in bfe_resume() local 624 struct bfe_softc *sc; in bfe_miibus_readreg() local 636 struct bfe_softc *sc; in bfe_miibus_writereg() local 647 struct bfe_softc *sc; in bfe_miibus_statchg() local 1606 struct bfe_softc *sc; in bfe_start_locked() local 1732 struct bfe_softc *sc; in bfe_ifmedia_upd() local [all …]
|
/freebsd/sys/dev/virtio/scsi/ |
H A D | virtio_scsi.c | 274 struct vtscsi_softc *sc; in vtscsi_attach() local 365 struct vtscsi_softc *sc; in vtscsi_detach() local 674 struct vtscsi_softc *sc; in vtscsi_cam_async() local 728 struct vtscsi_softc *sc; in vtscsi_cam_action() local 795 struct vtscsi_softc *sc; in vtscsi_cam_poll() local 1262 struct vtscsi_softc *sc; in vtscsi_timedout_scsi_cmd() local 2012 vtscsi_stop(struct vtscsi_softc *sc) in vtscsi_stop() 2204 struct vtscsi_softc *sc; in vtscsi_control_vq_intr() local 2227 struct vtscsi_softc *sc; in vtscsi_event_vq_intr() local 2252 struct vtscsi_softc *sc; in vtscsi_request_vq_intr() local [all …]
|
/freebsd/sys/dev/mlx/ |
H A D | mlx.c | 162 mlx_free(struct mlx_softc *sc) in mlx_free() 234 mlx_sglist_map(struct mlx_softc *sc) in mlx_sglist_map() 303 mlx_attach(struct mlx_softc *sc) in mlx_attach() 521 mlx_startup(struct mlx_softc *sc) in mlx_startup() 1528 struct mlx_softc *sc = mc->mc_sc; in mlx_pause_done() local 1554 struct mlx_softc *sc; in mlx_enquire_cb() local 1649 mlx_flush(struct mlx_softc *sc) in mlx_flush() 1846 struct mlx_softc *sc; in mlx_startio_cb() local 1914 mlx_startio(struct mlx_softc *sc) in mlx_startio() 2346 mlx_complete(struct mlx_softc *sc) in mlx_complete() [all …]
|