/freebsd-src/sys/dev/qcom_qup/ |
H A D | qcom_spi_hw.c | 65 qcom_spi_hw_read_controller_transfer_sizes(struct qcom_spi_softc *sc) in qcom_spi_hw_read_controller_transfer_sizes() 106 qcom_spi_hw_qup_is_state_valid_locked(struct qcom_spi_softc *sc) in qcom_spi_hw_qup_is_state_valid_locked() 119 qcom_spi_hw_qup_wait_state_valid_locked(struct qcom_spi_softc *sc) in qcom_spi_hw_qup_wait_state_valid_locked() 136 qcom_spi_hw_is_opmode_dma_locked(struct qcom_spi_softc *sc) in qcom_spi_hw_is_opmode_dma_locked() 149 qcom_spi_hw_qup_set_state_locked(struct qcom_spi_softc *sc, uint32_t state) in qcom_spi_hw_qup_set_state_locked() 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() 282 qcom_spi_hw_spi_cs_force(struct qcom_spi_softc *sc, int cs, bool enable) in qcom_spi_hw_spi_cs_force() 309 qcom_spi_hw_interrupt_handle(struct qcom_spi_softc *sc) in qcom_spi_hw_interrupt_handle() 378 qcom_spi_hw_setup_transfer_selection(struct qcom_spi_softc *sc, uint32_t len) in qcom_spi_hw_setup_transfer_selection() [all …]
|
/freebsd-src/sys/dev/sbni/ |
H A D | if_sbni.c | 134 sbni_inb(struct sbni_softc *sc, enum sbni_reg reg) in sbni_inb() 143 sbni_outb(struct sbni_softc *sc, enum sbni_reg reg, u_char value) in sbni_outb() 152 sbni_insb(struct sbni_softc *sc, u_char *to, u_int len) in sbni_insb() 161 sbni_outsb(struct sbni_softc *sc, u_char *from, u_int len) in sbni_outsb() 195 sbni_probe(struct sbni_softc *sc) in sbni_probe() 216 sbni_attach(struct sbni_softc *sc, int unit, struct sbni_flags flags) in sbni_attach() 254 sbni_detach(struct sbni_softc *sc) in sbni_detach() 269 sbni_release_resources(struct sbni_softc *sc) in sbni_release_resources() 285 struct sbni_softc *sc; in sbni_init() local 294 sbni_init_locked(struct sbni_softc *sc) in sbni_init_locked() [all …]
|
/freebsd-src/sys/dev/iwm/ |
H A D | if_iwm_pcie_trans.c | 169 iwm_read_prph(struct iwm_softc *sc, uint32_t addr) in iwm_read_prph() 178 iwm_write_prph(struct iwm_softc *sc, uint32_t addr, uint32_t val) in iwm_write_prph() 187 iwm_write_prph64(struct iwm_softc *sc, uint64_t addr, uint64_t val) in iwm_write_prph64() 194 iwm_poll_prph(struct iwm_softc *sc, uint32_t addr, uint32_t bits, uint32_t mask, in iwm_poll_prph() 210 iwm_read_mem(struct iwm_softc *sc, uint32_t addr, void *buf, int dwords) in iwm_read_mem() 229 iwm_write_mem(struct iwm_softc *sc, uint32_t addr, const void *buf, int dwords) in iwm_write_mem() 251 iwm_write_mem32(struct iwm_softc *sc, uint32_t addr, uint32_t val) in iwm_write_mem32() 257 iwm_poll_bit(struct iwm_softc *sc, int reg, in iwm_poll_bit() 273 iwm_nic_lock(struct iwm_softc *sc) in iwm_nic_lock() 302 iwm_nic_unlock(struct iwm_softc *sc) in iwm_nic_unlock() [all …]
|
/freebsd-src/sys/dev/etherswitch/mtkswitch/ |
H A D | mtkswitch_mt7620.c | 57 mtkswitch_phy_read_locked(struct mtkswitch_softc *sc, int phy, int reg) in mtkswitch_phy_read_locked() 72 struct mtkswitch_softc *sc = device_get_softc(dev); in mtkswitch_phy_read() local 87 mtkswitch_phy_write_locked(struct mtkswitch_softc *sc, int phy, int reg, in mtkswitch_phy_write_locked() 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() 124 mtkswitch_reg_write32(struct mtkswitch_softc *sc, int reg, uint32_t val) in mtkswitch_reg_write32() 132 mtkswitch_reg_read32_mt7621(struct mtkswitch_softc *sc, int reg) in mtkswitch_reg_read32_mt7621() 146 mtkswitch_reg_write32_mt7621(struct mtkswitch_softc *sc, int reg, uint32_t val) in mtkswitch_reg_write32_mt7621() 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 [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() 167 mtkswitch_get_port_status(struct mtkswitch_softc *sc, int port) in mtkswitch_get_port_status() 209 mtkswitch_atu_flush(struct mtkswitch_softc *sc) in mtkswitch_atu_flush() [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() argument 148 mtkswitch_set_vlan_mode(struct mtkswitch_softc * sc,uint32_t mode) mtkswitch_set_vlan_mode() argument 166 struct mtkswitch_softc *sc; mtkswitch_attach() local 253 struct mtkswitch_softc *sc = device_get_softc(dev); mtkswitch_detach() local 288 mtkswitch_miiforport(struct mtkswitch_softc * sc,int port) mtkswitch_miiforport() argument 299 mtkswitch_ifpforport(struct mtkswitch_softc * sc,int port) mtkswitch_ifpforport() argument 350 mtkswitch_miipollstat(struct mtkswitch_softc * sc) mtkswitch_miipollstat() argument 391 struct mtkswitch_softc *sc = arg; mtkswitch_tick() local 400 struct mtkswitch_softc *sc = device_get_softc(dev); mtkswitch_lock() local 409 struct mtkswitch_softc *sc = device_get_softc(dev); mtkswitch_unlock() local 418 struct mtkswitch_softc *sc = device_get_softc(dev); mtkswitch_getinfo() local 424 mtkswitch_is_cpuport(struct mtkswitch_softc * sc,int port) mtkswitch_is_cpuport() argument 433 struct mtkswitch_softc *sc; mtkswitch_getport() local 476 struct mtkswitch_softc *sc; mtkswitch_setport() local 516 struct mtkswitch_softc *sc = if_getsoftc(ifp); mtkswitch_ifmedia_upd() local 528 struct mtkswitch_softc *sc = if_getsoftc(ifp); mtkswitch_ifmedia_sts() local 543 struct mtkswitch_softc *sc; mtkswitch_getconf() local 557 struct mtkswitch_softc *sc; mtkswitch_setconf() local 575 struct mtkswitch_softc *sc = device_get_softc(dev); mtkswitch_getvgroup() local 583 struct mtkswitch_softc *sc = device_get_softc(dev); mtkswitch_setvgroup() local 591 struct mtkswitch_softc *sc = device_get_softc(dev); mtkswitch_readphy() local 599 struct mtkswitch_softc *sc = device_get_softc(dev); mtkswitch_writephy() local 607 struct mtkswitch_softc *sc = device_get_softc(dev); mtkswitch_readreg() local 615 struct mtkswitch_softc *sc = device_get_softc(dev); mtkswitch_writereg() local [all...] |
/freebsd-src/sys/dev/etherswitch/arswitch/ |
H A D | arswitch.c | 96 struct arswitch_softc *sc; in arswitch_probe() local 144 arswitch_attach_phys(struct arswitch_softc * sc) arswitch_attach_phys() argument 207 arswitch_set_vlan_mode(struct arswitch_softc * sc,uint32_t mode) arswitch_set_vlan_mode() argument 232 ar8xxx_port_init(struct arswitch_softc * sc,int port) ar8xxx_port_init() argument 259 ar8xxx_atu_wait_ready(struct arswitch_softc * sc) ar8xxx_atu_wait_ready() argument 278 ar8xxx_atu_flush(struct arswitch_softc * sc) ar8xxx_atu_flush() argument 302 ar8xxx_atu_flush_port(struct arswitch_softc * sc,int port) ar8xxx_atu_flush_port() argument 339 ar8xxx_atu_fetch_table(struct arswitch_softc * sc,etherswitch_atu_entry_t * e,int atu_fetch_op) ar8xxx_atu_fetch_table() argument 413 ar8xxx_atu_learn_default(struct arswitch_softc * sc) ar8xxx_atu_learn_default() argument 457 ar8xxx_hw_get_switch_macaddr(struct arswitch_softc * sc,struct ether_addr * ea) ar8xxx_hw_get_switch_macaddr() argument 481 ar8xxx_hw_set_switch_macaddr(struct arswitch_softc * sc,const struct ether_addr * ea) ar8xxx_hw_set_switch_macaddr() argument 495 struct arswitch_softc *sc = device_get_softc(dev); arswitch_attach() local 673 struct arswitch_softc *sc = device_get_softc(dev); arswitch_detach() local 705 arswitch_miiforport(struct arswitch_softc * sc,int port) arswitch_miiforport() argument 715 arswitch_ifpforport(struct arswitch_softc * sc,int port) arswitch_ifpforport() argument 768 arswitch_miipollstat(struct arswitch_softc * sc) arswitch_miipollstat() argument 837 struct arswitch_softc *sc = arg; arswitch_tick() local 846 struct arswitch_softc *sc = device_get_softc(dev); arswitch_lock() local 855 struct arswitch_softc *sc = device_get_softc(dev); arswitch_unlock() local 864 struct arswitch_softc *sc = device_get_softc(dev); arswitch_getinfo() local 870 ar8xxx_port_vlan_get(struct arswitch_softc * sc,etherswitch_port_t * p) ar8xxx_port_vlan_get() argument 894 arswitch_is_cpuport(struct arswitch_softc * sc,int port) arswitch_is_cpuport() argument 905 struct arswitch_softc *sc; arswitch_getport() local 974 ar8xxx_port_vlan_setup(struct arswitch_softc * sc,etherswitch_port_t * p) ar8xxx_port_vlan_setup() argument 1015 struct arswitch_softc *sc; arswitch_setport() local 1057 arswitch_setled(struct arswitch_softc * sc,int phy,int led,int style) arswitch_setled() argument 1082 struct arswitch_softc *sc = device_get_softc(dev); arswitch_statchg() local 1090 struct arswitch_softc *sc = if_getsoftc(ifp); arswitch_ifmedia_upd() local 1102 struct arswitch_softc *sc = if_getsoftc(ifp); arswitch_ifmedia_sts() local 1117 struct arswitch_softc *sc; arswitch_getconf() local 1139 struct arswitch_softc *sc; arswitch_setconf() local 1159 struct arswitch_softc *sc; arswitch_atu_flush_all() local 1174 struct arswitch_softc *sc; arswitch_atu_flush_port() local 1189 struct arswitch_softc *sc; arswitch_atu_fetch_table() local 1219 struct arswitch_softc *sc; arswitch_atu_fetch_table_entry() local 1239 struct arswitch_softc *sc = device_get_softc(dev); arswitch_getvgroup() local 1247 struct arswitch_softc *sc = device_get_softc(dev); arswitch_setvgroup() local 1255 struct arswitch_softc *sc = device_get_softc(dev); arswitch_readphy() local 1263 struct arswitch_softc *sc = device_get_softc(dev); arswitch_writephy() local [all...] |
H A D | arswitch_8327.c | 109 ar8327_vlan_op(struct arswitch_softc *sc, uint32_t op, uint32_t vid, in ar8327_vlan_op() 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() 503 ar8327_fetch_pdata_sgmii(struct arswitch_softc *sc, in ar8327_fetch_pdata_sgmii() 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() 704 ar8327_atu_learn_default(struct arswitch_softc *sc) in ar8327_atu_learn_default() 715 ar8327_hw_global_setup(struct arswitch_softc *sc) in ar8327_hw_global_setup() [all …]
|
/freebsd-src/sys/dev/smc/ |
H A D | if_smc.c | 83 #define SMC_LOCK(sc) mtx_lock(&(sc)->smc_mtx) argument 84 #define SMC_UNLOCK(sc) mtx_unlock(&(sc)->smc_mtx) argument 85 #define SMC_ASSERT_LOCKED(sc) mtx_assert(&(sc)->smc_mtx, MA_OWNED) argument 147 smc_select_bank(struct smc_softc *sc, uint16_t bank) in smc_select_bank() argument 159 smc_mmu_wait(struct smc_softc * sc) smc_mmu_wait() argument 170 smc_read_1(struct smc_softc * sc,bus_size_t offset) smc_read_1() argument 177 smc_write_1(struct smc_softc * sc,bus_size_t offset,uint8_t val) smc_write_1() argument 184 smc_read_2(struct smc_softc * sc,bus_size_t offset) smc_read_2() argument 191 smc_write_2(struct smc_softc * sc,bus_size_t offset,uint16_t val) smc_write_2() argument 198 smc_read_multi_2(struct smc_softc * sc,bus_size_t offset,uint16_t * datap,bus_size_t count) smc_read_multi_2() argument 206 smc_write_multi_2(struct smc_softc * sc,bus_size_t offset,uint16_t * datap,bus_size_t count) smc_write_multi_2() argument 214 smc_barrier(struct smc_softc * sc,bus_size_t offset,bus_size_t length,int flags) smc_barrier() argument 226 struct smc_softc *sc; smc_probe() local 307 struct smc_softc *sc; smc_attach() local 419 struct smc_softc *sc; smc_detach() local 500 struct smc_softc *sc; smc_start() local 511 struct smc_softc *sc; smc_start_locked() local 586 struct smc_softc *sc; smc_task_tx() local 693 struct smc_softc *sc; smc_task_rx() local 804 struct smc_softc *sc; smc_poll() local 824 struct smc_softc *sc; smc_intr() local 850 struct smc_softc *sc; smc_task_intr() local 969 struct smc_softc *sc; smc_mii_bitbang_read() local 990 struct smc_softc *sc; smc_mii_bitbang_write() local 1008 struct smc_softc *sc; smc_miibus_readreg() local 1026 struct smc_softc *sc; smc_miibus_writereg() local 1043 struct smc_softc *sc; smc_miibus_statchg() local 1068 struct smc_softc *sc; smc_mii_ifmedia_upd() local 1082 struct smc_softc *sc; smc_mii_ifmedia_sts() local 1098 struct smc_softc *sc; smc_mii_tick() local 1112 smc_mii_mediachg(struct smc_softc * sc) smc_mii_mediachg() argument 1121 smc_mii_mediaioctl(struct smc_softc * sc,struct ifreq * ifr,u_long command) smc_mii_mediaioctl() argument 1133 smc_reset(struct smc_softc * sc) smc_reset() argument 1183 smc_enable(struct smc_softc * sc) smc_enable() argument 1213 smc_stop(struct smc_softc * sc) smc_stop() argument 1248 struct smc_softc *sc; smc_watchdog() local 1258 struct smc_softc *sc; smc_init() local 1267 smc_init_locked(struct smc_softc * sc) smc_init_locked() argument 1298 struct smc_softc *sc; smc_ioctl() local [all...] |
/freebsd-src/sys/dev/altera/sdcard/ |
H A D | altera_sdcard.c |
|
/freebsd-src/sys/dev/altera/jtag_uart/ |
H A D | altera_jtag_uart_tty.c |
|
/freebsd-src/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 315 #define ichwd_read_pmc_4(sc, off) \ argument 317 #define ichwd_read_gc_4(sc, off) \ argument 320 #define ichwd_write_tco_1(sc, off, val) \ argument 322 #define ichwd_write_tco_2(sc, off, val) \ argument 324 #define ichwd_write_tco_4(sc, off, val) \ argument [all …]
|
/freebsd-src/sys/powerpc/powermac/ |
H A D | cuda.c | 143 struct cuda_softc *sc; in cuda_attach() local 261 struct cuda_softc *sc; cuda_detach() local 274 cuda_read_reg(struct cuda_softc * sc,u_int offset) cuda_read_reg() argument 279 cuda_write_reg(struct cuda_softc * sc,u_int offset,uint8_t value) cuda_write_reg() argument 284 cuda_idle(struct cuda_softc * sc) cuda_idle() argument 294 cuda_tip(struct cuda_softc * sc) cuda_tip() argument 304 cuda_clear_tip(struct cuda_softc * sc) cuda_clear_tip() argument 314 cuda_in(struct cuda_softc * sc) cuda_in() argument 324 cuda_out(struct cuda_softc * sc) cuda_out() argument 334 cuda_toggle_ack(struct cuda_softc * sc) cuda_toggle_ack() argument 344 cuda_ack_off(struct cuda_softc * sc) cuda_ack_off() argument 354 cuda_intr_state(struct cuda_softc * sc) cuda_intr_state() argument 362 struct cuda_softc *sc = cookie; cuda_send() local 404 cuda_send_outbound(struct cuda_softc * sc) cuda_send_outbound() argument 437 cuda_send_inbound(struct cuda_softc * sc) cuda_send_inbound() argument 505 struct cuda_softc *sc = device_get_softc(dev); cuda_poll() local 519 struct cuda_softc *sc; cuda_intr() local 708 struct cuda_softc *sc = device_get_softc(dev); cuda_adb_send() local 725 struct cuda_softc *sc = device_get_softc(dev); cuda_adb_autopoll() local 747 struct cuda_softc *sc = xsc; cuda_shutdown() local 769 struct cuda_softc *sc = device_get_softc(dev); cuda_gettime() local 788 struct cuda_softc *sc = device_get_softc(dev); cuda_settime() local [all...] |
/freebsd-src/sys/dev/ae/ |
H A D | if_ae.c | 188 AE_READ_4(sc,reg) global() argument 190 AE_READ_2(sc,reg) global() argument 192 AE_READ_1(sc,reg) global() argument 194 AE_WRITE_4(sc,reg,val) global() argument 196 AE_WRITE_2(sc,reg,val) global() argument 198 AE_WRITE_1(sc,reg,val) global() argument 200 AE_PHY_READ(sc,reg) global() argument 202 AE_PHY_WRITE(sc,reg,val) global() argument 237 ae_softc_t *sc; ae_attach() local 398 ae_init_tunables(ae_softc_t * sc) ae_init_tunables() argument 468 ae_pcie_init(ae_softc_t * sc) ae_pcie_init() argument 476 ae_phy_reset(ae_softc_t * sc) ae_phy_reset() argument 484 ae_reset(ae_softc_t * sc) ae_reset() argument 526 ae_softc_t *sc; ae_init() local 535 ae_phy_init(ae_softc_t * sc) ae_phy_init() argument 548 ae_init_locked(ae_softc_t * sc) ae_init_locked() argument 749 struct ae_softc *sc; ae_detach() local 798 ae_softc_t *sc; ae_miibus_readreg() local 833 ae_softc_t *sc; ae_miibus_writereg() local 868 ae_softc_t *sc; ae_miibus_statchg() local 877 ae_softc_t *sc; ae_mediastatus() local 894 ae_softc_t *sc; ae_mediachange() local 913 ae_check_eeprom_present(ae_softc_t * sc,int * vpdc) ae_check_eeprom_present() argument 933 ae_vpd_read_word(ae_softc_t * sc,int reg,uint32_t * word) ae_vpd_read_word() argument 962 ae_get_vpd_eaddr(ae_softc_t * sc,uint32_t * eaddr) ae_get_vpd_eaddr() argument 1025 ae_get_reg_eaddr(ae_softc_t * sc,uint32_t * eaddr) ae_get_reg_eaddr() argument 1045 ae_retrieve_address(ae_softc_t * sc) ae_retrieve_address() argument 1094 ae_alloc_rings(ae_softc_t * sc) ae_alloc_rings() argument 1217 ae_dma_free(ae_softc_t * sc) ae_dma_free() argument 1262 ae_softc_t *sc; ae_shutdown() local 1276 ae_powersave_disable(ae_softc_t * sc) ae_powersave_disable() argument 1292 ae_powersave_enable(ae_softc_t * sc) ae_powersave_enable() argument 1311 ae_pm_init(ae_softc_t * sc) ae_pm_init() argument 1388 ae_softc_t *sc; ae_suspend() local 1403 ae_softc_t *sc; ae_resume() local 1418 ae_tx_avail_size(ae_softc_t * sc) ae_tx_avail_size() argument 1431 ae_encap(ae_softc_t * sc,struct mbuf ** m_head) ae_encap() argument 1507 ae_softc_t *sc; ae_start() local 1518 ae_softc_t *sc; ae_start_locked() local 1574 ae_softc_t *sc; ae_link_task() local 1630 ae_stop_rxmac(ae_softc_t * sc) ae_stop_rxmac() argument 1666 ae_stop_txmac(ae_softc_t * sc) ae_stop_txmac() argument 1702 ae_mac_config(ae_softc_t * sc) ae_mac_config() argument 1723 ae_softc_t *sc; ae_intr() local 1745 ae_softc_t *sc; ae_int_task() local 1797 ae_tx_intr(ae_softc_t * sc) ae_tx_intr() argument 1874 ae_rxeof(ae_softc_t * sc,ae_rxd_t * rxd) ae_rxeof() argument 1918 ae_rx_intr(ae_softc_t * sc) ae_rx_intr() argument 1968 ae_watchdog(ae_softc_t * sc) ae_watchdog() argument 1994 ae_softc_t *sc; ae_tick() local 2008 ae_rxvlan(ae_softc_t * sc) ae_rxvlan() argument 2034 ae_rxfilter(ae_softc_t * sc) ae_rxfilter() argument 2081 struct ae_softc *sc; ae_ioctl() local 2153 ae_stop(ae_softc_t * sc) ae_stop() argument [all...] |
/freebsd-src/sys/dev/virtio/pci/ |
H A D | virtio_pci_legacy.c | 114 #define vtpci_legacy_read_config_1(sc, o) \ argument 116 #define vtpci_legacy_write_config_1(sc, o, v) \ argument 124 #define vtpci_legacy_read_config_2(sc, o) \ argument 126 #define vtpci_legacy_read_config_4(sc, o) \ argument 128 #define vtpci_legacy_write_config_2(sc, o, v) \ argument 130 #define vtpci_legacy_write_config_4(sc, o, v) \ argument 133 #define vtpci_legacy_read_header_2(sc, o) \ argument 135 #define vtpci_legacy_read_header_4(sc, o) \ argument 137 #define vtpci_legacy_write_header_2(sc, o, v) \ argument 139 #define vtpci_legacy_write_header_4(sc, o, v) \ argument [all …]
|
H A D | virtio_pci_modern.c | 279 struct vtpci_modern_softc *sc; in vtpci_modern_attach() local 322 struct vtpci_modern_softc *sc; in vtpci_modern_detach() local 368 struct vtpci_modern_softc *sc; in vtpci_modern_child_detached() local 383 struct vtpci_modern_softc *sc; in vtpci_modern_read_ivar() local 407 struct vtpci_modern_softc *sc; in vtpci_modern_write_ivar() local 427 struct vtpci_modern_softc *sc; in vtpci_modern_negotiate_features() local 449 struct vtpci_modern_softc *sc; in vtpci_modern_finalize_features() local 472 struct vtpci_modern_softc *sc; in vtpci_modern_with_feature() local 480 vtpci_modern_read_features(struct vtpci_modern_softc *sc) in vtpci_modern_read_features() 493 vtpci_modern_write_features(struct vtpci_modern_softc *sc, uint64_t features) in vtpci_modern_write_features() [all …]
|
/freebsd-src/sys/dev/bge/ |
H A D | if_bge.c | 363 #define BGE_IS_JUMBO_CAPABLE(sc) ((sc)->bge_flags & BGE_FLAG_JUMBO) argument 364 #define BGE_IS_5700_FAMILY(sc) ((sc)->bge_flags & BGE_FLAG_5700_FAMILY) argument 365 #define BGE_IS_5705_PLUS(sc) ((sc)->bge_flags & BGE_FLAG_5705_PLUS) argument 366 #define BGE_IS_5714_FAMILY(sc) ((sc)->bge_flags & BGE_FLAG_5714_FAMILY) argument 367 #define BGE_IS_575X_PLUS(sc) ((sc) argument 368 BGE_IS_5755_PLUS(sc) global() argument 369 BGE_IS_5717_PLUS(sc) global() argument 370 BGE_IS_57765_PLUS(sc) global() argument 546 bge_has_eaddr(struct bge_softc * sc) bge_has_eaddr() argument 552 bge_readmem_ind(struct bge_softc * sc,int off) bge_readmem_ind() argument 570 bge_writemem_ind(struct bge_softc * sc,int off,int val) bge_writemem_ind() argument 587 bge_readreg_ind(struct bge_softc * sc,int off) bge_readreg_ind() argument 599 bge_writereg_ind(struct bge_softc * sc,int off,int val) bge_writereg_ind() argument 610 bge_writemem_direct(struct bge_softc * sc,int off,int val) bge_writemem_direct() argument 616 bge_writembx(struct bge_softc * sc,int off,int val) bge_writembx() argument 630 bge_ape_lock_init(struct bge_softc * sc) bge_ape_lock_init() argument 682 bge_ape_read_fw_ver(struct bge_softc * sc) bge_ape_read_fw_ver() argument 726 bge_ape_lock(struct bge_softc * sc,int locknum) bge_ape_lock() argument 806 bge_ape_unlock(struct bge_softc * sc,int locknum) bge_ape_unlock() argument 859 bge_ape_send_event(struct bge_softc * sc,uint32_t event) bge_ape_send_event() argument 889 bge_ape_driver_state_change(struct bge_softc * sc,int kind) bge_ape_driver_state_change() argument 957 bge_nvram_getbyte(struct bge_softc * sc,int addr,uint8_t * dest) bge_nvram_getbyte() argument 1010 bge_read_nvram(struct bge_softc * sc,caddr_t dest,int off,int cnt) bge_read_nvram() argument 1035 bge_eeprom_getbyte(struct bge_softc * sc,int addr,uint8_t * dest) bge_eeprom_getbyte() argument 1078 bge_read_eeprom(struct bge_softc * sc,caddr_t dest,int off,int cnt) bge_read_eeprom() argument 1096 struct bge_softc *sc; bge_miibus_readreg() local 1150 struct bge_softc *sc; bge_miibus_writereg() local 1200 struct bge_softc *sc; bge_miibus_statchg() local 1272 bge_newbuf_std(struct bge_softc * sc,int i) bge_newbuf_std() argument 1331 bge_newbuf_jumbo(struct bge_softc * sc,int i) bge_newbuf_jumbo() argument 1414 bge_init_rx_ring_std(struct bge_softc * sc) bge_init_rx_ring_std() argument 1436 bge_free_rx_ring_std(struct bge_softc * sc) bge_free_rx_ring_std() argument 1456 bge_init_rx_ring_jumbo(struct bge_softc * sc) bge_init_rx_ring_jumbo() argument 1486 bge_free_rx_ring_jumbo(struct bge_softc * sc) bge_free_rx_ring_jumbo() argument 1506 bge_free_tx_ring(struct bge_softc * sc) bge_free_tx_ring() argument 1529 bge_init_tx_ring(struct bge_softc * sc) bge_init_tx_ring() argument 1556 bge_setpromisc(struct bge_softc * sc) bge_setpromisc() argument 1584 bge_setmulti(struct bge_softc * sc) bge_setmulti() argument 1611 bge_setvlan(struct bge_softc * sc) bge_setvlan() argument 1627 bge_sig_pre_reset(struct bge_softc * sc,int type) bge_sig_pre_reset() argument 1658 bge_sig_post_reset(struct bge_softc * sc,int type) bge_sig_post_reset() argument 1679 bge_sig_legacy(struct bge_softc * sc,int type) bge_sig_legacy() argument 1697 bge_stop_fw(struct bge_softc * sc) bge_stop_fw() argument 1716 bge_dma_swap_options(struct bge_softc * sc) bge_dma_swap_options() argument 1732 bge_chipinit(struct bge_softc * sc) bge_chipinit() argument 1919 bge_blockinit(struct bge_softc * sc) bge_blockinit() argument 2705 struct bge_softc *sc; bge_probe() local 2740 bge_dma_free(struct bge_softc * sc) bge_dma_free() argument 2864 bge_dma_ring_alloc(struct bge_softc * sc,bus_size_t alignment,bus_size_t maxsize,bus_dma_tag_t * tag,uint8_t ** ring,bus_dmamap_t * map,bus_addr_t * paddr,const char * msg) bge_dma_ring_alloc() argument 2924 bge_dma_alloc(struct bge_softc * sc) bge_dma_alloc() argument 3134 bge_has_multiple_ports(struct bge_softc * sc) bge_has_multiple_ports() argument 3153 bge_can_use_msi(struct bge_softc * sc) bge_can_use_msi() argument 3195 bge_mbox_reorder(struct bge_softc * sc) bge_mbox_reorder() argument 3236 bge_devinfo(struct bge_softc * sc) bge_devinfo() argument 3292 struct bge_softc *sc; bge_attach() local 3932 struct bge_softc *sc; bge_detach() local 3967 bge_release_resources(struct bge_softc * sc) bge_release_resources() argument 4003 bge_reset(struct bge_softc * sc) bge_reset() argument 4257 bge_rxreuse_std(struct bge_softc * sc,int i) bge_rxreuse_std() argument 4269 bge_rxreuse_jumbo(struct bge_softc * sc,int i) bge_rxreuse_jumbo() argument 4293 bge_rxeof(struct bge_softc * sc,uint16_t rx_prod,int holdlck) bge_rxeof() argument 4440 bge_rxcsum(struct bge_softc * sc,struct bge_rx_bd * cur_rx,struct mbuf * m) bge_rxcsum() argument 4475 bge_txeof(struct bge_softc * sc,uint16_t tx_cons) bge_txeof() argument 4523 struct bge_softc *sc = if_getsoftc(ifp); bge_poll() local 4577 struct bge_softc *sc; bge_msi_intr() local 4591 struct bge_softc *sc; bge_intr_task() local 4648 struct bge_softc *sc; bge_intr() local 4727 bge_asf_driver_up(struct bge_softc * sc) bge_asf_driver_up() argument 4750 struct bge_softc *sc = xsc; bge_tick() local 4803 bge_stats_update_regs(struct bge_softc * sc) bge_stats_update_regs() argument 4923 bge_stats_clear_regs(struct bge_softc * sc) bge_stats_clear_regs() argument 4965 bge_stats_update(struct bge_softc * sc) bge_stats_update() argument 4975 READ_STAT(sc,stats,stat) bge_stats_update() argument 5078 bge_setup_tso(struct bge_softc * sc,struct mbuf * m,uint16_t * mss,uint16_t * flags) bge_setup_tso() argument 5154 bge_encap(struct bge_softc * sc,struct mbuf ** m_head,uint32_t * txidx) bge_encap() argument 5322 struct bge_softc *sc; bge_start_locked() local 5372 bge_start_tx(struct bge_softc * sc,uint32_t prodidx) bge_start_tx() argument 5396 struct bge_softc *sc; bge_start() local 5405 bge_init_locked(struct bge_softc * sc) bge_init_locked() argument 5584 struct bge_softc *sc = xsc; bge_init() local 5597 struct bge_softc *sc = if_getsoftc(ifp); bge_ifmedia_upd() local 5610 struct bge_softc *sc = if_getsoftc(ifp); bge_ifmedia_upd_locked() local 5695 struct bge_softc *sc = if_getsoftc(ifp); bge_ifmedia_sts() local 5735 struct bge_softc *sc = if_getsoftc(ifp); bge_ioctl() local 5892 bge_watchdog(struct bge_softc * sc) bge_watchdog() argument 5940 bge_stop_block(struct bge_softc * sc,bus_size_t reg,uint32_t bit) bge_stop_block() argument 5958 bge_stop(struct bge_softc * sc) bge_stop() argument 6060 struct bge_softc *sc; bge_shutdown() local 6073 struct bge_softc *sc; bge_suspend() local 6086 struct bge_softc *sc; bge_resume() local 6103 bge_link_upd(struct bge_softc * sc) bge_link_upd() argument 6224 bge_add_sysctls(struct bge_softc * sc) bge_add_sysctls() argument 6295 BGE_SYSCTL_STAT(sc,ctx,desc,parent,node,oid) global() argument 6301 bge_add_sysctl_stats(struct bge_softc * sc,struct sysctl_ctx_list * ctx,struct sysctl_oid_list * parent) bge_add_sysctl_stats() argument 6430 bge_add_sysctl_stats_regs(struct bge_softc * sc,struct sysctl_ctx_list * ctx,struct sysctl_oid_list * parent) bge_add_sysctl_stats_regs() argument 6527 struct bge_softc *sc; bge_sysctl_stats() local 6542 struct bge_softc *sc; bge_sysctl_debug_info() local 6615 struct bge_softc *sc; bge_sysctl_reg_read() local 6637 struct bge_softc *sc; bge_sysctl_ape_read() local 6659 struct bge_softc *sc; bge_sysctl_mem_read() local 6680 bge_get_eaddr_fw(struct bge_softc * sc,uint8_t ether_addr[]) bge_get_eaddr_fw() argument 6686 bge_get_eaddr_mem(struct bge_softc * sc,uint8_t ether_addr[]) bge_get_eaddr_mem() argument 6705 bge_get_eaddr_nvram(struct bge_softc * sc,uint8_t ether_addr[]) bge_get_eaddr_nvram() argument 6717 bge_get_eaddr_eeprom(struct bge_softc * sc,uint8_t ether_addr[]) bge_get_eaddr_eeprom() argument 6728 bge_get_eaddr(struct bge_softc * sc,uint8_t eaddr[]) bge_get_eaddr() argument 6750 struct bge_softc *sc; bge_get_counter() local 6773 struct bge_softc *sc; bge_debugnet_init() local 6803 struct bge_softc *sc; bge_debugnet_transmit() local 6822 struct bge_softc *sc; bge_debugnet_poll() local [all...] |
/freebsd-src/sys/dev/virtio/mmio/ |
H A D | virtio_mmio.c | 106 #define vtmmio_write_config_1(sc, o, v) \ argument 114 #define vtmmio_write_config_2(sc, o, v) \ argument 122 vtmmio_write_config_4(sc,o,v) global() argument 131 vtmmio_read_config_1(sc,o) global() argument 133 vtmmio_read_config_2(sc,o) global() argument 135 vtmmio_read_config_4(sc,o) global() argument 179 struct vtmmio_softc *sc; vtmmio_probe() local 221 struct vtmmio_softc *sc; vtmmio_setup_intr() local 256 struct vtmmio_softc *sc; vtmmio_attach() local 294 struct vtmmio_softc *sc; vtmmio_detach() local 347 struct vtmmio_softc *sc; vtmmio_driver_added() local 357 struct vtmmio_softc *sc; vtmmio_child_detached() local 368 struct vtmmio_softc *sc; vtmmio_read_ivar() local 408 struct vtmmio_softc *sc; vtmmio_write_ivar() local 429 struct vtmmio_softc *sc; vtmmio_negotiate_features() local 469 struct vtmmio_softc *sc; vtmmio_finalize_features() local 494 struct vtmmio_softc *sc; vtmmio_with_feature() local 502 vtmmio_set_virtqueue(struct vtmmio_softc * sc,struct virtqueue * vq,uint32_t size) vtmmio_set_virtqueue() argument 544 struct vtmmio_softc *sc; vtmmio_alloc_virtqueues() local 607 struct vtmmio_softc *sc; vtmmio_poll() local 618 struct vtmmio_softc *sc; vtmmio_reinit() local 668 struct vtmmio_softc *sc; vtmmio_notify_virtqueue() local 679 struct vtmmio_softc *sc; vtmmio_config_generation() local 695 struct vtmmio_softc *sc; vtmmio_get_status() local 705 struct vtmmio_softc *sc; vtmmio_set_status() local 719 struct vtmmio_softc *sc; vtmmio_read_dev_config() local 786 vtmmio_read_dev_config_8(struct vtmmio_softc * sc,bus_size_t off) vtmmio_read_dev_config_8() argument 807 struct vtmmio_softc *sc; vtmmio_write_dev_config() local 864 vtmmio_describe_features(struct vtmmio_softc * sc,const char * msg,uint64_t features) vtmmio_describe_features() argument 879 vtmmio_probe_and_attach_child(struct vtmmio_softc * sc) vtmmio_probe_and_attach_child() argument 911 vtmmio_reinit_virtqueue(struct vtmmio_softc * sc,int idx) vtmmio_reinit_virtqueue() argument 936 vtmmio_free_interrupts(struct vtmmio_softc * sc) vtmmio_free_interrupts() argument 947 vtmmio_free_virtqueues(struct vtmmio_softc * sc) vtmmio_free_virtqueues() argument 972 vtmmio_release_child_resources(struct vtmmio_softc * sc) vtmmio_release_child_resources() argument 980 vtmmio_reset(struct vtmmio_softc * sc) vtmmio_reset() argument 991 vtmmio_select_virtqueue(struct vtmmio_softc * sc,int idx) vtmmio_select_virtqueue() argument 1001 struct vtmmio_softc *sc; vtmmio_vq_intr() local [all...] |
/freebsd-src/sys/dev/aac/ |
H A D | aac.c | 237 aac_attach(struct aac_softc * sc) aac_attach() argument 354 struct aac_softc *sc; aac_daemon() local 372 aac_add_event(struct aac_softc * sc,struct aac_event * event) aac_add_event() argument 390 aac_get_container_info(struct aac_softc * sc,struct aac_fib * fib,int cid) aac_get_container_info() argument 416 struct aac_softc *sc; aac_startup() local 458 aac_add_container(struct aac_softc * sc,struct aac_mntinforesp * mir,int f) aac_add_container() argument 497 aac_alloc(struct aac_softc * sc) aac_alloc() argument 608 aac_free(struct aac_softc * sc) aac_free() argument 665 struct aac_softc *sc; aac_detach() local 728 struct aac_softc *sc; aac_shutdown() local 787 struct aac_softc *sc; aac_suspend() local 804 struct aac_softc *sc; aac_resume() local 820 struct aac_softc *sc; aac_new_intr() local 903 struct aac_softc *sc; aac_filter() local 952 aac_startio(struct aac_softc * sc) aac_startio() argument 1018 aac_command_thread(struct aac_softc * sc) aac_command_thread() argument 1120 struct aac_softc *sc; aac_complete() local 1176 struct aac_softc *sc; aac_submit_bio() local 1191 aac_bio_command(struct aac_softc * sc,struct aac_command ** cmp) aac_bio_command() argument 1358 struct aac_softc *sc; aac_wait_command() local 1379 aac_alloc_command(struct aac_softc * sc,struct aac_command ** cmp) aac_alloc_command() argument 1406 struct aac_softc *sc; aac_release_command() local 1456 aac_alloc_commands(struct aac_softc * sc) aac_alloc_commands() argument 1524 aac_free_commands(struct aac_softc * sc) aac_free_commands() argument 1554 struct aac_softc *sc; aac_map_command_sg() local 1647 struct aac_softc *sc; aac_unmap_command() local 1678 struct aac_softc *sc; aac_common_map() local 1687 aac_check_firmware(struct aac_softc * sc) aac_check_firmware() argument 1844 aac_init(struct aac_softc * sc) aac_init() argument 2001 aac_setup_intr(struct aac_softc * sc) aac_setup_intr() argument 2028 aac_sync_command(struct aac_softc * sc,u_int32_t command,u_int32_t arg0,u_int32_t arg1,u_int32_t arg2,u_int32_t arg3,u_int32_t * sp) aac_sync_command() argument 2069 aac_sync_fib(struct aac_softc * sc,u_int32_t command,u_int32_t xferstate,struct aac_fib * fib,u_int16_t datasize) aac_sync_fib() argument 2136 aac_enqueue_fib(struct aac_softc * sc,int queue,struct aac_command * cm) aac_enqueue_fib() argument 2190 aac_dequeue_fib(struct aac_softc * sc,int queue,u_int32_t * fib_size,struct aac_fib ** fib_addr) aac_dequeue_fib() argument 2286 aac_enqueue_response(struct aac_softc * sc,int queue,struct aac_fib * fib) aac_enqueue_response() argument 2336 aac_timeout(struct aac_softc * sc) aac_timeout() argument 2378 aac_sa_get_fwstatus(struct aac_softc * sc) aac_sa_get_fwstatus() argument 2386 aac_rx_get_fwstatus(struct aac_softc * sc) aac_rx_get_fwstatus() argument 2395 aac_rkt_get_fwstatus(struct aac_softc * sc) aac_rkt_get_fwstatus() argument 2408 aac_sa_qnotify(struct aac_softc * sc,int qbit) aac_sa_qnotify() argument 2416 aac_rx_qnotify(struct aac_softc * sc,int qbit) aac_rx_qnotify() argument 2424 aac_rkt_qnotify(struct aac_softc * sc,int qbit) aac_rkt_qnotify() argument 2435 aac_sa_get_istatus(struct aac_softc * sc) aac_sa_get_istatus() argument 2443 aac_rx_get_istatus(struct aac_softc * sc) aac_rx_get_istatus() argument 2451 aac_rkt_get_istatus(struct aac_softc * sc) aac_rkt_get_istatus() argument 2462 aac_sa_clear_istatus(struct aac_softc * sc,int mask) aac_sa_clear_istatus() argument 2470 aac_rx_clear_istatus(struct aac_softc * sc,int mask) aac_rx_clear_istatus() argument 2478 aac_rkt_clear_istatus(struct aac_softc * sc,int mask) aac_rkt_clear_istatus() argument 2489 aac_sa_set_mailbox(struct aac_softc * sc,u_int32_t command,u_int32_t arg0,u_int32_t arg1,u_int32_t arg2,u_int32_t arg3) aac_sa_set_mailbox() argument 2502 aac_rx_set_mailbox(struct aac_softc * sc,u_int32_t command,u_int32_t arg0,u_int32_t arg1,u_int32_t arg2,u_int32_t arg3) aac_rx_set_mailbox() argument 2515 aac_rkt_set_mailbox(struct aac_softc * sc,u_int32_t command,u_int32_t arg0,u_int32_t arg1,u_int32_t arg2,u_int32_t arg3) aac_rkt_set_mailbox() argument 2531 aac_sa_get_mailbox(struct aac_softc * sc,int mb) aac_sa_get_mailbox() argument 2539 aac_rx_get_mailbox(struct aac_softc * sc,int mb) aac_rx_get_mailbox() argument 2547 aac_rkt_get_mailbox(struct aac_softc * sc,int mb) aac_rkt_get_mailbox() argument 2558 aac_sa_set_interrupts(struct aac_softc * sc,int enable) aac_sa_set_interrupts() argument 2570 aac_rx_set_interrupts(struct aac_softc * sc,int enable) aac_rx_set_interrupts() argument 2585 aac_rkt_set_interrupts(struct aac_softc * sc,int enable) aac_rkt_set_interrupts() argument 2603 aac_rx_send_command(struct aac_softc * sc,struct aac_command * cm) aac_rx_send_command() argument 2626 aac_rkt_send_command(struct aac_softc * sc,struct aac_command * cm) aac_rkt_send_command() argument 2652 aac_rx_get_outb_queue(struct aac_softc * sc) aac_rx_get_outb_queue() argument 2660 aac_rkt_get_outb_queue(struct aac_softc * sc) aac_rkt_get_outb_queue() argument 2668 aac_rx_set_outb_queue(struct aac_softc * sc,int index) aac_rx_set_outb_queue() argument 2676 aac_rkt_set_outb_queue(struct aac_softc * sc,int index) aac_rkt_set_outb_queue() argument 2691 aac_describe_controller(struct aac_softc * sc) aac_describe_controller() argument 2796 struct aac_softc *sc; aac_open() local 2810 struct aac_softc *sc; aac_ioctl() local 2914 struct aac_softc *sc; aac_poll() local 2941 aac_ioctl_event(struct aac_softc * sc,struct aac_event * event,void * arg) aac_ioctl_event() argument 2963 aac_ioctl_sendfib(struct aac_softc * sc,caddr_t ufib) aac_ioctl_sendfib() argument 3047 aac_ioctl_send_raw_srb(struct aac_softc * sc,caddr_t arg) aac_ioctl_send_raw_srb() argument 3205 struct aac_softc *sc; aac_cdevpriv_dtor() local 3217 aac_handle_aif(struct aac_softc * sc,struct aac_fib * fib) aac_handle_aif() argument 3395 aac_rev_check(struct aac_softc * sc,caddr_t udata) aac_rev_check() argument 3437 aac_open_aif(struct aac_softc * sc,caddr_t arg) aac_open_aif() argument 3482 aac_close_aif(struct aac_softc * sc,caddr_t arg) aac_close_aif() argument 3512 aac_getnext_aif(struct aac_softc * sc,caddr_t arg) aac_getnext_aif() argument 3560 aac_return_aif(struct aac_softc * sc,struct aac_fib_context * ctx,caddr_t uptr) aac_return_aif() argument 3587 aac_get_pci_info(struct aac_softc * sc,caddr_t uptr) aac_get_pci_info() argument 3607 aac_supported_features(struct aac_softc * sc,caddr_t uptr) aac_supported_features() argument 3649 aac_query_disk(struct aac_softc * sc,caddr_t uptr) aac_query_disk() argument 3701 aac_get_bus_info(struct aac_softc * sc) aac_get_bus_info() argument [all...] |
/freebsd-src/sys/dev/etherswitch/felix/ |
H A D | felix.c | 154 felix_softc_t sc; in felix_probe() local 173 felix_parse_port_fdt(felix_softc_t sc, phandle_t child, int *pport) in felix_parse_port_fdt() argument 236 felix_init_interface(felix_softc_t sc,int port) felix_init_interface() argument 258 felix_setup_port(felix_softc_t sc,int port) felix_setup_port() argument 283 felix_setup(felix_softc_t sc) felix_setup() argument 328 felix_softc_t sc; felix_timer_rate() local 357 felix_softc_t sc; felix_attach() local 479 felix_softc_t sc; felix_detach() local 522 felix_softc_t sc; felix_getinfo() local 531 felix_softc_t sc; felix_getconf() local 542 felix_init_vlan(felix_softc_t sc) felix_init_vlan() argument 586 felix_softc_t sc; felix_setconf() local 611 felix_softc_t sc; felix_lock() local 621 felix_softc_t sc; felix_unlock() local 629 felix_get_port_cfg(felix_softc_t sc,etherswitch_port_t * p) felix_get_port_cfg() argument 662 felix_softc_t sc; felix_getport() local 691 felix_set_port_cfg(felix_softc_t sc,etherswitch_port_t * p) felix_set_port_cfg() argument 741 felix_softc_t sc; felix_setport() local 767 felix_softc_t sc; felix_readreg_wrapper() local 779 felix_softc_t sc; felix_writereg_wrapper() local 792 felix_softc_t sc; felix_readphy() local 802 felix_softc_t sc; felix_writephy() local 810 felix_set_dot1q_vlan(felix_softc_t sc,etherswitch_vlangroup_t * vg) felix_set_dot1q_vlan() argument 870 felix_softc_t sc; felix_setvgroup() local 886 felix_get_dot1q_vlan(felix_softc_t sc,etherswitch_vlangroup_t * vg) felix_get_dot1q_vlan() argument 922 felix_softc_t sc; felix_getvgroup() local 941 felix_softc_t sc; felix_tick() local 964 felix_softc_t sc; felix_ifmedia_upd() local 978 felix_softc_t sc; felix_ifmedia_sts() local 992 felix_is_phyport(felix_softc_t sc,int port) felix_is_phyport() argument 999 felix_miiforport(felix_softc_t sc,unsigned int port) felix_miiforport() argument [all...] |
/freebsd-src/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() 226 struct tws_softc *sc = (struct tws_softc *)cam_sim_softc(sim); in tws_action() local 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 442 tws_err_complete(struct tws_softc *sc, u_int64_t mfa) in tws_err_complete() 501 struct tws_softc *sc = req->sc; in tws_scsi_err_complete() local [all …]
|
/freebsd-src/sys/dev/ath/ |
H A D | if_ath.c | 261 ath_legacy_attach_comp_func(struct ath_softc *sc) in ath_legacy_attach_comp_func() argument 299 _ath_power_setpower(struct ath_softc * sc,int power_state,int selfgen,const char * file,int line) _ath_power_setpower() argument 353 _ath_power_set_selfgen(struct ath_softc * sc,int power_state,const char * file,int line) _ath_power_set_selfgen() argument 389 _ath_power_set_power_state(struct ath_softc * sc,int power_state,const char * file,int line) _ath_power_set_power_state() argument 427 _ath_power_restore_power_state(struct ath_softc * sc,const char * file,int line) _ath_power_restore_power_state() argument 473 ath_setup_hal_config(struct ath_softc * sc,HAL_OPS_CONFIG * ah_config) ath_setup_hal_config() argument 546 ath_fetch_mac_kenv(struct ath_softc * sc,uint8_t * macaddr) ath_fetch_mac_kenv() argument 599 ath_attach(u_int16_t devid,struct ath_softc * sc) ath_attach() argument 1405 ath_detach(struct ath_softc * sc) ath_detach() argument 1468 assign_address(struct ath_softc * sc,uint8_t mac[IEEE80211_ADDR_LEN],int clone) assign_address() argument 1488 reclaim_address(struct ath_softc * sc,const uint8_t mac[IEEE80211_ADDR_LEN]) reclaim_address() argument 1511 assign_bslot(struct ath_softc * sc) assign_bslot() argument 1533 struct ath_softc *sc = ic->ic_softc; ath_vap_create() local 1791 struct ath_softc *sc = ic->ic_softc; ath_vap_delete() local 1910 ath_suspend(struct ath_softc * sc) ath_suspend() argument 1953 ath_reset_keycache(struct ath_softc * sc) ath_reset_keycache() argument 1973 ath_update_chainmasks(struct ath_softc * sc,struct ieee80211_channel * chan) ath_update_chainmasks() argument 1995 ath_resume(struct ath_softc * sc) ath_resume() argument 2064 ath_shutdown(struct ath_softc * sc) ath_shutdown() argument 2079 struct ath_softc *sc = arg; ath_intr() local 2372 struct ath_softc *sc = arg; ath_fatal_proc() local 2399 struct ath_softc *sc = vap->iv_ic->ic_softc; ath_bmiss_vap() local 2488 struct ath_softc *sc = arg; ath_bmiss_proc() local 2532 struct ath_softc *sc = arg; ath_tsfoor_proc() local 2562 ath_settkipmic(struct ath_softc * sc) ath_settkipmic() argument 2578 ath_vap_clear_quiet_ie(struct ath_softc * sc) ath_vap_clear_quiet_ie() argument 2592 ath_init(struct ath_softc * sc) ath_init() argument 2754 ath_stop(struct ath_softc * sc) ath_stop() argument 2821 ath_txrx_stop_locked(struct ath_softc * sc) ath_txrx_stop_locked() argument 2864 ath_txrx_start(struct ath_softc * sc) ath_txrx_start() argument 2888 ath_reset_grablock(struct ath_softc * sc,int dowait) ath_reset_grablock() argument 2942 ath_reset(struct ath_softc * sc,ATH_RESET_TYPE reset_type,HAL_RESET_TYPE ah_reset_type) ath_reset() argument 3132 struct ath_softc *sc = ic->ic_softc; ath_reset_vap() local 3151 _ath_getbuf_locked(struct ath_softc * sc,ath_buf_type_t btype) _ath_getbuf_locked() argument 3241 ath_buf_clone(struct ath_softc * sc,struct ath_buf * bf) ath_buf_clone() argument 3293 ath_getbuf(struct ath_softc * sc,ath_buf_type_t btype) ath_getbuf() argument 3322 struct ath_softc *sc = ic->ic_softc; ath_transmit() local 3601 struct ath_softc *sc = vap->iv_ic->ic_softc; ath_key_update_begin() local 3610 struct ath_softc *sc = vap->iv_ic->ic_softc; ath_key_update_end() local 3619 struct ath_softc *sc = ic->ic_softc; ath_update_promisc() local 3658 ath_update_mcast_hw(struct ath_softc * sc) ath_update_mcast_hw() argument 3689 struct ath_softc *sc = ic->ic_softc; ath_update_mcast() local 3703 ath_mode_init(struct ath_softc * sc) ath_mode_init() argument 3729 ath_setslottime(struct ath_softc * sc) ath_setslottime() argument 3770 struct ath_softc *sc = ic->ic_softc; ath_updateslot() local 3814 struct ath_softc *sc = arg; ath_reset_proc() local 3828 struct ath_softc *sc = arg; ath_bstuck_proc() local 3850 ath_desc_alloc(struct ath_softc * sc) ath_desc_alloc() argument 3886 ath_desc_free(struct ath_softc * sc) ath_desc_free() argument 3902 struct ath_softc *sc = ic->ic_softc; ath_node_alloc() local 3933 struct ath_softc *sc = ic->ic_softc; ath_node_cleanup() local 3948 struct ath_softc *sc = ic->ic_softc; ath_node_free() local 3960 struct ath_softc *sc = ic->ic_softc; ath_node_getsignal() local 3974 ath_setdefantenna(struct ath_softc * sc,u_int antenna) ath_setdefantenna() argument 3987 ath_txq_init(struct ath_softc * sc,struct ath_txq * txq,int qnum) ath_txq_init() argument 4006 ath_txq_setup(struct ath_softc * sc,int qtype,int subtype) ath_txq_setup() argument 4068 ath_tx_setup(struct ath_softc * sc,int ac,int haltype) ath_tx_setup() argument 4090 ath_txq_update(struct ath_softc * sc,int ac) ath_txq_update() argument 4169 struct ath_softc *sc = ic->ic_softc; ath_wme_update() local 4181 ath_tx_cleanupq(struct ath_softc * sc,struct ath_txq * txq) ath_tx_cleanupq() argument 4193 ath_tx_cleanup(struct ath_softc * sc) ath_tx_cleanup() argument 4208 ath_tx_findrix(const struct ath_softc * sc,uint8_t rate) ath_tx_findrix() argument 4216 ath_tx_update_stats(struct ath_softc * sc,struct ath_tx_status * ts,struct ath_buf * bf) ath_tx_update_stats() argument 4286 ath_tx_default_comp(struct ath_softc * sc,struct ath_buf * bf,int fail) ath_tx_default_comp() argument 4346 ath_tx_update_ratectrl(struct ath_softc * sc,struct ieee80211_node * ni,struct ath_rc_series * rc,struct ath_tx_status * ts,int frmlen,int rc_framelen,int nframes,int nbad) ath_tx_update_ratectrl() argument 4381 ath_tx_process_buf_completion(struct ath_softc * sc,struct ath_txq * txq,struct ath_tx_status * ts,struct ath_buf * bf) ath_tx_process_buf_completion() argument 4431 ath_tx_processq(struct ath_softc * sc,struct ath_txq * txq,int dosched) ath_tx_processq() argument 4594 struct ath_softc *sc = arg; ath_tx_proc_q0() local 4638 struct ath_softc *sc = arg; ath_tx_proc_q0123() local 4694 struct ath_softc *sc = arg; ath_tx_proc() local 4743 struct ath_softc *sc = arg; ath_txq_sched_tasklet() local 4781 ath_returnbuf_tail(struct ath_softc * sc,struct ath_buf * bf) ath_returnbuf_tail() argument 4802 ath_returnbuf_head(struct ath_softc * sc,struct ath_buf * bf) ath_returnbuf_head() argument 4826 ath_txq_freeholdingbuf(struct ath_softc * sc,struct ath_txq * txq) ath_txq_freeholdingbuf() argument 4848 ath_txq_addholdingbuf(struct ath_softc * sc,struct ath_buf * bf) ath_txq_addholdingbuf() argument 4891 ath_freebuf(struct ath_softc * sc,struct ath_buf * bf) ath_freebuf() argument 4925 ath_tx_freebuf(struct ath_softc * sc,struct ath_buf * bf,int status) ath_tx_freebuf() argument 4952 ath_tx_draintxq_get_one(struct ath_softc * sc,struct ath_txq * txq) ath_tx_draintxq_get_one() argument 5007 ath_tx_draintxq(struct ath_softc * sc,struct ath_txq * txq) ath_tx_draintxq() argument 5081 ath_tx_stopdma(struct ath_softc * sc,struct ath_txq * txq) ath_tx_stopdma() argument 5112 ath_stoptxdma(struct ath_softc * sc) ath_stoptxdma() argument 5146 ath_tx_dump(struct ath_softc * sc,struct ath_txq * txq) ath_tx_dump() argument 5172 ath_legacy_tx_drain(struct ath_softc * sc,ATH_RESET_TYPE reset_type) ath_legacy_tx_drain() argument 5241 ath_chan_change(struct ath_softc * sc,struct ieee80211_channel * chan) ath_chan_change() argument 5262 ath_chan_set(struct ath_softc * sc,struct ieee80211_channel * chan) ath_chan_set() argument 5416 struct ath_softc *sc = arg; ath_calibrate() local 5558 struct ath_softc *sc = ic->ic_softc; ath_scan_start() local 5583 struct ath_softc *sc = ic->ic_softc; ath_scan_end() local 5623 struct ath_softc *sc = ic->ic_softc; ath_update_chw() local 5676 struct ath_softc *sc = ic->ic_softc; ath_set_quiet_ie() local 5776 struct ath_softc *sc = ic->ic_softc; ath_set_channel() local 5818 struct ath_softc *sc = ic->ic_softc; ath_newstate() local 6270 struct ath_softc *sc = vap->iv_ic->ic_softc; ath_setup_stationkey() local 6303 struct ath_softc *sc = vap->iv_ic->ic_softc; ath_newassoc() local 6355 struct ath_softc *sc = ic->ic_softc; ath_setregdomain() local 6379 struct ath_softc *sc = ic->ic_softc; ath_getradiocaps() local 6392 ath_getchannels(struct ath_softc * sc) ath_getchannels() argument 6430 ath_rate_setup(struct ath_softc * sc,u_int mode) ath_rate_setup() argument 6476 ath_setcurmode(struct ath_softc * sc,enum ieee80211_phymode mode) ath_setcurmode() argument 6553 struct ath_softc *sc = arg; ath_watchdog() local 6593 struct ath_softc *sc = ic->ic_softc; ath_parent() local 6640 ath_announce(struct ath_softc * sc) ath_announce() argument 6673 struct ath_softc *sc = (struct ath_softc *) p; ath_dfs_tasklet() local 6715 struct ath_softc *sc = ic->ic_softc; ath_node_powersave() local 6782 struct ath_softc *sc = ic->ic_softc; ath_node_set_tim() local 6911 ath_tx_update_tim(struct ath_softc * sc,struct ieee80211_node * ni,int enable) ath_tx_update_tim() argument 6987 struct ath_softc *sc = ic->ic_softc; ath_node_recv_pspoll() local [all...] |
/freebsd-src/sys/dev/bfe/ |
H A D | if_bfe.c | 185 bfe_dma_alloc(struct bfe_softc *sc) in bfe_dma_alloc() argument 357 bfe_dma_free(struct bfe_softc * sc) bfe_dma_free() argument 432 struct bfe_softc *sc; bfe_attach() local 532 struct bfe_softc *sc; bfe_detach() local 571 struct bfe_softc *sc; bfe_shutdown() local 585 struct bfe_softc *sc; bfe_suspend() local 598 struct bfe_softc *sc; bfe_resume() local 619 struct bfe_softc *sc; bfe_miibus_readreg() local 631 struct bfe_softc *sc; bfe_miibus_writereg() local 642 struct bfe_softc *sc; bfe_miibus_statchg() local 690 bfe_tx_ring_free(struct bfe_softc * sc) bfe_tx_ring_free() argument 710 bfe_rx_ring_free(struct bfe_softc * sc) bfe_rx_ring_free() argument 730 bfe_list_rx_init(struct bfe_softc * sc) bfe_list_rx_init() argument 753 bfe_list_tx_init(struct bfe_softc * sc) bfe_list_tx_init() argument 767 bfe_discard_buf(struct bfe_softc * sc,int c) bfe_discard_buf() argument 778 bfe_list_newbuf(struct bfe_softc * sc,int c) bfe_list_newbuf() argument 833 bfe_get_config(struct bfe_softc * sc) bfe_get_config() argument 854 bfe_pci_setup(struct bfe_softc * sc,u_int32_t cores) bfe_pci_setup() argument 873 bfe_clear_stats(struct bfe_softc * sc) bfe_clear_stats() argument 887 bfe_resetphy(struct bfe_softc * sc) bfe_resetphy() argument 902 bfe_chip_halt(struct bfe_softc * sc) bfe_chip_halt() argument 918 bfe_chip_reset(struct bfe_softc * sc) bfe_chip_reset() argument 1001 bfe_core_disable(struct bfe_softc * sc) bfe_core_disable() argument 1023 bfe_core_reset(struct bfe_softc * sc) bfe_core_reset() argument 1054 bfe_cam_write(struct bfe_softc * sc,u_char * data,int index) bfe_cam_write() argument 1075 struct bfe_softc *sc = arg; bfe_write_maddr() local 1083 bfe_set_rx_mode(struct bfe_softc * sc) bfe_set_rx_mode() argument 1131 bfe_release_resources(struct bfe_softc * sc) bfe_release_resources() argument 1149 bfe_read_eeprom(struct bfe_softc * sc,u_int8_t * data) bfe_read_eeprom() argument 1159 bfe_wait_bit(struct bfe_softc * sc,u_int32_t reg,u_int32_t bit,u_long timeout,const int clear) bfe_wait_bit() argument 1183 bfe_readphy(struct bfe_softc * sc,u_int32_t reg,u_int32_t * val) bfe_readphy() argument 1201 bfe_writephy(struct bfe_softc * sc,u_int32_t reg,u_int32_t val) bfe_writephy() argument 1222 bfe_setupphy(struct bfe_softc * sc) bfe_setupphy() argument 1239 bfe_stats_update(struct bfe_softc * sc) bfe_stats_update() argument 1327 bfe_txeof(struct bfe_softc * sc) bfe_txeof() argument 1371 bfe_rxeof(struct bfe_softc * sc) bfe_rxeof() argument 1438 struct bfe_softc *sc = xsc; bfe_intr() local 1498 bfe_encap(struct bfe_softc * sc,struct mbuf ** m_head) bfe_encap() argument 1601 struct bfe_softc *sc; bfe_start_locked() local 1682 struct bfe_softc *sc = (struct bfe_softc*)xsc; bfe_init_locked() local 1727 struct bfe_softc *sc; bfe_ifmedia_upd() local 1750 struct bfe_softc *sc = if_getsoftc(ifp); bfe_ifmedia_sts() local 1764 struct bfe_softc *sc = if_getsoftc(ifp); bfe_ioctl() local 1802 bfe_watchdog(struct bfe_softc * sc) bfe_watchdog() argument 1826 struct bfe_softc *sc = xsc; bfe_tick() local 1843 bfe_stop(struct bfe_softc * sc) bfe_stop() argument 1863 struct bfe_softc *sc; sysctl_bfe_stats() local [all...] |
/freebsd-src/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 406 vtscsi_negotiate_features(struct vtscsi_softc *sc) in vtscsi_negotiate_features() 419 vtscsi_setup_features(struct vtscsi_softc *sc) in vtscsi_setup_features() 446 vtscsi_read_config(struct vtscsi_softc *sc, in vtscsi_read_config() 470 vtscsi_maximum_segments(struct vtscsi_softc *sc, int seg_max) in vtscsi_maximum_segments() 487 vtscsi_alloc_virtqueues(struct vtscsi_softc *sc) in vtscsi_alloc_virtqueues() 510 vtscsi_check_sizes(struct vtscsi_softc *sc) in vtscsi_check_sizes() 530 vtscsi_write_device_config(struct vtscsi_softc *sc) in vtscsi_write_device_config() 547 vtscsi_reinit(struct vtscsi_softc *sc) in vtscsi_reinit() [all …]
|
/freebsd-src/sys/dev/mlx/ |
H A D | mlx.c | 162 mlx_free(struct mlx_softc * sc) mlx_free() argument 225 struct mlx_softc *sc = (struct mlx_softc *)arg; mlx_dma_map_sg() local 234 mlx_sglist_map(struct mlx_softc * sc) mlx_sglist_map() argument 303 mlx_attach(struct mlx_softc * sc) mlx_attach() argument 521 mlx_startup(struct mlx_softc * sc) mlx_startup() argument 589 struct mlx_softc *sc = device_get_softc(dev); mlx_detach() local 634 struct mlx_softc *sc = device_get_softc(dev); mlx_shutdown() local 644 mlx_shutdown_locked(struct mlx_softc * sc) mlx_shutdown_locked() argument 683 struct mlx_softc *sc = device_get_softc(dev); mlx_suspend() local 706 struct mlx_softc *sc = device_get_softc(dev); mlx_resume() local 725 struct mlx_softc *sc = (struct mlx_softc *)arg; mlx_intr() local 740 mlx_submit_buf(struct mlx_softc * sc,struct bio * bp) mlx_submit_buf() argument 758 struct mlx_softc *sc = dev->si_drv1; mlx_open() local 774 struct mlx_softc *sc = dev->si_drv1; mlx_close() local 790 struct mlx_softc *sc = dev->si_drv1; mlx_ioctl() local 998 mlx_submit_ioctl(struct mlx_softc * sc,struct mlx_sysdrive * drive,u_long cmd,caddr_t addr,int32_t flag,struct thread * td) mlx_submit_ioctl() argument 1068 struct mlx_softc *sc = (struct mlx_softc *)data; mlx_periodic() local 1142 struct mlx_softc *sc = mc->mc_sc; mlx_periodic_enquiry() local 1284 mlx_periodic_eventlog_poll(struct mlx_softc * sc) mlx_periodic_eventlog_poll() argument 1345 struct mlx_softc *sc = mc->mc_sc; mlx_periodic_eventlog_respond() local 1419 struct mlx_softc *sc = mc->mc_sc; mlx_periodic_rebuild() local 1468 mlx_pause_action(struct mlx_softc * sc) mlx_pause_action() argument 1528 struct mlx_softc *sc = mc->mc_sc; mlx_pause_done() local 1554 struct mlx_softc *sc; mlx_enquire_cb() local 1594 mlx_enquire(struct mlx_softc * sc,int command,size_t bufsize,void (* complete)(struct mlx_command * mc)) mlx_enquire() argument 1649 mlx_flush(struct mlx_softc * sc) mlx_flush() argument 1692 mlx_check(struct mlx_softc * sc,int drive) mlx_check() argument 1736 mlx_rebuild(struct mlx_softc * sc,int channel,int target) mlx_rebuild() argument 1781 struct mlx_softc *sc = mc->mc_sc; mlx_wait_command() local 1816 struct mlx_softc *sc = mc->mc_sc; mlx_poll_command() local 1846 struct mlx_softc *sc; mlx_startio_cb() local 1914 mlx_startio(struct mlx_softc * sc) mlx_startio() argument 1964 struct mlx_softc *sc = mc->mc_sc; mlx_completeio() local 2047 mlx_user_command(struct mlx_softc * sc,struct mlx_usercommand * mu) mlx_user_command() argument 2142 struct mlx_softc *sc = mc->mc_sc; mlx_getslot() local 2191 struct mlx_softc *sc = mc->mc_sc; mlx_setup_dmamap() local 2229 struct mlx_softc *sc = mc->mc_sc; mlx_unmapcmd() local 2253 struct mlx_softc *sc = mc->mc_sc; mlx_start() local 2296 mlx_done(struct mlx_softc * sc,int startio) mlx_done() argument 2346 mlx_complete(struct mlx_softc * sc) mlx_complete() argument 2411 mlx_alloccmd(struct mlx_softc * sc) mlx_alloccmd() argument 2459 struct mlx_softc *sc = mc->mc_sc; mlx_freecmd() local 2478 mlx_v3_tryqueue(struct mlx_softc * sc,struct mlx_command * mc) mlx_v3_tryqueue() argument 2503 mlx_v3_findcomplete(struct mlx_softc * sc,u_int8_t * slot,u_int16_t * status) mlx_v3_findcomplete() argument 2526 mlx_v3_intaction(struct mlx_softc * sc,int action) mlx_v3_intaction() argument 2549 mlx_v3_fw_handshake(struct mlx_softc * sc,int * error,int * param1,int * param2,int first) mlx_v3_fw_handshake() argument 2593 mlx_v4_tryqueue(struct mlx_softc * sc,struct mlx_command * mc) mlx_v4_tryqueue() argument 2622 mlx_v4_findcomplete(struct mlx_softc * sc,u_int8_t * slot,u_int16_t * status) mlx_v4_findcomplete() argument 2645 mlx_v4_intaction(struct mlx_softc * sc,int action) mlx_v4_intaction() argument 2668 mlx_v4_fw_handshake(struct mlx_softc * sc,int * error,int * param1,int * param2,int first) mlx_v4_fw_handshake() argument 2712 mlx_v5_tryqueue(struct mlx_softc * sc,struct mlx_command * mc) mlx_v5_tryqueue() argument 2737 mlx_v5_findcomplete(struct mlx_softc * sc,u_int8_t * slot,u_int16_t * status) mlx_v5_findcomplete() argument 2760 mlx_v5_intaction(struct mlx_softc * sc,int action) mlx_v5_intaction() argument 2783 mlx_v5_fw_handshake(struct mlx_softc * sc,int * error,int * param1,int * param2,int first) mlx_v5_fw_handshake() argument 2929 mlx_describe_controller(struct mlx_softc * sc) mlx_describe_controller() argument 3003 mlx_fw_message(struct mlx_softc * sc,int error,int param1,int param2) mlx_fw_message() argument 3057 mlx_findunit(struct mlx_softc * sc,int unit) mlx_findunit() argument [all...] |