/haiku/src/add-ons/kernel/drivers/network/wlan/iprowifi3945/dev/wpi/ |
H A D | if_wpi.c | 330 struct wpi_softc *sc = (struct wpi_softc *)device_get_softc(dev); local 339 sc->sc_dev = dev; 342 error = resource_int_value(device_get_name(sc->sc_dev), 343 device_get_unit(sc->sc_dev), "debug", &(sc->sc_debug)); 345 sc->sc_debug = 0; 347 sc->sc_debug = 0; 350 DPRINTF(sc, WPI_DEBUG_TRACE, TRACE_STR_BEGIN, __func__); 356 error = pci_find_cap(dev, PCIY_EXPRESS, &sc->sc_cap_off); 384 sc 571 wpi_radiotap_attach(struct wpi_softc *sc) argument 584 wpi_sysctlattach(struct wpi_softc *sc) argument 682 struct wpi_softc *sc = device_get_softc(dev); local 738 struct wpi_softc *sc = device_get_softc(dev); local 747 struct wpi_softc *sc = device_get_softc(dev); local 757 struct wpi_softc *sc = device_get_softc(dev); local 771 wpi_nic_lock(struct wpi_softc *sc) argument 796 wpi_nic_unlock(struct wpi_softc *sc) argument 802 wpi_prph_read(struct wpi_softc *sc, uint32_t addr) argument 810 wpi_prph_write(struct wpi_softc *sc, uint32_t addr, uint32_t data) argument 818 wpi_prph_setbits(struct wpi_softc *sc, uint32_t addr, uint32_t mask) argument 824 wpi_prph_clrbits(struct wpi_softc *sc, uint32_t addr, uint32_t mask) argument 830 wpi_prph_write_region_4(struct wpi_softc *sc, uint32_t addr, const uint32_t *data, uint32_t count) argument 838 wpi_mem_read(struct wpi_softc *sc, uint32_t addr) argument 846 wpi_mem_read_region_4(struct wpi_softc *sc, uint32_t addr, uint32_t *data, int count) argument 854 wpi_read_prom_data(struct wpi_softc *sc, uint32_t addr, void *data, int count) argument 904 wpi_dma_contig_alloc(struct wpi_softc *sc, struct wpi_dma_info *dma, void **kvap, bus_size_t size, bus_size_t alignment) argument 959 wpi_alloc_shared(struct wpi_softc *sc) argument 967 wpi_free_shared(struct wpi_softc *sc) argument 976 wpi_alloc_fwmem(struct wpi_softc *sc) argument 984 wpi_free_fwmem(struct wpi_softc *sc) argument 990 wpi_alloc_rx_ring(struct wpi_softc *sc) argument 1075 wpi_update_rx_ring(struct wpi_softc *sc) argument 1081 wpi_update_rx_ring_ps(struct wpi_softc *sc) argument 1104 wpi_reset_rx_ring(struct wpi_softc *sc) argument 1127 wpi_free_rx_ring(struct wpi_softc *sc) argument 1156 wpi_alloc_tx_ring(struct wpi_softc *sc, struct wpi_tx_ring *ring, uint8_t qid) argument 1232 wpi_update_tx_ring(struct wpi_softc *sc, struct wpi_tx_ring *ring) argument 1238 wpi_update_tx_ring_ps(struct wpi_softc *sc, struct wpi_tx_ring *ring) argument 1258 wpi_reset_tx_ring(struct wpi_softc *sc, struct wpi_tx_ring *ring) argument 1290 wpi_free_tx_ring(struct wpi_softc *sc, struct wpi_tx_ring *ring) argument 1321 wpi_read_eeprom(struct wpi_softc *sc, uint8_t macaddr[IEEE80211_ADDR_LEN]) argument 1412 wpi_read_eeprom_band(struct wpi_softc *sc, uint8_t n, int maxchans, int *nchans, struct ieee80211_channel chans[]) argument 1459 wpi_read_eeprom_channels(struct wpi_softc *sc, uint8_t n) argument 1485 wpi_find_eeprom_channel(struct wpi_softc *sc, struct ieee80211_channel *c) argument 1502 struct wpi_softc *sc = ic->ic_softc; local 1517 struct wpi_softc *sc = ic->ic_softc; local 1537 wpi_read_eeprom_group(struct wpi_softc *sc, uint8_t n) argument 1576 wpi_add_node_entry_adhoc(struct wpi_softc *sc) argument 1591 wpi_add_node_entry_sta(struct wpi_softc *sc) argument 1599 wpi_check_node_entry(struct wpi_softc *sc, uint8_t id) argument 1608 wpi_clear_node_table(struct wpi_softc *sc) argument 1614 wpi_del_node_entry(struct wpi_softc *sc, uint8_t id) argument 1638 struct wpi_softc *sc = ni->ni_ic->ic_softc; local 1654 wpi_check_bss_filter(struct wpi_softc *sc) argument 1665 struct wpi_softc *sc = vap->iv_ic->ic_softc; local 1689 struct wpi_softc *sc = arg; local 1706 wpi_restore_node_table(struct wpi_softc *sc, struct wpi_vap *wvp) argument 1727 struct wpi_softc *sc = ic->ic_softc; local 1852 struct wpi_softc *sc = arg; local 1906 wpi_rx_done(struct wpi_softc *sc, struct wpi_rx_desc *desc, struct wpi_rx_data *data) argument 2047 wpi_rx_statistics(struct wpi_softc *sc, struct wpi_rx_desc *desc, struct wpi_rx_data *data) argument 2054 wpi_tx_done(struct wpi_softc *sc, struct wpi_rx_desc *desc) argument 2128 wpi_cmd_done(struct wpi_softc *sc, struct wpi_rx_desc *desc) argument 2177 wpi_notif_intr(struct wpi_softc *sc) argument 2383 wpi_wakeup_intr(struct wpi_softc *sc) argument 2413 wpi_debug_registers(struct wpi_softc *sc) argument 2475 wpi_fatal_intr(struct wpi_softc *sc) argument 2537 struct wpi_softc *sc = arg; local 2602 wpi_free_txfrags(struct wpi_softc *sc, uint16_t ac) argument 2630 wpi_cmd2(struct wpi_softc *sc, struct wpi_buf *buf) argument 2790 wpi_tx_data(struct wpi_softc *sc, struct mbuf *m, struct ieee80211_node *ni) argument 2960 wpi_tx_data_raw(struct wpi_softc *sc, struct mbuf *m, struct ieee80211_node *ni, const struct ieee80211_bpf_params *params) argument 3063 wpi_tx_ring_free_space(struct wpi_softc *sc, uint16_t ac) argument 3080 struct wpi_softc *sc = ic->ic_softc; local 3127 struct wpi_softc *sc = ic->ic_softc; local 3177 struct wpi_softc *sc = arg; local 3194 struct wpi_softc *sc = arg; local 3204 struct wpi_softc *sc = arg; local 3214 struct wpi_softc *sc = ic->ic_softc; local 3235 wpi_cmd(struct wpi_softc *sc, uint8_t code, const void *buf, uint16_t size, int async) argument 3336 wpi_mrr_setup(struct wpi_softc *sc) argument 3386 wpi_add_node(struct wpi_softc *sc, struct ieee80211_node *ni) argument 3434 wpi_add_broadcast_node(struct wpi_softc *sc, int async) argument 3455 wpi_add_sta_node(struct wpi_softc *sc, struct ieee80211_node *ni) argument 3474 wpi_add_ibss_node(struct wpi_softc *sc, struct ieee80211_node *ni) argument 3499 wpi_del_node(struct wpi_softc *sc, struct ieee80211_node *ni) argument 3528 struct wpi_softc *sc = ic->ic_softc; local 3562 wpi_set_promisc(struct wpi_softc *sc) argument 3581 struct wpi_softc *sc = ic->ic_softc; local 3607 wpi_set_led(struct wpi_softc *sc, uint8_t which, uint8_t off, uint8_t on) argument 3621 wpi_set_timing(struct wpi_softc *sc, struct ieee80211_node *ni) argument 3649 wpi_power_calibration(struct wpi_softc *sc) argument 3685 wpi_set_txpower(struct wpi_softc *sc, int async) argument 3735 wpi_get_power_index(struct wpi_softc *sc, struct wpi_power_group *group, uint8_t chan, int is_chan_5ghz, int ridx) argument 3803 wpi_set_pslevel(struct wpi_softc *sc, uint8_t dtim, int level, int async) argument 3855 wpi_send_btcoex(struct wpi_softc *sc) argument 3869 wpi_send_rxon(struct wpi_softc *sc, int assoc, int async) argument 3937 wpi_config(struct wpi_softc *sc) argument 4019 wpi_get_active_dwell_time(struct wpi_softc *sc, struct ieee80211_channel *c, uint8_t n_probes) argument 4039 wpi_limit_dwell(struct wpi_softc *sc, uint16_t dwell_time) argument 4067 wpi_get_passive_dwell_time(struct wpi_softc *sc, struct ieee80211_channel *c) argument 4096 wpi_scan(struct wpi_softc *sc, struct ieee80211_channel *c) argument 4293 wpi_auth(struct wpi_softc *sc, struct ieee80211vap *vap) argument 4351 struct wpi_softc *sc = ic->ic_softc; local 4399 wpi_setup_beacon(struct wpi_softc *sc, struct ieee80211_node *ni) argument 4434 struct wpi_softc *sc = vap->iv_ic->ic_softc; local 4476 struct wpi_softc *sc = ni->ni_ic->ic_softc; local 4495 wpi_run(struct wpi_softc *sc, struct ieee80211vap *vap) argument 4603 struct wpi_softc *sc = ni->ni_ic->ic_softc; local 4667 struct wpi_softc *sc = ni->ni_ic->ic_softc; local 4702 struct wpi_softc *sc = ni->ni_ic->ic_softc; local 4752 struct wpi_softc *sc = ni->ni_ic->ic_softc; local 4774 struct wpi_softc *sc = ic->ic_softc; local 4861 wpi_post_alive(struct wpi_softc *sc) argument 4902 wpi_load_bootcode(struct wpi_softc *sc, const uint8_t *ucode, uint32_t size) argument 4953 wpi_load_firmware(struct wpi_softc *sc) argument 5017 wpi_read_firmware(struct wpi_softc *sc) argument 5115 wpi_unload_firmware(struct wpi_softc *sc) argument 5124 wpi_clock_wait(struct wpi_softc *sc) argument 5144 wpi_apm_init(struct wpi_softc *sc) argument 5191 wpi_apm_stop_master(struct wpi_softc *sc) argument 5212 wpi_apm_stop(struct wpi_softc *sc) argument 5224 wpi_nic_config(struct wpi_softc *sc) argument 5250 wpi_hw_init(struct wpi_softc *sc) argument 5366 wpi_hw_stop(struct wpi_softc *sc) argument 5424 struct wpi_softc *sc = arg0; local 5441 struct wpi_softc *sc = arg0; local 5458 wpi_init(struct wpi_softc *sc) argument 5522 wpi_stop_locked(struct wpi_softc *sc) argument 5550 wpi_stop(struct wpi_softc *sc) argument 5563 struct wpi_softc *sc = ic->ic_softc; local 5574 struct wpi_softc *sc = ic->ic_softc; local 5589 struct wpi_softc *sc = ic->ic_softc; local 5635 struct wpi_softc *sc = ic->ic_softc; local [all...] |
/haiku/src/add-ons/kernel/drivers/network/ether/syskonnect/ |
H A D | glue.c | 44 struct sk_softc* sc = device_get_softc(dev); local 49 mask = sc->sk_intrmask; 52 status = CSR_READ_4(sc, SK_ISSR); 53 if (status == 0 || status == 0xffffffff || sc->sk_suspended) 59 if (sc->sk_if[SK_PORT_A] != NULL) 64 if (sc->sk_if[SK_PORT_B] != NULL) 70 CSR_WRITE_4(sc, SK_IMR, mask); 74 atomic_set((int32 *)&sc->sk_intstatus, status); 75 return status & sc->sk_intrmask; 81 struct sk_softc *sc local [all...] |
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8192c/ |
H A D | r92c_calib.c | 73 r92c_iq_calib_chain(struct rtwn_softc *sc, int chain, uint16_t tx[2], argument 80 rtwn_bb_write(sc, R92C_TX_IQK_TONE(0), 0x10008c1f); 81 rtwn_bb_write(sc, R92C_RX_IQK_TONE(0), 0x10008c1f); 82 rtwn_bb_write(sc, R92C_TX_IQK_PI(0), 0x82140102); 84 if (sc->ntxchains > 1) { 85 rtwn_bb_write(sc, R92C_RX_IQK_PI(0), 0x28160202); 87 rtwn_bb_write(sc, R92C_TX_IQK_TONE(1), 0x10008c22); 88 rtwn_bb_write(sc, R92C_RX_IQK_TONE(1), 0x10008c22); 89 rtwn_bb_write(sc, R92C_TX_IQK_PI(1), 0x82140102); 90 rtwn_bb_write(sc, R92C_RX_IQK_P 136 r92c_iq_calib_run(struct rtwn_softc *sc, int n, uint16_t tx[2][2], uint16_t rx[2][2], struct r92c_iq_cal_reg_vals *vals) argument 304 r92c_iq_calib_compare_results(struct rtwn_softc *sc, uint16_t tx1[2][2], uint16_t rx1[2][2], uint16_t tx2[2][2], uint16_t rx2[2][2]) argument 332 r92c_iq_calib_write_results(struct rtwn_softc *sc, uint16_t tx[2], uint16_t rx[2], int chain) argument 381 r92c_iq_calib(struct rtwn_softc *sc) argument 410 r92c_lc_calib(struct rtwn_softc *sc) argument 452 r92c_temp_measure(struct rtwn_softc *sc) argument 458 r92c_temp_read(struct rtwn_softc *sc) argument [all...] |
H A D | r92c_fw.c | 65 r92c_fw_cmd(struct rtwn_softc *sc, uint8_t id, const void *buf, int len) argument 74 if (!(sc->sc_flags & RTWN_FW_LOADED)) { 75 RTWN_DPRINTF(sc, RTWN_DEBUG_FIRMWARE, "%s: firmware " 83 if (!(rtwn_read_1(sc, R92C_HMETFR) & (1 << sc->fwcur))) 85 rtwn_delay(sc, 2000); 88 device_printf(sc->sc_dev, 104 error = rtwn_write_2(sc, R92C_HMEBOX_EXT(sc->fwcur), 109 error = rtwn_write_4(sc, R92C_HMEBO 120 r92c_fw_reset(struct rtwn_softc *sc, int reason) argument 143 r92c_fw_download_enable(struct rtwn_softc *sc, int enable) argument 168 r92c_send_ra_cmd(struct rtwn_softc *sc, int macid, uint32_t rates, int maxrate) argument 221 r92c_init_ra(struct rtwn_softc *sc, int macid) argument 257 r92c_joinbss_rpt(struct rtwn_softc *sc, int macid) argument 295 r92c_set_rsvd_page(struct rtwn_softc *sc, int probe_resp, int null, int qos_null) argument 308 r92c_set_pwrmode(struct rtwn_softc *sc, struct ieee80211vap *vap, int off) argument 334 r92c_set_rssi(struct rtwn_softc *sc) argument 365 r92c_ratectl_tx_complete(struct rtwn_softc *sc, uint8_t *buf, int len) argument 450 r92c_handle_c2h_task(struct rtwn_softc *sc, union sec_param *data) argument 514 struct rtwn_softc *sc = arg; local [all...] |
/haiku/src/add-ons/kernel/drivers/network/wlan/iprowifi2200/dev/iwi/ |
H A D | if_iwi.c | 190 static void iwi_release_fw_dma(struct iwi_softc *sc); 252 MEM_READ_1(struct iwi_softc *sc, uint32_t addr) argument 254 CSR_WRITE_4(sc, IWI_CSR_INDIRECT_ADDR, addr); 255 return CSR_READ_1(sc, IWI_CSR_INDIRECT_DATA); 259 MEM_READ_4(struct iwi_softc *sc, uint32_t addr) argument 261 CSR_WRITE_4(sc, IWI_CSR_INDIRECT_ADDR, addr); 262 return CSR_READ_4(sc, IWI_CSR_INDIRECT_DATA); 283 struct iwi_softc *sc = device_get_softc(dev); local 284 struct ieee80211com *ic = &sc->sc_ic; 288 sc 444 struct iwi_softc *sc = device_get_softc(dev); local 489 struct iwi_softc *sc = ic->ic_softc; local 548 iwi_alloc_cmd_ring(struct iwi_softc *sc, struct iwi_cmd_ring *ring, int count) argument 586 iwi_reset_cmd_ring(struct iwi_softc *sc, struct iwi_cmd_ring *ring) argument 593 iwi_free_cmd_ring(struct iwi_softc *sc, struct iwi_cmd_ring *ring) argument 607 iwi_alloc_tx_ring(struct iwi_softc *sc, struct iwi_tx_ring *ring, int count, bus_addr_t csr_ridx, bus_addr_t csr_widx) argument 673 iwi_reset_tx_ring(struct iwi_softc *sc, struct iwi_tx_ring *ring) argument 700 iwi_free_tx_ring(struct iwi_softc *sc, struct iwi_tx_ring *ring) argument 741 iwi_alloc_rx_ring(struct iwi_softc *sc, struct iwi_rx_ring *ring, int count) argument 801 iwi_reset_rx_ring(struct iwi_softc *sc, struct iwi_rx_ring *ring) argument 807 iwi_free_rx_ring(struct iwi_softc *sc, struct iwi_rx_ring *ring) argument 837 struct iwi_softc *sc = device_get_softc(dev); local 848 struct iwi_softc *sc = device_get_softc(dev); local 858 struct iwi_softc *sc = device_get_softc(dev); local 885 struct iwi_softc *sc = ic->ic_softc; local 929 struct iwi_softc *sc = ic->ic_softc; local 945 struct iwi_softc *sc = ic->ic_softc; local 1022 iwi_wme_init(struct iwi_softc *sc) argument 1048 iwi_wme_setparams(struct iwi_softc *sc) argument 1076 struct iwi_softc *sc = ic->ic_softc; local 1097 iwi_wme_setie(struct iwi_softc *sc) argument 1120 iwi_read_prom_word(struct iwi_softc *sc, uint8_t addr) argument 1172 iwi_setcurchan(struct iwi_softc *sc, int chan) argument 1181 iwi_frame_intr(struct iwi_softc *sc, struct iwi_rx_data *data, int i, struct iwi_frame *frame) argument 1359 iwi_notif_link_quality(struct iwi_softc *sc, struct iwi_notif *notif) argument 1390 iwi_notification_intr(struct iwi_softc *sc, struct iwi_notif *notif) argument 1568 iwi_rx_intr(struct iwi_softc *sc) argument 1611 iwi_tx_intr(struct iwi_softc *sc, struct iwi_tx_ring *txq) argument 1637 iwi_fatal_error_intr(struct iwi_softc *sc) argument 1653 iwi_radio_off_intr(struct iwi_softc *sc) argument 1662 struct iwi_softc *sc = arg; local 1723 iwi_cmd(struct iwi_softc *sc, uint8_t type, void *data, uint8_t len) argument 1758 iwi_write_ibssnode(struct iwi_softc *sc, const u_int8_t addr[IEEE80211_ADDR_LEN], int entry) argument 1775 iwi_tx_start(struct iwi_softc *sc, struct mbuf *m0, struct ieee80211_node *ni, int ac) argument 1949 struct iwi_softc *sc = ic->ic_softc; local 1969 iwi_start(struct iwi_softc *sc) argument 1999 struct iwi_softc *sc = arg; local 2035 struct iwi_softc *sc = ic->ic_softc; local 2056 struct iwi_softc *sc = ic->ic_softc; local 2084 iwi_stop_master(struct iwi_softc *sc) argument 2108 iwi_reset(struct iwi_softc *sc) argument 2149 iwi_setup_ofw(struct iwi_softc *sc, struct iwi_fw *fw) argument 2174 iwi_setup_oucode(struct iwi_softc *sc, struct iwi_fw *fw) argument 2213 iwi_get_firmware(struct iwi_softc *sc, enum ieee80211_opmode opmode) argument 2336 iwi_put_firmware(struct iwi_softc *sc) argument 2344 iwi_load_ucode(struct iwi_softc *sc, const struct iwi_fw *fw) argument 2419 iwi_load_firmware(struct iwi_softc *sc, const struct iwi_fw *fw) argument 2517 iwi_setpowermode(struct iwi_softc *sc, struct ieee80211vap *vap) argument 2532 iwi_setwepkeys(struct iwi_softc *sc, struct ieee80211vap *vap) argument 2557 iwi_set_rateset(struct iwi_softc *sc, const struct ieee80211_rateset *net_rs, int mode, int type) argument 2582 iwi_config(struct iwi_softc *sc) argument 2687 struct iwi_softc *sc = arg; local 2699 iwi_scanchan(struct iwi_softc *sc, unsigned long maxdwell, int allchan) argument 2815 iwi_set_sensitivity(struct iwi_softc *sc, int8_t rssi_dbm) argument 2827 iwi_auth_and_assoc(struct iwi_softc *sc, struct ieee80211vap *vap) argument 3000 struct iwi_softc *sc = arg; local 3009 iwi_disassociate(struct iwi_softc *sc, int quiet) argument 3034 iwi_release_fw_dma(struct iwi_softc *sc) argument 3057 iwi_init_fw_dma(struct iwi_softc *sc, int size) argument 3091 iwi_init_locked(struct iwi_softc *sc) argument 3177 struct iwi_softc *sc = priv; local 3192 struct iwi_softc *sc = priv; local 3226 iwi_stop(struct iwi_softc *sc) argument 3238 struct iwi_softc *sc = arg; local 3248 iwi_getrfkill(struct iwi_softc *sc) argument 3256 struct iwi_softc *sc = arg; local 3268 struct iwi_softc *sc = arg; local 3287 struct iwi_softc *sc = arg; local 3304 struct iwi_softc *sc = arg1; local 3321 struct iwi_softc *sc = arg1; local 3331 iwi_sysctlattach(struct iwi_softc *sc) argument 3371 iwi_read_event(struct iwi_softc *sc) argument 3377 iwi_write_event(struct iwi_softc *sc, uint32_t v) argument 3385 struct iwi_softc *sc = arg; local 3397 struct iwi_softc *sc = arg; local 3410 iwi_led_blink(struct iwi_softc *sc, int on, int off) argument 3423 iwi_led_event(struct iwi_softc *sc, int event) argument 3485 struct iwi_softc *sc = arg1; local 3505 iwi_ledattach(struct iwi_softc *sc) argument 3550 struct iwi_softc *sc = ic->ic_softc; local 3560 struct iwi_softc *sc = vap->iv_ic->ic_softc; local 3578 struct iwi_softc *sc = ic->ic_softc; local 3592 struct iwi_softc *sc = ic->ic_softc; local [all...] |
/haiku/src/add-ons/kernel/drivers/network/ether/rtl8125/dev/pci/ |
H A D | if_rge.c | 62 #define SC_DEV_FOR_PCI sc->sc_dev 208 struct rge_softc *sc = device_get_softc(dev); local 210 struct rge_softc *sc = (struct rge_softc *)self; 216 struct ifnet *ifp = &sc->sc_arpcom.ac_if; 224 sc->sc_dev = dev; 225 sc->sc_dmat = bus_get_dma_tag(sc->sc_dev); 226 bus_dma_tag_create(sc->sc_dmat, 1, 0, 229 &sc->sc_dmat); 230 pci_enable_busmaster(sc 433 struct rge_softc *sc = (struct rge_softc *)self; local 455 struct rge_softc *sc = arg; local 526 struct rge_softc *sc = q->q_sc; local 622 struct rge_softc *sc = ifp->if_softc; local 680 struct rge_softc *sc = ifp->if_softc; local 742 struct rge_softc *sc = ifp->if_softc; local 753 struct rge_softc *sc = ifp->if_softc; local 924 struct rge_softc *sc = ifp->if_softc; local 988 struct rge_softc *sc = ifp->if_softc; local 1055 struct rge_softc *sc = ifp->if_softc; local 1086 rge_allocmem(struct rge_softc *sc) argument 1198 struct rge_softc *sc = q->q_sc; local 1249 struct rge_softc *sc = q->q_sc; local 1293 struct rge_softc *sc = q->q_sc; local 1311 struct rge_softc *sc = q->q_sc; local 1436 struct rge_softc *sc = q->q_sc; local 1502 rge_reset(struct rge_softc *sc) argument 1540 rge_iff(struct rge_softc *sc) argument 1597 rge_set_phy_power(struct rge_softc *sc, int on) argument 1619 rge_phy_config(struct rge_softc *sc) argument 1665 rge_phy_config_mac_cfg2(struct rge_softc *sc) argument 1739 rge_phy_config_mac_cfg3(struct rge_softc *sc) argument 1843 rge_phy_config_mac_cfg4(struct rge_softc *sc) argument 2032 rge_phy_config_mac_cfg5(struct rge_softc *sc) argument 2074 rge_phy_config_mcu(struct rge_softc *sc, uint16_t mcode_version) argument 2138 rge_set_macaddr(struct rge_softc *sc, const uint8_t *addr) argument 2149 rge_get_macaddr(struct rge_softc *sc, uint8_t *addr) argument 2156 rge_hw_init(struct rge_softc *sc) argument 2200 rge_disable_phy_ocp_pwrsave(struct rge_softc *sc) argument 2211 rge_patch_phy_mcu(struct rge_softc *sc, int set) argument 2232 rge_add_media_types(struct rge_softc *sc) argument 2245 rge_config_imtype(struct rge_softc *sc, int imtype) argument 2260 rge_disable_hw_im(struct rge_softc *sc) argument 2266 rge_disable_sim_im(struct rge_softc *sc) argument 2273 rge_setup_sim_im(struct rge_softc *sc) argument 2281 rge_setup_intr(struct rge_softc *sc, int imtype) argument 2303 rge_exit_oob(struct rge_softc *sc) argument 2353 rge_write_csi(struct rge_softc *sc, uint32_t reg, uint32_t val) argument 2371 rge_read_csi(struct rge_softc *sc, uint32_t reg) argument 2390 rge_write_mac_ocp(struct rge_softc *sc, uint16_t reg, uint16_t val) argument 2401 rge_read_mac_ocp(struct rge_softc *sc, uint16_t reg) argument 2412 rge_write_ephy(struct rge_softc *sc, uint16_t reg, uint16_t val) argument 2431 rge_read_ephy(struct rge_softc *sc, uint16_t reg) argument 2452 rge_write_phy(struct rge_softc *sc, uint16_t addr, uint16_t reg, uint16_t val) argument 2467 rge_read_phy(struct rge_softc *sc, uint16_t addr, uint16_t reg) argument 2482 rge_write_phy_ocp(struct rge_softc *sc, uint16_t reg, uint16_t val) argument 2499 rge_read_phy_ocp(struct rge_softc *sc, uint16_t reg) argument 2518 rge_get_link_status(struct rge_softc *sc) argument 2526 struct rge_softc *sc = arg; local 2534 struct rge_softc *sc = arg; local 2545 rge_link_state(struct rge_softc *sc) argument 2567 struct rge_softc *sc = ifp->if_softc; local 2597 rge_wol_power(struct rge_softc *sc) argument 2672 struct rge_softc *sc = ks->ks_softc; local 2745 rge_kstat_attach(struct rge_softc *sc) argument [all...] |
/haiku/src/add-ons/kernel/drivers/network/wlan/broadcom43xx/dev/bwi/ |
H A D | if_bwi.c | 196 static int bwi_get_pwron_delay(struct bwi_softc *sc); 321 bwi_read_sprom(struct bwi_softc *sc, uint16_t ofs) argument 323 return CSR_READ_2(sc, ofs + BWI_SPROM_START); 327 bwi_setup_desc32(struct bwi_softc *sc, struct bwi_desc32 *desc_array, argument 356 bwi_attach(struct bwi_softc *sc) argument 358 struct ieee80211com *ic = &sc->sc_ic; 359 device_t dev = sc->sc_dev; 364 BWI_LOCK_INIT(sc); 369 sc->sc_tq = taskqueue_create("bwi_taskq", M_NOWAIT | M_ZERO, 370 taskqueue_thread_enqueue, &sc 561 bwi_detach(struct bwi_softc *sc) argument 626 bwi_suspend(struct bwi_softc *sc) argument 632 bwi_resume(struct bwi_softc *sc) argument 640 bwi_shutdown(struct bwi_softc *sc) argument 647 bwi_power_on(struct bwi_softc *sc, int with_pll) argument 686 bwi_power_off(struct bwi_softc *sc, int with_pll) argument 707 bwi_regwin_switch(struct bwi_softc *sc, struct bwi_regwin *rw, struct bwi_regwin **old_rw) argument 734 bwi_regwin_select(struct bwi_softc *sc, int id) argument 752 bwi_regwin_info(struct bwi_softc *sc, uint16_t *type, uint8_t *rev) argument 766 bwi_bbp_attach(struct bwi_softc *sc) argument 906 bwi_bus_init(struct bwi_softc *sc, struct bwi_mac *mac) argument 1004 bwi_get_card_flags(struct bwi_softc *sc) argument 1028 bwi_get_eaddr(struct bwi_softc *sc, uint16_t eaddr_ofs, uint8_t *eaddr) argument 1039 bwi_get_clock_freq(struct bwi_softc *sc, struct bwi_clock_freq *freq) argument 1102 bwi_set_clock_mode(struct bwi_softc *sc, enum bwi_clock_mode clk_mode) argument 1159 bwi_set_clock_delay(struct bwi_softc *sc) argument 1197 bwi_init(struct bwi_softc *sc) argument 1210 bwi_init_statechg(struct bwi_softc *sc, int statechg) argument 1289 struct bwi_softc *sc = ic->ic_softc; local 1329 struct bwi_softc *sc = ic->ic_softc; local 1348 bwi_start_locked(struct bwi_softc *sc) argument 1399 struct bwi_softc *sc = ic->ic_softc; local 1437 struct bwi_softc *sc; local 1450 bwi_stop(struct bwi_softc *sc, int statechg) argument 1458 bwi_stop_locked(struct bwi_softc *sc, int statechg) argument 1508 struct bwi_softc *sc = xsc; local 1679 struct bwi_softc *sc = ic->ic_softc; local 1691 struct bwi_softc *sc = ic->ic_softc; local 1726 struct bwi_softc *sc = ic->ic_softc; local 1743 struct bwi_softc *sc = ic->ic_softc; local 1755 struct bwi_softc *sc = ic->ic_softc; local 1815 bwi_dma_alloc(struct bwi_softc *sc) argument 1975 bwi_dma_free(struct bwi_softc *sc) argument 2013 bwi_dma_ring_alloc(struct bwi_softc *sc, bus_dma_tag_t dtag, struct bwi_ring_data *rd, bus_size_t size, uint32_t txrx_ctrl) argument 2042 bwi_dma_txstats_alloc(struct bwi_softc *sc, uint32_t ctrl_base, bus_size_t desc_sz) argument 2152 bwi_dma_txstats_free(struct bwi_softc *sc) argument 2184 bwi_dma_mbuf_create(struct bwi_softc *sc) argument 2270 bwi_dma_mbuf_destroy(struct bwi_softc *sc, int ntx, int nrx) argument 2315 bwi_enable_intrs(struct bwi_softc *sc, uint32_t enable_intrs) argument 2321 bwi_disable_intrs(struct bwi_softc *sc, uint32_t disable_intrs) argument 2327 bwi_init_tx_ring32(struct bwi_softc *sc, int ring_idx) argument 2360 bwi_init_rxdesc_ring32(struct bwi_softc *sc, uint32_t ctrl_base, bus_addr_t paddr, int hdr_size, int ndesc) argument 2383 bwi_init_rx_ring32(struct bwi_softc *sc) argument 2407 bwi_init_txstats32(struct bwi_softc *sc) argument 2433 bwi_setup_rx_desc32(struct bwi_softc *sc, int buf_idx, bus_addr_t paddr, int buf_len) argument 2444 bwi_setup_tx_desc32(struct bwi_softc *sc, struct bwi_ring_data *rd, int buf_idx, bus_addr_t paddr, int buf_len) argument 2453 bwi_init_tx_ring64(struct bwi_softc *sc, int ring_idx) argument 2460 bwi_init_rx_ring64(struct bwi_softc *sc) argument 2467 bwi_init_txstats64(struct bwi_softc *sc) argument 2474 bwi_setup_rx_desc64(struct bwi_softc *sc, int buf_idx, bus_addr_t paddr, int buf_len) argument 2481 bwi_setup_tx_desc64(struct bwi_softc *sc, struct bwi_ring_data *rd, int buf_idx, bus_addr_t paddr, int buf_len) argument 2498 bwi_newbuf(struct bwi_softc *sc, int buf_idx, int init) argument 2572 bwi_set_addr_filter(struct bwi_softc *sc, uint16_t addr_ofs, const uint8_t *addr) argument 2590 bwi_rxeof(struct bwi_softc *sc, int end_idx) argument 2688 bwi_rxeof32(struct bwi_softc *sc) argument 2708 bwi_rxeof64(struct bwi_softc *sc) argument 2715 bwi_reset_rx_ring32(struct bwi_softc *sc, uint32_t rx_ctrl) argument 2742 bwi_free_txstats32(struct bwi_softc *sc) argument 2748 bwi_free_rx_ring32(struct bwi_softc *sc) argument 2768 bwi_free_tx_ring32(struct bwi_softc *sc, int ring_idx) argument 2832 bwi_free_txstats64(struct bwi_softc *sc) argument 2838 bwi_free_rx_ring64(struct bwi_softc *sc) argument 2844 bwi_free_tx_ring64(struct bwi_softc *sc, int ring_idx) argument 2911 bwi_encap(struct bwi_softc *sc, int idx, struct mbuf *m, struct ieee80211_node *ni) argument 3102 bwi_encap_raw(struct bwi_softc *sc, int idx, struct mbuf *m, struct ieee80211_node *ni, const struct ieee80211_bpf_params *params) argument 3266 bwi_start_tx32(struct bwi_softc *sc, uint32_t tx_ctrl, int idx) argument 3274 bwi_start_tx64(struct bwi_softc *sc, uint32_t tx_ctrl, int idx) argument 3280 bwi_txeof_status32(struct bwi_softc *sc) argument 3300 bwi_txeof_status64(struct bwi_softc *sc) argument 3306 _bwi_txeof(struct bwi_softc *sc, uint16_t tx_id, int acked, int data_txcnt) argument 3370 bwi_txeof_status(struct bwi_softc *sc, int end_idx) argument 3396 bwi_txeof(struct bwi_softc *sc) argument 3424 bwi_bbp_power_on(struct bwi_softc *sc, enum bwi_clock_mode clk_mode) argument 3431 bwi_bbp_power_off(struct bwi_softc *sc) argument 3438 bwi_get_pwron_delay(struct bwi_softc *sc) argument 3465 bwi_bus_attach(struct bwi_softc *sc) argument 3503 bwi_regwin_disable_bits(struct bwi_softc *sc) argument 3521 bwi_regwin_is_enabled(struct bwi_softc *sc, struct bwi_regwin *rw) argument 3542 bwi_regwin_disable(struct bwi_softc *sc, struct bwi_regwin *rw, uint32_t flags) argument 3618 bwi_regwin_enable(struct bwi_softc *sc, struct bwi_regwin *rw, uint32_t flags) argument 3666 bwi_set_bssid(struct bwi_softc *sc, const uint8_t *bssid) argument 3699 struct bwi_softc *sc = ic->ic_softc; local 3718 struct bwi_softc *sc = xsc; local 3738 bwi_calc_rssi(struct bwi_softc *sc, const struct bwi_rxbuf_hdr *hdr) argument 3750 bwi_calc_noise(struct bwi_softc *sc) argument 3769 bwi_rx_radiotap(struct bwi_softc *sc, struct mbuf *m, struct bwi_rxbuf_hdr *hdr, const void *plcp, int rate, int rssi, int noise) argument 3789 bwi_led_attach(struct bwi_softc *sc) argument 3860 bwi_led_newstate(struct bwi_softc *sc, enum ieee80211_state nstate) argument 3919 bwi_led_event(struct bwi_softc *sc, int event) argument 3954 bwi_led_blink_start(struct bwi_softc *sc, int on_dur, int off_dur) argument 3977 struct bwi_softc *sc = xsc; local 3991 struct bwi_softc *sc = xsc; local 3998 struct bwi_softc *sc = xsc; local [all...] |
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ |
H A D | if_ath_tx.c | 123 static int ath_tx_node_is_asleep(struct ath_softc *sc, struct ath_node *an); 125 static int ath_tx_ampdu_pending(struct ath_softc *sc, struct ath_node *an, 127 static int ath_tx_ampdu_running(struct ath_softc *sc, struct ath_node *an, 129 static ieee80211_seq ath_tx_tid_seqno_assign(struct ath_softc *sc, 131 static int ath_tx_action_frame_override_queue(struct ath_softc *sc, 134 ath_tx_retry_clone(struct ath_softc *sc, struct ath_node *an, 139 ath_tx_alq_post(struct ath_softc *sc, struct ath_buf *bf_first) argument 152 n = ((bf->bf_nseg - 1) / sc->sc_tx_nmaps) + 1; 155 i++, ds += sc->sc_tx_desclen) { 156 if_ath_alq_post(&sc 170 ath_tx_is_11n(struct ath_softc *sc) argument 183 ath_tx_gettid(struct ath_softc *sc, const struct mbuf *m0) argument 198 ath_tx_set_retry(struct ath_softc *sc, struct ath_buf *bf) argument 235 ath_tx_getac(struct ath_softc *sc, const struct mbuf *m0) argument 256 ath_txfrag_cleanup(struct ath_softc *sc, ath_bufhead *frags, struct ieee80211_node *ni) argument 277 ath_txfrag_setup(struct ath_softc *sc, ath_bufhead *frags, struct mbuf *m0, struct ieee80211_node *ni) argument 302 ath_tx_dmasetup(struct ath_softc *sc, struct ath_buf *bf, struct mbuf *m0) argument 365 ath_tx_chaindesclist(struct ath_softc *sc, struct ath_desc *ds0, struct ath_buf *bf, bool is_aggr, int is_first_subframe, int is_last_subframe) argument 507 ath_tx_set_ratectrl(struct ath_softc *sc, struct ieee80211_node *ni, struct ath_buf *bf) argument 552 ath_tx_setds_11n(struct ath_softc *sc, struct ath_buf *bf_first) argument 699 ath_tx_handoff_mcast(struct ath_softc *sc, struct ath_txq *txq, struct ath_buf *bf) argument 742 ath_tx_handoff_hw(struct ath_softc *sc, struct ath_txq *txq, struct ath_buf *bf) argument 911 ath_legacy_tx_dma_restart(struct ath_softc *sc, struct ath_txq *txq) argument 960 ath_legacy_xmit_handoff(struct ath_softc *sc, struct ath_txq *txq, struct ath_buf *bf) argument 977 ath_tx_tag_crypto(struct ath_softc *sc, struct ieee80211_node *ni, struct mbuf *m0, int iswep, int isfrag, int *hdrlen, int *pktlen, int *keyix) argument 1046 ath_tx_calc_protection(struct ath_softc *sc, struct ath_buf *bf) argument 1119 ath_tx_calc_duration(struct ath_softc *sc, struct ath_buf *bf) argument 1259 ath_tx_set_rtscts(struct ath_softc *sc, struct ath_buf *bf) argument 1331 ath_tx_setds(struct ath_softc *sc, struct ath_buf *bf) argument 1379 ath_tx_do_ratelookup(struct ath_softc *sc, struct ath_buf *bf, int tid, int pktlen, int is_aggr) argument 1418 ath_tx_update_clrdmask(struct ath_softc *sc, struct ath_tid *tid, struct ath_buf *bf) argument 1444 ath_tx_should_swq_frame(struct ath_softc *sc, struct ath_node *an, struct mbuf *m0, int *queue_to_head) argument 1505 ath_tx_xmit_normal(struct ath_softc *sc, struct ath_txq *txq, struct ath_buf *bf) argument 1555 ath_tx_normal_setup(struct ath_softc *sc, struct ieee80211_node *ni, struct ath_buf *bf, struct mbuf *m0, struct ath_txq *txq) argument 1904 ath_tx_start(struct ath_softc *sc, struct ieee80211_node *ni, struct ath_buf *bf, struct mbuf *m0) argument 2139 ath_tx_raw_start(struct ath_softc *sc, struct ieee80211_node *ni, struct ath_buf *bf, struct mbuf *m0, const struct ieee80211_bpf_params *params) argument 2424 struct ath_softc *sc = ic->ic_softc; local 2607 ath_tx_action_frame_override_queue(struct ath_softc *sc, struct ieee80211_node *ni, struct mbuf *m0, int *tid) argument 2657 ath_tx_addto_baw(struct ath_softc *sc, struct ath_node *an, struct ath_tid *tid, struct ath_buf *bf) argument 2748 ath_tx_switch_baw_buf(struct ath_softc *sc, struct ath_node *an, struct ath_tid *tid, struct ath_buf *old_bf, struct ath_buf *new_bf) argument 2795 ath_tx_update_baw(struct ath_softc *sc, struct ath_node *an, struct ath_tid *tid, const struct ath_buf *bf) argument 2846 ath_tx_leak_count_update(struct ath_softc *sc, struct ath_tid *tid, struct ath_buf *bf) argument 2886 ath_tx_tid_can_tx_or_sched(struct ath_softc *sc, struct ath_tid *tid) argument 2908 ath_tx_tid_sched(struct ath_softc *sc, struct ath_tid *tid) argument 2961 ath_tx_tid_unsched(struct ath_softc *sc, struct ath_tid *tid) argument 2984 ath_tx_tid_seqno_assign(struct ath_softc *sc, struct ieee80211_node *ni, struct ath_buf *bf, struct mbuf *m0) argument 3048 ath_tx_xmit_aggr(struct ath_softc *sc, struct ath_node *an, struct ath_txq *txq, struct ath_buf *bf) argument 3137 ath_tx_swq(struct ath_softc *sc, struct ieee80211_node *ni, struct ath_txq *txq, int queue_to_head, struct ath_buf *bf) argument 3296 ath_tx_set_clrdmask(struct ath_softc *sc, struct ath_node *an) argument 3318 ath_tx_tid_init(struct ath_softc *sc, struct ath_node *an) argument 3356 ath_tx_tid_pause(struct ath_softc *sc, struct ath_tid *tid) argument 3372 ath_tx_tid_resume(struct ath_softc *sc, struct ath_tid *tid) argument 3430 ath_tx_tid_filt_addbuf(struct ath_softc *sc, struct ath_tid *tid, struct ath_buf *bf) argument 3455 ath_tx_tid_filt_comp_buf(struct ath_softc *sc, struct ath_tid *tid, struct ath_buf *bf) argument 3480 ath_tx_tid_filt_comp_complete(struct ath_softc *sc, struct ath_tid *tid) argument 3523 ath_tx_tid_filt_comp_single(struct ath_softc *sc, struct ath_tid *tid, struct ath_buf *bf) argument 3574 ath_tx_tid_filt_comp_aggr(struct ath_softc *sc, struct ath_tid *tid, struct ath_buf *bf_first, ath_bufhead *bf_q) argument 3633 ath_tx_tid_bar_suspend(struct ath_softc *sc, struct ath_tid *tid) argument 3667 ath_tx_tid_bar_unsuspend(struct ath_softc *sc, struct ath_tid *tid) argument 3696 ath_tx_tid_bar_tx_ready(struct ath_softc *sc, struct ath_tid *tid) argument 3727 ath_tx_tid_bar_tx(struct ath_softc *sc, struct ath_tid *tid) argument 3808 ath_tx_tid_drain_pkt(struct ath_softc *sc, struct ath_node *an, struct ath_tid *tid, ath_bufhead *bf_cq, struct ath_buf *bf) argument 3848 ath_tx_tid_drain_print(struct ath_softc *sc, struct ath_node *an, const char *pfx, struct ath_tid *tid, struct ath_buf *bf) argument 3930 ath_tx_tid_drain(struct ath_softc *sc, struct ath_node *an, struct ath_tid *tid, ath_bufhead *bf_cq) argument 4020 ath_tx_tid_reset(struct ath_softc *sc, struct ath_tid *tid) argument 4089 ath_tx_node_flush(struct ath_softc *sc, struct ath_node *an) argument 4144 ath_tx_txq_drain(struct ath_softc *sc, struct ath_txq *txq) argument 4188 ath_tx_normal_comp(struct ath_softc *sc, struct ath_buf *bf, int fail) argument 4275 ath_tx_comp_cleanup_unaggr(struct ath_softc *sc, struct ath_buf *bf) argument 4315 ath_tx_tid_cleanup_frame(struct ath_softc *sc, struct ath_node *an, int tid, struct ath_buf *bf_head, ath_bufhead *bf_cq) argument 4380 ath_tx_tid_cleanup(struct ath_softc *sc, struct ath_node *an, int tid, ath_bufhead *bf_cq) argument 4451 ath_tx_retry_clone(struct ath_softc *sc, struct ath_node *an, struct ath_tid *tid, struct ath_buf *bf) argument 4517 ath_tx_aggr_retry_unaggr(struct ath_softc *sc, struct ath_buf *bf) argument 4607 ath_tx_retry_subframe(struct ath_softc *sc, struct ath_buf *bf, ath_bufhead *bf_q) argument 4673 ath_tx_comp_aggr_error(struct ath_softc *sc, struct ath_buf *bf_first, struct ath_tid *tid) argument 4759 ath_tx_comp_cleanup_aggr(struct ath_softc *sc, struct ath_buf *bf_first) argument 4822 ath_tx_aggr_comp_aggr(struct ath_softc *sc, struct ath_buf *bf_first, int fail) argument 5165 ath_tx_aggr_comp_unaggr(struct ath_softc *sc, struct ath_buf *bf, int fail) argument 5354 ath_tx_aggr_comp(struct ath_softc *sc, struct ath_buf *bf, int fail) argument 5371 ath_tx_tid_swq_depth_bytes(struct ath_softc *sc, struct ath_node *an, struct ath_tid *tid) argument 5427 ath_tx_tid_hw_queue_aggr(struct ath_softc *sc, struct ath_node *an, struct ath_tid *tid) argument 5658 ath_tx_tid_hw_queue_norm(struct ath_softc *sc, struct ath_node *an, struct ath_tid *tid) argument 5750 ath_txq_sched(struct ath_softc *sc, struct ath_txq *txq) argument 5873 ath_tx_ampdu_running(struct ath_softc *sc, struct ath_node *an, int tid) argument 5891 ath_tx_ampdu_pending(struct ath_softc *sc, struct ath_node *an, int tid) argument 5921 struct ath_softc *sc = ni->ni_ic->ic_softc; local 5999 struct ath_softc *sc = ni->ni_ic->ic_softc; local 6045 struct ath_softc *sc = ni->ni_ic->ic_softc; local 6121 ath_tx_node_reassoc(struct ath_softc *sc, struct ath_node *an) argument 6180 struct ath_softc *sc = ni->ni_ic->ic_softc; local 6253 struct ath_softc *sc = ni->ni_ic->ic_softc; local 6282 ath_tx_node_is_asleep(struct ath_softc *sc, struct ath_node *an) argument 6309 ath_tx_node_sleep(struct ath_softc *sc, struct ath_node *an) argument 6346 ath_tx_node_wakeup(struct ath_softc *sc, struct ath_node *an) argument 6382 ath_legacy_dma_txsetup(struct ath_softc *sc) argument 6390 ath_legacy_dma_txteardown(struct ath_softc *sc) argument 6398 ath_xmit_setup_legacy(struct ath_softc *sc) argument [all...] |
H A D | if_ath_descdma.h | 34 extern int ath_descdma_alloc_desc(struct ath_softc *sc, 37 extern int ath_descdma_setup(struct ath_softc *sc, struct ath_descdma *dd, 40 extern int ath_descdma_setup_rx_edma(struct ath_softc *sc, 43 extern void ath_descdma_cleanup(struct ath_softc *sc,
|
H A D | if_ath_tdma.c | 128 static void ath_tdma_settimers(struct ath_softc *sc, u_int32_t nexttbtt, 130 static void ath_tdma_bintvalsetup(struct ath_softc *sc, 136 ath_tdma_settimers(struct ath_softc *sc, u_int32_t nexttbtt, u_int32_t bintval) argument 138 struct ath_hal *ah = sc->sc_ah; 143 bt.bt_nextdba = (nexttbtt<<3) - sc->sc_tdmadbaprep; 144 bt.bt_nextswba = (nexttbtt<<3) - sc->sc_tdmaswbaprep; 149 DPRINTF(sc, ATH_DEBUG_TDMA_TIMER, 165 if (if_ath_alq_checkdebug(&sc->sc_alq, ATH_ALQ_TDMA_TIMER_SET)) { 173 t.sc_tdmadbaprep = htobe32(sc->sc_tdmadbaprep); 174 t.sc_tdmaswbaprep = htobe32(sc 206 ath_tdma_bintvalsetup(struct ath_softc *sc, const struct ieee80211_tdma_state *tdma) argument 252 ath_tdma_config(struct ath_softc *sc, struct ieee80211vap *vap) argument 364 struct ath_softc *sc = ic->ic_softc; local 616 ath_tdma_beacon_send(struct ath_softc *sc, struct ieee80211vap *vap) argument [all...] |
/haiku/src/add-ons/kernel/drivers/network/ether/rtl8139/ |
H A D | glue.c | 18 struct rl_softc *sc = device_get_softc(dev); local 21 status = CSR_READ_2(sc, RL_ISR); 25 CSR_WRITE_2(sc, RL_ISR, status); 31 CSR_WRITE_2(sc, RL_IMR, 0); 39 struct rl_softc *sc = device_get_softc(dev); local 40 RL_LOCK(sc); 41 CSR_WRITE_2(sc, RL_IMR, RL_INTRS); 42 RL_UNLOCK(sc);
|
/haiku/src/add-ons/kernel/drivers/network/ether/broadcom440x/ |
H A D | glue.c | 38 struct bfe_softc *sc = device_get_softc(dev); local 44 istat = CSR_READ_4(sc, BFE_ISTAT); 45 if (istat == 0 || (sc->bfe_ifp->if_drv_flags & IFF_DRV_RUNNING) == 0) { 50 CSR_WRITE_4(sc, BFE_IMASK, 0); 51 CSR_READ_4(sc, BFE_IMASK); 61 struct bfe_softc *sc = device_get_softc(dev); local 62 CSR_WRITE_4(sc, BFE_IMASK, BFE_IMASK_DEF); 63 CSR_READ_4(sc, BFE_IMASK);
|
/haiku/src/add-ons/kernel/drivers/network/ether/attansic_l1/dev/age/ |
H A D | if_age.c | 134 static void age_rxeof(struct age_softc *sc, struct rx_rdesc *); 216 struct age_softc *sc; local 220 sc = device_get_softc(dev); 222 CSR_WRITE_4(sc, AGE_MDIO, MDIO_OP_EXECUTE | MDIO_OP_READ | 226 v = CSR_READ_4(sc, AGE_MDIO); 232 device_printf(sc->age_dev, "phy read timeout : %d\n", reg); 245 struct age_softc *sc; local 249 sc = device_get_softc(dev); 251 CSR_WRITE_4(sc, AGE_MDIO, MDIO_OP_EXECUTE | MDIO_OP_WRITE | 256 v = CSR_READ_4(sc, AGE_MDI 273 struct age_softc *sc; local 285 struct age_softc *sc; local 304 struct age_softc *sc; local 342 age_get_macaddr(struct age_softc *sc) argument 387 age_phy_reset(struct age_softc *sc) argument 467 struct age_softc *sc; local 686 struct age_softc *sc; local 746 age_sysctl_node(struct age_softc *sc) argument 752 "stats", CTLTYPE_INT | CTLFLAG_RW, sc, 0, sysctl_age_stats, local 821 age_check_boundary(struct age_softc *sc) argument 855 age_dma_alloc(struct age_softc *sc) argument 1196 age_dma_free(struct age_softc *sc) argument 1325 age_setwol(struct age_softc *sc) argument 1459 struct age_softc *sc; local 1474 struct age_softc *sc; local 1491 age_encap(struct age_softc *sc, struct mbuf **m_head) argument 1729 struct age_softc *sc; local 1740 struct age_softc *sc; local 1786 age_watchdog(struct age_softc *sc) argument 1821 struct age_softc *sc; local 1934 age_mac_config(struct age_softc *sc) argument 1972 struct age_softc *sc; local 2020 age_stats_update(struct age_softc *sc) argument 2121 struct age_softc *sc; local 2139 struct age_softc *sc; local 2209 age_txintr(struct age_softc *sc, int tpd_cons) argument 2308 age_rxeof(struct age_softc *sc, struct rx_rdesc *rxrd) argument 2457 age_rxintr(struct age_softc *sc, int rr_prod, int count) argument 2521 struct age_softc *sc; local 2535 age_reset(struct age_softc *sc) argument 2559 struct age_softc *sc; local 2568 age_init_locked(struct age_softc *sc) argument 2850 age_stop(struct age_softc *sc) argument 2927 age_stop_txmac(struct age_softc *sc) argument 2956 age_stop_rxmac(struct age_softc *sc) argument 2985 age_init_tx_ring(struct age_softc *sc) argument 3011 age_init_rx_ring(struct age_softc *sc) argument 3038 age_init_rr_ring(struct age_softc *sc) argument 3055 age_init_cmb_block(struct age_softc *sc) argument 3069 age_init_smb_block(struct age_softc *sc) argument 3083 age_newbuf(struct age_softc *sc, struct age_rxdesc *rxd) argument 3128 age_rxvlan(struct age_softc *sc) argument 3144 age_rxfilter(struct age_softc *sc) argument 3192 struct age_softc *sc; local [all...] |
/haiku/src/add-ons/kernel/drivers/network/wlan/iaxwifi200/dev/pci/ |
H A D | if_iwx.c | 140 #define SC_DEV_FOR_PCI sc->sc_dev 318 int iwx_disable_txq(struct iwx_softc *sc, int, int, uint8_t); 414 int iwx_drain_sta(struct iwx_softc *sc, struct iwx_node *, int); 536 iwx_lookup_cmd_ver(struct iwx_softc *sc, uint8_t grp, uint8_t cmd) argument 541 for (i = 0; i < sc->n_cmd_versions; i++) { 542 entry = &sc->cmd_versions[i]; 551 iwx_lookup_notif_ver(struct iwx_softc *sc, uint8_t grp, uint8_t cmd) argument 556 for (i = 0; i < sc->n_cmd_versions; i++) { 557 entry = &sc->cmd_versions[i]; 586 iwx_store_cscheme(struct iwx_softc *sc, uint8_ argument 600 iwx_ctxt_info_alloc_dma(struct iwx_softc *sc, const struct iwx_fw_onesect *sec, struct iwx_dma_info *dram) argument 615 iwx_ctxt_info_free_paging(struct iwx_softc *sc) argument 648 iwx_init_fw_sec(struct iwx_softc *sc, const struct iwx_fw_sects *fws, struct iwx_context_info_dram *ctxt_dram) argument 751 iwx_alloc_fw_monitor_block(struct iwx_softc *sc, uint8_t max_power, uint8_t min_power) argument 788 iwx_alloc_fw_monitor(struct iwx_softc *sc, uint8_t max_power) argument 810 iwx_apply_debug_destination(struct iwx_softc *sc) argument 893 iwx_set_ltr(struct iwx_softc *sc) argument 923 iwx_ctxt_info_init(struct iwx_softc *sc, const struct iwx_fw_sects *fws) argument 1000 iwx_ctxt_info_gen3_init(struct iwx_softc *sc, const struct iwx_fw_sects *fws) argument 1102 iwx_ctxt_info_free_fw_img(struct iwx_softc *sc) argument 1121 iwx_firmware_store_section(struct iwx_softc *sc, enum iwx_ucode_type type, uint8_t *data, size_t dlen) argument 1162 iwx_set_default_calib(struct iwx_softc *sc, const void *data) argument 1194 iwx_read_firmware(struct iwx_softc *sc) argument 1633 iwx_prph_addr_mask(struct iwx_softc *sc) argument 1642 iwx_read_prph_unlocked(struct iwx_softc *sc, uint32_t addr) argument 1651 iwx_read_prph(struct iwx_softc *sc, uint32_t addr) argument 1658 iwx_write_prph_unlocked(struct iwx_softc *sc, uint32_t addr, uint32_t val) argument 1667 iwx_write_prph(struct iwx_softc *sc, uint32_t addr, uint32_t val) argument 1674 iwx_write_prph64(struct iwx_softc *sc, uint64_t addr, uint64_t val) argument 1681 iwx_read_umac_prph_unlocked(struct iwx_softc *sc, uint32_t addr) argument 1687 iwx_read_umac_prph(struct iwx_softc *sc, uint32_t addr) argument 1693 iwx_write_umac_prph_unlocked(struct iwx_softc *sc, uint32_t addr, uint32_t val) argument 1699 iwx_write_umac_prph(struct iwx_softc *sc, uint32_t addr, uint32_t val) argument 1705 iwx_read_mem(struct iwx_softc *sc, uint32_t addr, void *buf, int dwords) argument 1722 iwx_write_mem(struct iwx_softc *sc, uint32_t addr, const void *buf, int dwords) argument 1742 iwx_write_mem32(struct iwx_softc *sc, uint32_t addr, uint32_t val) argument 1748 iwx_poll_bit(struct iwx_softc *sc, int reg, uint32_t bits, uint32_t mask, int timo) argument 1764 iwx_nic_lock(struct iwx_softc *sc) argument 1790 iwx_nic_assert_locked(struct iwx_softc *sc) argument 1797 iwx_nic_unlock(struct iwx_softc *sc) argument 1808 iwx_set_bits_mask_prph(struct iwx_softc *sc, uint32_t reg, uint32_t bits, uint32_t mask) argument 1824 iwx_set_bits_prph(struct iwx_softc *sc, uint32_t reg, uint32_t bits) argument 1830 iwx_clear_bits_prph(struct iwx_softc *sc, uint32_t reg, uint32_t bits) argument 1898 iwx_alloc_rx_ring(struct iwx_softc *sc, struct iwx_rx_ring *ring) argument 1968 iwx_disable_rx_dma(struct iwx_softc *sc) argument 1994 iwx_reset_rx_ring(struct iwx_softc *sc, struct iwx_rx_ring *ring) argument 2010 iwx_free_rx_ring(struct iwx_softc *sc, struct iwx_rx_ring *ring) argument 2034 iwx_alloc_tx_ring(struct iwx_softc *sc, struct iwx_tx_ring *ring, int qid) argument 2131 iwx_reset_tx_ring(struct iwx_softc *sc, struct iwx_tx_ring *ring) argument 2171 iwx_free_tx_ring(struct iwx_softc *sc, struct iwx_tx_ring *ring) argument 2195 iwx_enable_rfkill_int(struct iwx_softc *sc) argument 2213 iwx_check_rfkill(struct iwx_softc *sc) argument 2237 iwx_enable_interrupts(struct iwx_softc *sc) argument 2257 iwx_enable_fwload_interrupt(struct iwx_softc *sc) argument 2277 iwx_restore_interrupts(struct iwx_softc *sc) argument 2283 iwx_disable_interrupts(struct iwx_softc *sc) argument 2300 iwx_ict_reset(struct iwx_softc *sc) argument 2323 iwx_set_hw_ready(struct iwx_softc *sc) argument 2343 iwx_prepare_card_hw(struct iwx_softc *sc) argument 2373 iwx_force_power_gating(struct iwx_softc *sc) argument 2394 iwx_apm_config(struct iwx_softc *sc) argument 2423 iwx_apm_init(struct iwx_softc *sc) argument 2472 iwx_apm_stop(struct iwx_softc *sc) argument 2501 iwx_init_msix_hw(struct iwx_softc *sc) argument 2515 iwx_conf_msix_hw(struct iwx_softc *sc, int stopped) argument 2603 iwx_clear_persistence_bit(struct iwx_softc *sc) argument 2623 iwx_start_hw(struct iwx_softc *sc) argument 2676 iwx_stop_device(struct iwx_softc *sc) argument 2737 iwx_nic_config(struct iwx_softc *sc) argument 2774 iwx_nic_rx_init(struct iwx_softc *sc) argument 2786 iwx_nic_init(struct iwx_softc *sc) argument 2824 iwx_enable_txq(struct iwx_softc *sc, int sta_id, int qid, int tid, int num_slots) argument 2913 iwx_disable_txq(struct iwx_softc *sc, int sta_id, int qid, uint8_t tid) argument 2972 iwx_post_alive(struct iwx_softc *sc) argument 2988 iwx_schedule_session_protection(struct iwx_softc *sc, struct iwx_node *in, uint32_t duration_tu) argument 3009 iwx_unprotect_session(struct iwx_softc *sc, struct iwx_node *in) argument 3035 iwx_fw_valid_tx_ant(struct iwx_softc *sc) argument 3049 iwx_fw_valid_rx_ant(struct iwx_softc *sc) argument 3063 iwx_init_channel_map(struct iwx_softc *sc, uint16_t *channel_profile_v3, uint32_t *channel_profile_v4, int nchan_profile) argument 3139 iwx_mimo_enabled(struct iwx_softc *sc) argument 3148 iwx_setup_ht_rates(struct iwx_softc *sc) argument 3169 iwx_setup_vht_rates(struct iwx_softc *sc) argument 3213 iwx_clear_reorder_buffer(struct iwx_softc *sc, struct iwx_rxba_data *rxba) argument 3238 struct iwx_softc *sc = rxba->sc; local 3263 iwx_rx_bar_frame_release(struct iwx_softc *sc, struct iwx_rx_packet *pkt, struct mbuf_list *ml) argument 3304 struct iwx_softc *sc = rxba->sc; local 3362 iwx_find_rxba_data(struct iwx_softc *sc, uint8_t tid) argument 3378 iwx_sta_rx_agg_baid_cfg_cmd(struct iwx_softc *sc, struct ieee80211_node *ni, uint8_t tid, uint16_t ssn, uint16_t winsize, int timeout_val, int start, uint8_t *baid) argument 3429 iwx_sta_rx_agg_sta_cmd(struct iwx_softc *sc, struct ieee80211_node *ni, uint8_t tid, uint16_t ssn, uint16_t winsize, int timeout_val, int start, uint8_t *baid) argument 3488 iwx_sta_rx_agg(struct iwx_softc *sc, struct ieee80211_node *ni, uint8_t tid, uint16_t ssn, uint16_t winsize, int timeout_val, int start) argument 3556 struct iwx_softc *sc = arg; local 3581 struct iwx_softc *sc = arg; local 3625 struct iwx_softc *sc = ic->ic_softc; local 3635 struct iwx_softc *sc = ic->ic_softc; local 3645 struct iwx_softc *sc = ic->ic_softc; local 3655 struct iwx_softc *sc = ic->ic_softc; local 3665 struct iwx_softc *sc = ic->ic_softc; local 3673 iwx_sta_tx_agg_start(struct iwx_softc *sc, struct ieee80211_node *ni, uint8_t tid) argument 3731 struct iwx_softc *sc = arg; local 3772 struct iwx_softc *sc = IC2IFP(ic)->if_softc; local 3795 struct iwx_softc *sc = IC2IFP(ic)->if_softc; local 3808 struct iwx_softc *sc = IC2IFP(ic)->if_softc; local 3841 iwx_set_mac_addr_from_csr(struct iwx_softc *sc, struct iwx_nvm_data *data) argument 3899 iwx_nvm_get(struct iwx_softc *sc) argument 3986 iwx_load_firmware(struct iwx_softc *sc) argument 4023 iwx_start_fw(struct iwx_softc *sc) argument 4051 iwx_pnvm_handle_section(struct iwx_softc *sc, const uint8_t *data, size_t len) argument 4160 iwx_pnvm_parse(struct iwx_softc *sc, const uint8_t *data, size_t len) argument 4199 iwx_ctxt_info_gen3_set_pnvm(struct iwx_softc *sc) argument 4222 iwx_load_pnvm(struct iwx_softc *sc) argument 4284 iwx_send_tx_ant_cfg(struct iwx_softc *sc, uint8_t valid_tx_ant) argument 4295 iwx_send_phy_cfg_cmd(struct iwx_softc *sc) argument 4310 iwx_send_dqa_cmd(struct iwx_softc *sc) argument 4322 iwx_load_ucode_wait_alive(struct iwx_softc *sc) argument 4346 iwx_run_init_mvm_ucode(struct iwx_softc *sc, int readnvm) argument 4413 iwx_config_ltr(struct iwx_softc *sc) argument 4426 iwx_update_rx_desc(struct iwx_softc *sc, struct iwx_rx_ring *ring, int idx) argument 4447 iwx_rx_addbuf(struct iwx_softc *sc, int size, int idx) argument 4494 iwx_rxmq_get_signal_strength(struct iwx_softc *sc, struct iwx_rx_mpdu_desc *desc) argument 4512 iwx_rx_rx_phy_cmd(struct iwx_softc *sc, struct iwx_rx_packet *pkt, struct iwx_rx_data *data) argument 4545 iwx_ccmp_decap(struct iwx_softc *sc, struct mbuf *m, struct ieee80211_node *ni, struct ieee80211_rxinfo *rxi) argument 4603 iwx_rx_hwdecrypt(struct iwx_softc *sc, struct mbuf *m, uint32_t rx_pkt_status, struct ieee80211_rxinfo *rxi) argument 4658 iwx_rx_frame(struct iwx_softc *sc, struct mbuf *m, int chanidx, uint32_t rx_pkt_status, int is_shortpre, int rate_n_flags, uint32_t device_timestamp, struct ieee80211_rxinfo *rxi, struct mbuf_list *ml) argument 4770 iwx_detect_duplicate(struct iwx_softc *sc, struct mbuf *m, struct iwx_rx_mpdu_desc *desc, struct ieee80211_rxinfo *rxi) argument 4834 iwx_release_frames(struct iwx_softc *sc, struct ieee80211_node *ni, struct iwx_rxba_data *rxba, struct iwx_reorder_buffer *reorder_buf, uint16_t nssn, struct mbuf_list *ml) argument 4892 iwx_oldsn_workaround(struct iwx_softc *sc, struct ieee80211_node *ni, int tid, struct iwx_reorder_buffer *buffer, uint32_t reorder_data, uint32_t gp2) argument 4945 iwx_rx_reorder(struct iwx_softc *sc, struct mbuf *m, int chanidx, struct iwx_rx_mpdu_desc *desc, int is_shortpre, int rate_n_flags, uint32_t device_timestamp, struct ieee80211_rxinfo *rxi, struct mbuf_list *ml) argument 5141 iwx_rx_mpdu_mq(struct iwx_softc *sc, struct mbuf *m, void *pktdata, size_t maxlen, struct mbuf_list *ml) argument 5305 iwx_clear_tx_desc(struct iwx_softc *sc, struct iwx_tx_ring *ring, int idx) argument 5324 iwx_txd_done(struct iwx_softc *sc, struct iwx_tx_data *txd) argument 5340 iwx_txq_advance(struct iwx_softc *sc, struct iwx_tx_ring *ring, uint16_t idx) argument 5358 iwx_rx_tx_cmd(struct iwx_softc *sc, struct iwx_rx_packet *pkt, struct iwx_rx_data *data) argument 5408 iwx_clear_oactive(struct iwx_softc *sc, struct iwx_tx_ring *ring) argument 5428 iwx_rx_compressed_ba(struct iwx_softc *sc, struct iwx_rx_packet *pkt) argument 5484 iwx_rx_bmiss(struct iwx_softc *sc, struct iwx_rx_packet *pkt, struct iwx_rx_data *data) argument 5517 iwx_binding_cmd(struct iwx_softc *sc, struct iwx_node *in, uint32_t action) argument 5592 iwx_phy_ctxt_cmd_uhb_v3_v4(struct iwx_softc *sc, struct iwx_phy_ctxt *ctxt, uint8_t chains_static, uint8_t chains_dynamic, uint32_t action, uint8_t sco, uint8_t vht_chan_width, int cmdver) argument 5652 iwx_phy_ctxt_cmd_v3_v4(struct iwx_softc *sc, struct iwx_phy_ctxt *ctxt, uint8_t chains_static, uint8_t chains_dynamic, uint32_t action, uint8_t sco, uint8_t vht_chan_width, int cmdver) argument 5712 iwx_phy_ctxt_cmd(struct iwx_softc *sc, struct iwx_phy_ctxt *ctxt, uint8_t chains_static, uint8_t chains_dynamic, uint32_t action, uint32_t apply_time, uint8_t sco, uint8_t vht_chan_width) argument 5742 iwx_send_cmd(struct iwx_softc *sc, struct iwx_host_cmd *hcmd) argument 5911 iwx_send_cmd_pdu(struct iwx_softc *sc, uint32_t id, uint32_t flags, uint16_t len, const void *data) argument 5925 iwx_send_cmd_status(struct iwx_softc *sc, struct iwx_host_cmd *cmd, uint32_t *status) argument 5957 iwx_send_cmd_pdu_status(struct iwx_softc *sc, uint32_t id, uint16_t len, const void *data, uint32_t *status) argument 5970 iwx_free_resp(struct iwx_softc *sc, struct iwx_host_cmd *hcmd) argument 5978 iwx_cmd_done(struct iwx_softc *sc, int qid, int idx, int code) argument 6041 iwx_tx_fill_cmd(struct iwx_softc *sc, struct iwx_node *in, struct ieee80211_frame *wh, uint16_t *flags, uint32_t *rate_n_flags) argument 6115 iwx_tx_update_byte_tbl(struct iwx_softc *sc, struct iwx_tx_ring *txq, int idx, uint16_t byte_cnt, uint16_t num_tbs) argument 6152 iwx_tx(struct iwx_softc *sc, struct mbuf *m, struct ieee80211_node *ni) argument 6382 iwx_flush_sta_tids(struct iwx_softc *sc, int sta_id, uint16_t tids) argument 6452 iwx_drain_sta(struct iwx_softc *sc, struct iwx_node* in, int drain) argument 6489 iwx_flush_sta(struct iwx_softc *sc, struct iwx_node *in) argument 6517 iwx_beacon_filter_send_cmd(struct iwx_softc *sc, struct iwx_beacon_filter_cmd *cmd) argument 6525 iwx_update_beacon_abort(struct iwx_softc *sc, struct iwx_node *in, int enable) argument 6541 iwx_power_build_cmd(struct iwx_softc *sc, struct iwx_node *in, struct iwx_mac_power_cmd *cmd) argument 6571 iwx_power_mac_update_mode(struct iwx_softc *sc, struct iwx_node *in) argument 6592 iwx_power_update_device(struct iwx_softc *sc) argument 6605 iwx_enable_beacon_filter(struct iwx_softc *sc, struct iwx_node *in) argument 6622 iwx_disable_beacon_filter(struct iwx_softc *sc) argument 6637 iwx_add_sta_cmd(struct iwx_softc *sc, struct iwx_node *in, int update) argument 6755 iwx_rm_sta_cmd(struct iwx_softc *sc, struct iwx_node *in) argument 6777 iwx_rm_sta(struct iwx_softc *sc, struct iwx_node *in) argument 6844 iwx_umac_scan_fill_channels(struct iwx_softc *sc, struct iwx_scan_channel_cfg_umac *chan, size_t chan_nitems, int n_ssids, uint32_t channel_cfg_flags) argument 6887 iwx_fill_probe_req(struct iwx_softc *sc, struct iwx_scan_probe_req *preq) argument 6989 iwx_config_umac_scan_reduced(struct iwx_softc *sc) argument 7023 iwx_scan_umac_flags_v2(struct iwx_softc *sc, int bgscan) argument 7057 iwx_scan_umac_dwell_v10(struct iwx_softc *sc, struct iwx_scan_general_params_v10 *general_params, int bgscan) argument 7102 iwx_scan_umac_fill_general_p_v10(struct iwx_softc *sc, struct iwx_scan_general_params_v10 *gp, uint16_t gen_flags, int bgscan) argument 7118 iwx_scan_umac_fill_ch_p_v6(struct iwx_softc *sc, struct iwx_scan_channel_params_v6 *cp, uint32_t channel_cfg_flags, int n_ssid) argument 7132 iwx_umac_scan_v14(struct iwx_softc *sc, int bgscan) argument 7192 iwx_mcc_update(struct iwx_softc *sc, struct iwx_mcc_chub_notif *notif) argument 7240 iwx_ack_rates(struct iwx_softc *sc, struct iwx_node *in, int *cck_rates, int *ofdm_rates) argument 7326 iwx_mac_ctxt_cmd_common(struct iwx_softc *sc, struct iwx_node *in, struct iwx_mac_ctx_cmd *cmd, uint32_t action) argument 7416 iwx_mac_ctxt_cmd_fill_sta(struct iwx_softc *sc, struct iwx_node *in, struct iwx_mac_data_sta *sta, int assoc) argument 7441 iwx_mac_ctxt_cmd(struct iwx_softc *sc, struct iwx_node *in, uint32_t action, int assoc) argument 7482 iwx_clear_statistics(struct iwx_softc *sc) argument 7505 iwx_add_task(struct iwx_softc *sc, struct taskq *taskq, struct task *task) argument 7521 iwx_del_task(struct iwx_softc *sc, struct taskq *taskq, struct task *task) argument 7528 iwx_scan(struct iwx_softc *sc) argument 7574 struct iwx_softc *sc = IC2IFP(ic)->if_softc; local 7594 struct iwx_softc *sc = ic->ic_softc; local 7605 struct iwx_softc *sc = arg; local 7663 iwx_umac_scan_abort(struct iwx_softc *sc) argument 7673 iwx_scan_abort(struct iwx_softc *sc) argument 7684 iwx_enable_mgmt_queue(struct iwx_softc *sc) argument 7706 iwx_disable_mgmt_queue(struct iwx_softc *sc) argument 7745 iwx_rs_ht_rates(struct iwx_softc *sc, struct ieee80211_node *ni, int rsidx) argument 7764 iwx_rs_vht_rates(struct iwx_softc *sc, struct ieee80211_node *ni, int num_ss) argument 7796 iwx_rs_init_v3(struct iwx_softc *sc, struct iwx_node *in) argument 7864 iwx_rs_init_v4(struct iwx_softc *sc, struct iwx_node *in) argument 7932 iwx_rs_init(struct iwx_softc *sc, struct iwx_node *in) argument 7944 iwx_rs_update(struct iwx_softc *sc, struct iwx_tlc_update_notif *notif) argument 8028 iwx_phy_send_rlc(struct iwx_softc *sc, struct iwx_phy_ctxt *phyctxt, uint8_t chains_static, uint8_t chains_dynamic) argument 8052 iwx_phy_ctxt_update(struct iwx_softc *sc, struct iwx_phy_ctxt *phyctxt, struct ieee80211_channel *chan, uint8_t chains_static, uint8_t chains_dynamic, uint32_t apply_time, uint8_t sco, uint8_t vht_chan_width) argument 8105 iwx_auth(struct iwx_softc *sc) argument 8202 iwx_deauth(struct iwx_softc *sc) argument 8250 iwx_run(struct iwx_softc *sc) argument 8373 iwx_run_stop(struct iwx_softc *sc) argument 8436 struct iwx_softc *sc = ic->ic_softc; local 8463 iwx_add_sta_key(struct iwx_softc *sc, int sta_id, struct ieee80211_node *ni, struct ieee80211_key *k) argument 8530 struct iwx_softc *sc = arg; local 8555 struct iwx_softc *sc = ic->ic_softc; local 8603 struct iwx_softc *sc = (struct iwx_softc *)psc; local 8697 struct iwx_softc *sc = ifp->if_softc; local 8728 iwx_endscan(struct iwx_softc *sc) argument 8796 iwx_fill_sf_command(struct iwx_softc *sc, struct iwx_sf_cfg_cmd *sf_cmd, struct ieee80211_node *ni) argument 8840 iwx_sf_config(struct iwx_softc *sc, int new_state) argument 8866 iwx_send_bt_init_conf(struct iwx_softc *sc) argument 8878 iwx_send_soc_conf(struct iwx_softc *sc) argument 8917 iwx_send_update_mcc_cmd(struct iwx_softc *sc, const char *alpha2) argument 8977 iwx_send_temp_report_ths_cmd(struct iwx_softc *sc) argument 9000 iwx_init_hw(struct iwx_softc *sc) argument 9121 iwx_allow_mcast(struct iwx_softc *sc) argument 9148 struct iwx_softc *sc = ifp->if_softc; local 9212 struct iwx_softc *sc = ifp->if_softc; local 9281 struct iwx_softc *sc = ifp->if_softc; local 9356 struct iwx_softc *sc = ifp->if_softc; local 9389 struct iwx_softc *sc = ifp->if_softc; local 9524 iwx_nic_umac_error(struct iwx_softc *sc) argument 9617 iwx_nic_error(struct iwx_softc *sc) argument 9692 iwx_dump_driver_status(struct iwx_softc *sc) argument 9737 iwx_rx_pkt(struct iwx_softc *sc, struct iwx_rx_data *data, struct mbuf_list *ml) argument 10171 iwx_notif_intr(struct iwx_softc *sc) argument 10203 struct iwx_softc *sc = arg; local 10341 struct iwx_softc *sc = arg; local 10841 iwx_preinit(struct iwx_softc *sc) argument 10918 struct iwx_softc *sc = (void *)self; local 10926 iwx_find_device_cfg(struct iwx_softc *sc) argument 11006 struct iwx_softc *sc = device_get_softc(dev); local 11452 iwx_radiotap_attach(struct iwx_softc *sc) argument 11470 struct iwx_softc *sc = arg1; local 11496 iwx_resume(struct iwx_softc *sc) argument 11521 iwx_wakeup(struct iwx_softc *sc) argument 11582 struct iwx_softc *sc = (struct iwx_softc *)self; local [all...] |
/haiku/src/add-ons/kernel/drivers/network/wlan/iprowifi4965/dev/iwn/ |
H A D | if_iwn.c | 416 iwn_is_3stream_device(struct iwn_softc *sc) argument 419 if (sc->hw_type == IWN_HW_REV_TYPE_5300) 427 struct iwn_softc *sc = device_get_softc(dev); local 431 sc->sc_dev = dev; 434 error = resource_int_value(device_get_name(sc->sc_dev), 435 device_get_unit(sc->sc_dev), "debug", &(sc->sc_debug)); 437 sc->sc_debug = 0; 439 sc->sc_debug = 0; 442 DPRINTF(sc, IWN_DEBUG_TRAC 746 iwn_config_specific(struct iwn_softc *sc, uint16_t pid) argument 1225 iwn4965_attach(struct iwn_softc *sc, uint16_t pid) argument 1268 iwn5000_attach(struct iwn_softc *sc, uint16_t pid) argument 1309 iwn_radiotap_attach(struct iwn_softc *sc) argument 1322 iwn_sysctlattach(struct iwn_softc *sc) argument 1340 struct iwn_softc *sc = ic->ic_softc; local 1378 iwn_xmit_queue_drain(struct iwn_softc *sc) argument 1392 iwn_xmit_queue_enqueue(struct iwn_softc *sc, struct mbuf *m) argument 1402 struct iwn_softc *sc = device_get_softc(dev); local 1461 struct iwn_softc *sc = device_get_softc(dev); local 1470 struct iwn_softc *sc = device_get_softc(dev); local 1479 struct iwn_softc *sc = device_get_softc(dev); local 1489 iwn_nic_lock(struct iwn_softc *sc) argument 1508 iwn_nic_unlock(struct iwn_softc *sc) argument 1514 iwn_prph_read(struct iwn_softc *sc, uint32_t addr) argument 1522 iwn_prph_write(struct iwn_softc *sc, uint32_t addr, uint32_t data) argument 1530 iwn_prph_setbits(struct iwn_softc *sc, uint32_t addr, uint32_t mask) argument 1536 iwn_prph_clrbits(struct iwn_softc *sc, uint32_t addr, uint32_t mask) argument 1542 iwn_prph_write_region_4(struct iwn_softc *sc, uint32_t addr, const uint32_t *data, int count) argument 1550 iwn_mem_read(struct iwn_softc *sc, uint32_t addr) argument 1558 iwn_mem_write(struct iwn_softc *sc, uint32_t addr, uint32_t data) argument 1566 iwn_mem_write_2(struct iwn_softc *sc, uint32_t addr, uint16_t data) argument 1579 iwn_mem_read_region_4(struct iwn_softc *sc, uint32_t addr, uint32_t *data, int count) argument 1587 iwn_mem_set_region_4(struct iwn_softc *sc, uint32_t addr, uint32_t val, int count) argument 1595 iwn_eeprom_lock(struct iwn_softc *sc) argument 1617 iwn_eeprom_unlock(struct iwn_softc *sc) argument 1627 iwn_init_otprom(struct iwn_softc *sc) argument 1685 iwn_read_prom_data(struct iwn_softc *sc, uint32_t addr, void *data, int count) argument 1741 iwn_dma_contig_alloc(struct iwn_softc *sc, struct iwn_dma_info *dma, void **kvap, bus_size_t size, bus_size_t alignment) argument 1793 iwn_alloc_sched(struct iwn_softc *sc) argument 1801 iwn_free_sched(struct iwn_softc *sc) argument 1807 iwn_alloc_kw(struct iwn_softc *sc) argument 1814 iwn_free_kw(struct iwn_softc *sc) argument 1820 iwn_alloc_ict(struct iwn_softc *sc) argument 1828 iwn_free_ict(struct iwn_softc *sc) argument 1834 iwn_alloc_fwmem(struct iwn_softc *sc) argument 1841 iwn_free_fwmem(struct iwn_softc *sc) argument 1847 iwn_alloc_rx_ring(struct iwn_softc *sc, struct iwn_rx_ring *ring) argument 1944 iwn_reset_rx_ring(struct iwn_softc *sc, struct iwn_rx_ring *ring) argument 1965 iwn_free_rx_ring(struct iwn_softc *sc, struct iwn_rx_ring *ring) argument 1994 iwn_alloc_tx_ring(struct iwn_softc *sc, struct iwn_tx_ring *ring, int qid) argument 2064 iwn_reset_tx_ring(struct iwn_softc *sc, struct iwn_tx_ring *ring) argument 2097 iwn_free_tx_ring(struct iwn_softc *sc, struct iwn_tx_ring *ring) argument 2125 iwn_check_tx_ring(struct iwn_softc *sc, int qid) argument 2161 iwn5000_ict_reset(struct iwn_softc *sc) argument 2189 iwn_read_eeprom(struct iwn_softc *sc, uint8_t macaddr[IEEE80211_ADDR_LEN]) argument 2261 iwn4965_read_eeprom(struct iwn_softc *sc) argument 2313 iwn4965_print_power_group(struct iwn_softc *sc, int i) argument 2347 iwn5000_read_eeprom(struct iwn_softc *sc) argument 2433 iwn_read_eeprom_band(struct iwn_softc *sc, int n, int maxchans, int *nchans, struct ieee80211_channel chans[]) argument 2486 iwn_read_eeprom_ht40(struct iwn_softc *sc, int n, int maxchans, int *nchans, struct ieee80211_channel chans[]) argument 2544 iwn_read_eeprom_channels(struct iwn_softc *sc, int n, uint32_t addr) argument 2562 iwn_find_eeprom_channel(struct iwn_softc *sc, struct ieee80211_channel *c) argument 2592 struct iwn_softc *sc = ic->ic_softc; local 2609 struct iwn_softc *sc = ic->ic_softc; local 2629 iwn_read_eeprom_enhinfo(struct iwn_softc *sc) argument 2751 iwn_get_1stream_tx_antmask(struct iwn_softc *sc) argument 2758 iwn_get_2stream_tx_antmask(struct iwn_softc *sc) argument 2804 iwn_rate_to_plcp(struct iwn_softc *sc, struct ieee80211_node *ni, uint8_t rate) argument 2895 struct iwn_softc *sc = ic->ic_softc; local 2988 struct iwn_softc *sc = arg; local 3011 iwn_rx_phy(struct iwn_softc *sc, struct iwn_rx_desc *desc) argument 3027 iwn_rx_done(struct iwn_softc *sc, struct iwn_rx_desc *desc, struct iwn_rx_data *data) argument 3207 iwn_agg_tx_complete(struct iwn_softc *sc, struct iwn_tx_ring *ring, int tid, int idx, int success) argument 3252 iwn_rx_compressed_ba(struct iwn_softc *sc, struct iwn_rx_desc *desc) argument 3336 iwn5000_rx_calib_results(struct iwn_softc *sc, struct iwn_rx_desc *desc) argument 3393 iwn_stats_update(struct iwn_softc *sc, struct iwn_calib_state *calib, struct iwn_stats *stats, int len) argument 3458 iwn_rx_statistics(struct iwn_softc *sc, struct iwn_rx_desc *desc) argument 3541 iwn_save_stats_counters(struct iwn_softc *sc, const struct iwn_stats *rs) argument 3561 iwn4965_tx_done(struct iwn_softc *sc, struct iwn_rx_desc *desc, struct iwn_rx_data *data) argument 3586 iwn5000_tx_done(struct iwn_softc *sc, struct iwn_rx_desc *desc, struct iwn_rx_data *data) argument 3616 iwn_adj_ampdu_ptr(struct iwn_softc *sc, struct iwn_tx_ring *ring) argument 3636 iwn_tx_done(struct iwn_softc *sc, struct iwn_rx_desc *desc, int rtsfailcnt, int ackfailcnt, uint8_t status) argument 3735 iwn_cmd_done(struct iwn_softc *sc, struct iwn_rx_desc *desc) argument 3812 iwn_ampdu_index_check(struct iwn_softc *sc, struct iwn_tx_ring *ring, uint64_t bitmap, int start, int idx) argument 3873 iwn_ampdu_tx_done(struct iwn_softc *sc, int qid, int nframes, int rtsfailcnt, void *stat) argument 3983 iwn_notif_intr(struct iwn_softc *sc) argument 4167 iwn_wakeup_intr(struct iwn_softc *sc) argument 4185 struct iwn_softc *sc = arg; local 4213 iwn_fatal_intr(struct iwn_softc *sc) argument 4272 struct iwn_softc *sc = arg; local 4383 iwn4965_update_sched(struct iwn_softc *sc, int qid, int idx, uint8_t id, uint16_t len) argument 4401 iwn5000_update_sched(struct iwn_softc *sc, int qid, int idx, uint8_t id, uint16_t len) argument 4420 iwn5000_reset_sched(struct iwn_softc *sc, int qid, int idx) argument 4444 iwn_check_rate_needs_protection(struct iwn_softc *sc, struct ieee80211vap *vap, uint8_t rate) argument 4489 iwn_tx_rate_to_linkq_offset(struct iwn_softc *sc, struct ieee80211_node *ni, uint8_t rate) argument 4547 iwn_tx_data(struct iwn_softc *sc, struct mbuf *m, struct ieee80211_node *ni) argument 4761 iwn_tx_data_raw(struct iwn_softc *sc, struct mbuf *m, struct ieee80211_node *ni, const struct ieee80211_bpf_params *params) argument 4852 iwn_tx_cmd(struct iwn_softc *sc, struct mbuf *m, struct ieee80211_node *ni, struct iwn_tx_ring *ring) argument 4992 struct iwn_softc *sc = arg0; local 5043 struct iwn_softc *sc = ic->ic_softc; local 5098 struct iwn_softc *sc = ic->ic_softc; local 5125 struct iwn_softc *sc = arg; local 5135 struct iwn_softc *sc = arg; local 5174 struct iwn_softc *sc = dev->si_drv1; local 5212 struct iwn_softc *sc = ic->ic_softc; local 5241 iwn_cmd(struct iwn_softc *sc, int code, const void *buf, int size, int async) argument 5321 iwn4965_add_node(struct iwn_softc *sc, struct iwn_node_info *node, int async) argument 5342 iwn5000_add_node(struct iwn_softc *sc, struct iwn_node_info *node, int async) argument 5352 iwn_set_link_quality(struct iwn_softc *sc, struct ieee80211_node *ni) argument 5463 iwn_add_broadcast_node(struct iwn_softc *sc, int async) argument 5515 struct iwn_softc *sc = ic->ic_softc; local 5549 iwn_set_promisc(struct iwn_softc *sc) argument 5564 struct iwn_softc *sc = ic->ic_softc; local 5592 iwn_set_led(struct iwn_softc *sc, uint8_t which, uint8_t off, uint8_t on) argument 5619 iwn_set_critical_temp(struct iwn_softc *sc) argument 5641 iwn_set_timing(struct iwn_softc *sc, struct ieee80211_node *ni) argument 5665 iwn4965_power_calibration(struct iwn_softc *sc, int temp) argument 5686 iwn4965_set_txpower(struct iwn_softc *sc, int async) argument 5837 iwn5000_set_txpower(struct iwn_softc *sc, int async) argument 5867 iwn4965_get_rssi(struct iwn_softc *sc, struct iwn_rx_stat *stat) argument 5894 iwn5000_get_rssi(struct iwn_softc *sc, struct iwn_rx_stat *stat) argument 5938 iwn4965_get_temperature(struct iwn_softc *sc) argument 5965 iwn5000_get_temperature(struct iwn_softc *sc) argument 5987 iwn_init_sensitivity(struct iwn_softc *sc) argument 6030 iwn_collect_noise(struct iwn_softc *sc, const struct iwn_rx_general_stats *stats) argument 6089 iwn4965_init_gains(struct iwn_softc *sc) argument 6104 iwn5000_init_gains(struct iwn_softc *sc) argument 6120 iwn4965_set_gains(struct iwn_softc *sc) argument 6155 iwn5000_set_gains(struct iwn_softc *sc) argument 6195 iwn_tune_sensitivity(struct iwn_softc *sc, const struct iwn_rx_stats *stats) argument 6345 iwn_send_sensitivity(struct iwn_softc *sc) argument 6396 iwn_check_rx_recovery(struct iwn_softc *sc, struct iwn_stats *rs) argument 6476 iwn_set_pslevel(struct iwn_softc *sc, int dtim, int level, int async) argument 6534 iwn_send_btcoex(struct iwn_softc *sc) argument 6548 iwn_send_advanced_btcoex(struct iwn_softc *sc) argument 6653 iwn5000_runtime_calib(struct iwn_softc *sc) argument 6666 iwn_get_rxon_ht_flags(struct iwn_softc *sc, struct ieee80211_channel *c) argument 6693 iwn_check_bss_filter(struct iwn_softc *sc) argument 6699 iwn4965_rxon_assoc(struct iwn_softc *sc, int async) argument 6717 iwn5000_rxon_assoc(struct iwn_softc *sc, int async) argument 6739 iwn_send_rxon(struct iwn_softc *sc, int assoc, int async) argument 6793 iwn_config(struct iwn_softc *sc) argument 6954 iwn_get_active_dwell_time(struct iwn_softc *sc, struct ieee80211_channel *c, uint8_t n_probes) argument 6974 iwn_limit_dwell(struct iwn_softc *sc, uint16_t dwell_time) argument 7006 iwn_get_passive_dwell_time(struct iwn_softc *sc, struct ieee80211_channel *c) argument 7021 iwn_scan(struct iwn_softc *sc, struct ieee80211vap *vap, struct ieee80211_scan_state *ss, struct ieee80211_channel *c) argument 7282 iwn_auth(struct iwn_softc *sc, struct ieee80211vap *vap) argument 7332 iwn_run(struct iwn_softc *sc, struct ieee80211vap *vap) argument 7454 struct iwn_softc *sc = ni->ni_ic->ic_softc; local 7492 struct iwn_softc *sc = ic->ic_softc; local 7524 struct iwn_softc *sc = ni->ni_ic->ic_softc; local 7554 struct iwn_softc *sc = ni->ni_ic->ic_softc; local 7583 struct iwn_softc *sc = ni->ni_ic->ic_softc; local 7620 struct iwn_softc *sc = ni->ni_ic->ic_softc; local 7645 iwn4965_ampdu_tx_start(struct iwn_softc *sc, struct ieee80211_node *ni, int qid, uint8_t tid, uint16_t ssn) argument 7685 iwn4965_ampdu_tx_stop(struct iwn_softc *sc, int qid, uint8_t tid, uint16_t ssn) argument 7706 iwn5000_ampdu_tx_start(struct iwn_softc *sc, struct ieee80211_node *ni, int qid, uint8_t tid, uint16_t ssn) argument 7745 iwn5000_ampdu_tx_stop(struct iwn_softc *sc, int qid, uint8_t tid, uint16_t ssn) argument 7773 iwn5000_query_calibration(struct iwn_softc *sc) argument 7800 iwn5000_send_calibration(struct iwn_softc *sc) argument 7834 iwn5000_send_wimax_coex(struct iwn_softc *sc) argument 7861 iwn5000_crystal_calib(struct iwn_softc *sc) argument 7877 iwn5000_temp_offset_calib(struct iwn_softc *sc) argument 7895 iwn5000_temp_offset_calibv2(struct iwn_softc *sc) argument 7926 iwn4965_post_alive(struct iwn_softc *sc) argument 7981 iwn5000_post_alive(struct iwn_softc *sc) argument 8096 iwn4965_load_bootcode(struct iwn_softc *sc, const uint8_t *ucode, int size) argument 8138 iwn4965_load_firmware(struct iwn_softc *sc) argument 8205 iwn5000_load_firmware_section(struct iwn_softc *sc, uint32_t dst, const uint8_t *section, int size) argument 8244 iwn5000_load_firmware(struct iwn_softc *sc) argument 8281 iwn_read_firmware_leg(struct iwn_softc *sc, struct iwn_fw_info *fw) argument 8335 iwn_read_firmware_tlv(struct iwn_softc *sc, struct iwn_fw_info *fw, uint16_t alt) argument 8460 iwn_read_firmware(struct iwn_softc *sc) argument 8525 iwn_unload_firmware(struct iwn_softc *sc) argument 8532 iwn_clock_wait(struct iwn_softc *sc) argument 8551 iwn_apm_init(struct iwn_softc *sc) argument 8605 iwn_apm_stop_master(struct iwn_softc *sc) argument 8620 iwn_apm_stop(struct iwn_softc *sc) argument 8632 iwn4965_nic_config(struct iwn_softc *sc) argument 8653 iwn5000_nic_config(struct iwn_softc *sc) argument 8704 iwn_hw_prepare(struct iwn_softc *sc) argument 8742 iwn_hw_init(struct iwn_softc *sc) argument 8855 iwn_hw_stop(struct iwn_softc *sc) argument 8909 struct iwn_softc *sc = arg0; local 8959 iwn_init_locked(struct iwn_softc *sc) argument 9032 iwn_init(struct iwn_softc *sc) argument 9044 iwn_stop_locked(struct iwn_softc *sc) argument 9064 iwn_stop(struct iwn_softc *sc) argument 9077 struct iwn_softc *sc = ic->ic_softc; local 9091 struct iwn_softc *sc = ic->ic_softc; local 9108 struct iwn_softc *sc = ic->ic_softc; local 9135 struct iwn_softc *sc = ic->ic_softc; local 9196 iwn_debug_register(struct iwn_softc *sc) argument [all...] |
/haiku/src/add-ons/kernel/drivers/network/ether/sis19x/dev/sge/ |
H A D | if_sge.c | 206 sge_read_eeprom(struct sge_softc *sc, int offset) argument 212 CSR_WRITE_4(sc, ROMInterface, 216 val = CSR_READ_4(sc, ROMInterface); 222 device_printf(sc->sge_dev, 231 sge_get_mac_addr_eeprom(struct sge_softc *sc, uint8_t *dest) argument 236 val = sge_read_eeprom(sc, EEPROMSignature); 238 device_printf(sc->sge_dev, 244 val = sge_read_eeprom(sc, EEPROMMACAddr + i / 2); 249 if ((sge_read_eeprom(sc, EEPROMInfo) & 0x80) != 0) 250 sc 259 sge_get_mac_addr_apc(struct sge_softc *sc, uint8_t *dest) argument 336 struct sge_softc *sc; local 360 struct sge_softc *sc; local 383 struct sge_softc *sc; local 447 sge_rxfilter(struct sge_softc *sc) argument 488 sge_setvlan(struct sge_softc *sc) argument 507 sge_reset(struct sge_softc *sc) argument 557 struct sge_softc *sc; local 674 struct sge_softc *sc; local 713 struct sge_softc *sc; local 725 struct sge_softc *sc; local 740 struct sge_softc *sc; local 753 sge_dma_alloc(struct sge_softc *sc) argument 909 sge_dma_free(struct sge_softc *sc) argument 983 sge_list_tx_init(struct sge_softc *sc) argument 1002 sge_list_tx_free(struct sge_softc *sc) argument 1031 sge_list_rx_init(struct sge_softc *sc) argument 1050 sge_list_rx_free(struct sge_softc *sc) argument 1076 sge_newbuf(struct sge_softc *sc, int prod) argument 1125 sge_discard_rxbuf(struct sge_softc *sc, int index) argument 1142 sge_rxeof(struct sge_softc *sc) argument 1233 sge_txeof(struct sge_softc *sc) argument 1304 struct sge_softc *sc; local 1333 struct sge_softc *sc; local 1397 sge_encap(struct sge_softc *sc, struct mbuf **m_head) argument 1562 struct sge_softc *sc; local 1573 struct sge_softc *sc; local 1621 struct sge_softc *sc; local 1630 sge_init_locked(struct sge_softc *sc) argument 1720 struct sge_softc *sc; local 1742 struct sge_softc *sc; local 1761 struct sge_softc *sc; local 1853 sge_watchdog(struct sge_softc *sc) argument 1885 sge_stop(struct sge_softc *sc) argument [all...] |
/haiku/src/add-ons/kernel/drivers/network/ether/nforce/dev/nfe/ |
H A D | if_nfe.c | 136 #define DPRINTF(sc, ...) do { \ 138 device_printf((sc)->nfe_dev, __VA_ARGS__); \ 140 #define DPRINTFN(sc, n, ...) do { \ 142 device_printf((sc)->nfe_dev, __VA_ARGS__); \ 145 #define DPRINTF(sc, ...) 146 #define DPRINTFN(sc, n, ...) 293 nfe_alloc_msix(struct nfe_softc *sc, int count) argument 298 sc->nfe_msix_res = bus_alloc_resource_any(sc->nfe_dev, SYS_RES_MEMORY, 300 if (sc 340 nfe_detect_msik9(struct nfe_softc *sc) argument 366 struct nfe_softc *sc; local 692 struct nfe_softc *sc; local 790 struct nfe_softc *sc; local 807 struct nfe_softc *sc; local 825 nfe_can_use_msix(struct nfe_softc *sc) argument 868 nfe_power(struct nfe_softc *sc) argument 893 struct nfe_softc *sc; local 933 nfe_mac_config(struct nfe_softc *sc, struct mii_data *mii) argument 1028 struct nfe_softc *sc = device_get_softc(dev); local 1069 struct nfe_softc *sc = device_get_softc(dev); local 1101 nfe_alloc_rx_ring(struct nfe_softc *sc, struct nfe_rx_ring *ring) argument 1199 nfe_alloc_jrx_ring(struct nfe_softc *sc, struct nfe_jrx_ring *ring) argument 1319 nfe_init_rx_ring(struct nfe_softc *sc, struct nfe_rx_ring *ring) argument 1347 nfe_init_jrx_ring(struct nfe_softc *sc, struct nfe_jrx_ring *ring) argument 1375 nfe_free_rx_ring(struct nfe_softc *sc, struct nfe_rx_ring *ring) argument 1422 nfe_free_jrx_ring(struct nfe_softc *sc, struct nfe_jrx_ring *ring) argument 1476 nfe_alloc_tx_ring(struct nfe_softc *sc, struct nfe_tx_ring *ring) argument 1561 nfe_init_tx_ring(struct nfe_softc *sc, struct nfe_tx_ring *ring) argument 1584 nfe_free_tx_ring(struct nfe_softc *sc, struct nfe_tx_ring *ring) argument 1639 struct nfe_softc *sc = if_getsoftc(ifp); local 1677 nfe_set_intr(struct nfe_softc *sc) argument 1687 nfe_enable_intr(struct nfe_softc *sc) argument 1700 nfe_disable_intr(struct nfe_softc *sc) argument 1715 struct nfe_softc *sc; local 1867 struct nfe_softc *sc; local 1885 struct nfe_softc *sc = arg; local 1945 nfe_discard_rxbuf(struct nfe_softc *sc, int idx) argument 1971 nfe_discard_jrxbuf(struct nfe_softc *sc, int idx) argument 1997 nfe_newbuf(struct nfe_softc *sc, int idx) argument 2053 nfe_jnewbuf(struct nfe_softc *sc, int idx) argument 2108 nfe_rxeof(struct nfe_softc *sc, int count, int *rx_npktsp) argument 2223 nfe_jrxeof(struct nfe_softc *sc, int count, int *rx_npktsp) argument 2339 nfe_txeof(struct nfe_softc *sc) argument 2411 nfe_encap(struct nfe_softc *sc, struct mbuf **m_head) argument 2559 nfe_setmulti(struct nfe_softc *sc) argument 2638 struct nfe_softc *sc = if_getsoftc(ifp); local 2648 struct nfe_softc *sc = if_getsoftc(ifp); local 2693 struct nfe_softc *sc = if_getsoftc(ifp); local 2730 struct nfe_softc *sc = xsc; local 2741 struct nfe_softc *sc = xsc; local 2892 struct nfe_softc *sc = if_getsoftc(ifp); local 2967 struct nfe_softc *sc = if_getsoftc(ifp); local 2982 struct nfe_softc *sc; local 3000 struct nfe_softc *sc; local 3027 nfe_get_macaddr(struct nfe_softc *sc, uint8_t *addr) argument 3056 nfe_set_macaddr(struct nfe_softc *sc, uint8_t *addr) argument 3118 nfe_sysctl_node(struct nfe_softc *sc) argument 3237 nfe_stats_clear(struct nfe_softc *sc) argument 3259 nfe_stats_update(struct nfe_softc *sc) argument 3309 nfe_set_linkspeed(struct nfe_softc *sc) argument 3379 nfe_set_wol(struct nfe_softc *sc) argument [all...] |
/haiku/src/add-ons/kernel/drivers/network/ether/broadcom570x/dev/mii/ |
H A D | brgphy.c | 216 struct mii_softc *sc; local 219 sc = &bsc->mii_sc; 233 switch (sc->mii_mpd_oui) { 235 switch (sc->mii_mpd_model) { 245 PHY_WRITE(sc, BRGPHY_MII_SHADOW_1C, 247 if (PHY_READ(sc, BRGPHY_MII_SHADOW_1C) & 250 sc->mii_flags |= MIIF_HAVEFIBER; 256 switch (sc->mii_mpd_model) { 259 sc->mii_flags |= MIIF_HAVEFIBER; 271 sc 329 brgphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument 429 brgphy_setmedia(struct mii_softc *sc, int media) argument 485 brgphy_status(struct mii_softc *sc) argument 618 brgphy_mii_phy_auto(struct mii_softc *sc, int media) argument 650 brgphy_enable_loopback(struct mii_softc *sc) argument 664 bcm5401_load_dspcode(struct mii_softc *sc) argument 691 bcm5411_load_dspcode(struct mii_softc *sc) argument 709 bcm54k2_load_dspcode(struct mii_softc *sc) argument 727 brgphy_fixup_5704_a0_bug(struct mii_softc *sc) argument 744 brgphy_fixup_adc_bug(struct mii_softc *sc) argument 762 brgphy_fixup_adjust_trim(struct mii_softc *sc) argument 782 brgphy_fixup_ber_bug(struct mii_softc *sc) argument 805 brgphy_fixup_crc_bug(struct mii_softc *sc) argument 824 brgphy_fixup_jitter_bug(struct mii_softc *sc) argument 843 brgphy_fixup_disable_early_dac(struct mii_softc *sc) argument 855 brgphy_ethernet_wirespeed(struct mii_softc *sc) argument 866 brgphy_jumbo_settings(struct mii_softc *sc, u_long mtu) argument 898 brgphy_reset(struct mii_softc *sc) argument [all...] |
/haiku/src/add-ons/kernel/drivers/network/ether/attansic_l1/dev/mii/ |
H A D | atphy.c | 112 atphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument 124 atphy_setmedia(sc, ife->ifm_media); 137 bmcr = PHY_READ(sc, MII_BMCR); 146 PHY_WRITE(sc, MII_BMCR, bmcr | BMCR_ISO); 156 (sc->mii_flags & MIIF_FORCEPAUSE) != 0) 160 if ((sc->mii_extcapabilities & (EXTSR_1000TFDX | 162 PHY_WRITE(sc, MII_100T2CR, 0); 163 PHY_WRITE(sc, MII_ANAR, anar | ANAR_CSMA); 168 PHY_WRITE(sc, MII_BMCR, bmcr | BMCR_RESET | BMCR_AUTOEN | 178 sc 212 atphy_status(struct mii_softc *sc) argument 275 atphy_reset(struct mii_softc *sc) argument 339 atphy_setmedia(struct mii_softc *sc, int media) argument [all...] |
/haiku/src/add-ons/kernel/drivers/network/ether/jmicron2x0/dev/mii/ |
H A D | jmphy.c | 116 jmphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument 125 if (jmphy_setmedia(sc, ife) != EJUSTRETURN) 134 sc->mii_ticks = 0; 139 if ((PHY_READ(sc, JMPHY_SSR) & JMPHY_SSR_LINK_UP) != 0) { 140 sc->mii_ticks = 0; 145 if (sc->mii_ticks++ == 0) 147 if (sc->mii_ticks <= sc->mii_anegticks) 150 sc->mii_ticks = 0; 151 (void)jmphy_setmedia(sc, if 164 jmphy_status(struct mii_softc *sc) argument 227 jmphy_reset(struct mii_softc *sc) argument 303 jmphy_setmedia(struct mii_softc *sc, struct ifmedia_entry *ife) argument [all...] |
/haiku/src/add-ons/kernel/drivers/network/ether/nforce/dev/mii/ |
H A D | ciphy.c | 126 ciphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument 136 ciphy_fixup(sc); /* XXX hardware bug work-around */ 144 if (PHY_READ(sc, CIPHY_MII_BMCR) & CIPHY_BMCR_AUTOEN) 147 (void)mii_phy_auto(sc); 172 PHY_WRITE(sc, CIPHY_MII_1000CTL, gig); 173 PHY_WRITE(sc, CIPHY_MII_BMCR, speed); 174 PHY_WRITE(sc, CIPHY_MII_ANAR, CIPHY_SEL_TYPE); 177 PHY_WRITE(sc, MII_BMCR, BMCR_ISO | BMCR_PDOWN); 196 reg = PHY_READ(sc, MII_BMSR) | PHY_READ(sc, MII_BMS 231 ciphy_status(struct mii_softc *sc) argument 285 ciphy_reset(struct mii_softc *sc) argument 298 ciphy_fixup(struct mii_softc *sc) argument [all...] |
/haiku/src/add-ons/kernel/drivers/network/ether/via_rhine/dev/mii/ |
H A D | ciphy.c | 126 ciphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument 136 ciphy_fixup(sc); /* XXX hardware bug work-around */ 144 if (PHY_READ(sc, CIPHY_MII_BMCR) & CIPHY_BMCR_AUTOEN) 147 (void)mii_phy_auto(sc); 172 PHY_WRITE(sc, CIPHY_MII_1000CTL, gig); 173 PHY_WRITE(sc, CIPHY_MII_BMCR, speed); 174 PHY_WRITE(sc, CIPHY_MII_ANAR, CIPHY_SEL_TYPE); 177 PHY_WRITE(sc, MII_BMCR, BMCR_ISO | BMCR_PDOWN); 196 reg = PHY_READ(sc, MII_BMSR) | PHY_READ(sc, MII_BMS 231 ciphy_status(struct mii_softc *sc) argument 285 ciphy_reset(struct mii_softc *sc) argument 298 ciphy_fixup(struct mii_softc *sc) argument [all...] |
/haiku/src/add-ons/kernel/drivers/network/ether/vt612x/dev/mii/ |
H A D | ciphy.c | 126 ciphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument 136 ciphy_fixup(sc); /* XXX hardware bug work-around */ 144 if (PHY_READ(sc, CIPHY_MII_BMCR) & CIPHY_BMCR_AUTOEN) 147 (void)mii_phy_auto(sc); 172 PHY_WRITE(sc, CIPHY_MII_1000CTL, gig); 173 PHY_WRITE(sc, CIPHY_MII_BMCR, speed); 174 PHY_WRITE(sc, CIPHY_MII_ANAR, CIPHY_SEL_TYPE); 177 PHY_WRITE(sc, MII_BMCR, BMCR_ISO | BMCR_PDOWN); 196 reg = PHY_READ(sc, MII_BMSR) | PHY_READ(sc, MII_BMS 231 ciphy_status(struct mii_softc *sc) argument 285 ciphy_reset(struct mii_softc *sc) argument 298 ciphy_fixup(struct mii_softc *sc) argument [all...] |
/haiku/src/add-ons/kernel/bus_managers/acpi/ |
H A D | EmbeddedController.cpp | 149 acpi_ec_cookie* sc = (acpi_ec_cookie*)_context; local 152 if (sc->ec_data_pci_address == 0) { 153 sc->ec_data_pci_address = resource->Data.Io.Minimum; 154 } else if (sc->ec_csr_pci_address == 0) { 155 sc->ec_csr_pci_address = resource->Data.Io.Minimum; 286 acpi_ec_cookie* sc; local 287 sc = (acpi_ec_cookie*)malloc(sizeof(acpi_ec_cookie)); 288 if (sc == NULL) 291 memset(sc, 0, sizeof(acpi_ec_cookie)); 293 *_driverCookie = sc; 415 acpi_ec_cookie* sc = (struct acpi_ec_cookie*)driverCookie; local 499 EcCheckStatus(struct acpi_ec_cookie* sc, const char* msg, EC_EVENT event) argument 517 EcGpeQueryHandlerSub(struct acpi_ec_cookie *sc) argument 572 struct acpi_ec_cookie* sc = (struct acpi_ec_cookie*)context; local 597 struct acpi_ec_cookie* sc = (acpi_ec_cookie*)context; local 645 struct acpi_ec_cookie* sc = (struct acpi_ec_cookie*)context; local 712 EcWaitEvent(struct acpi_ec_cookie* sc, EC_EVENT event, int32 generationCount) argument 780 EcCommand(struct acpi_ec_cookie* sc, EC_COMMAND cmd) argument 829 EcRead(struct acpi_ec_cookie* sc, uint8 address, uint8* readData) argument 858 EcWrite(struct acpi_ec_cookie* sc, uint8 address, uint8 writeData) argument [all...] |
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/ |
H A D | if_rtwn_cam.c | 56 rtwn_init_cam(struct rtwn_softc *sc) argument 59 rtwn_write_4(sc, R92C_CAMCMD, 64 rtwn_cam_write(struct rtwn_softc *sc, uint32_t addr, uint32_t data) argument 68 error = rtwn_write_4(sc, R92C_CAMWRITE, data); 71 error = rtwn_write_4(sc, R92C_CAMCMD, 79 rtwn_init_seccfg(struct rtwn_softc *sc) argument 85 switch (sc->sc_hwcrypto) { 101 sc->sc_hwcrypto)); 105 RTWN_DPRINTF(sc, RTWN_DEBUG_KEY, "%s: seccfg %04X, hwcrypto %d\n", 106 __func__, seccfg, sc 115 struct rtwn_softc *sc = vap->iv_ic->ic_softc; local 196 rtwn_key_set_cb0(struct rtwn_softc *sc, const struct ieee80211_key *k) argument 266 rtwn_key_set_cb(struct rtwn_softc *sc, union sec_param *data) argument 274 rtwn_init_static_keys(struct rtwn_softc *sc, struct rtwn_vap *rvp) argument 294 rtwn_key_del_cb(struct rtwn_softc *sc, union sec_param *data) argument 316 struct rtwn_softc *sc = vap->iv_ic->ic_softc; local [all...] |