Searched refs:sc (Results 26 - 50 of 354) sorted by relevance

1234567891011>>

/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8192e/
H A Dr92e_init.c66 r92e_llt_init(struct rtwn_softc *sc) argument
70 error = rtwn_setbits_4(sc, R92C_AUTO_LLT, 0, R92C_AUTO_LLT_INIT);
74 if (!(rtwn_read_4(sc, R92C_AUTO_LLT) & R92C_AUTO_LLT_INIT))
76 rtwn_delay(sc, 1);
82 r92e_crystalcap_write(struct rtwn_softc *sc) argument
84 struct r92e_softc *rs = sc->sc_priv;
89 reg = rtwn_bb_read(sc, R92E_AFE_XTAL_CTRL);
90 rtwn_bb_write(sc, R92E_AFE_XTAL_CTRL,
92 rtwn_bb_write(sc, R92C_AFE_XTAL_CTRL, 0x000f81fb);
96 r92e_init_bb(struct rtwn_softc *sc) argument
166 r92e_init_rf(struct rtwn_softc *sc) argument
208 r92e_adj_crystal(struct rtwn_softc *sc) argument
218 r92e_power_on(struct rtwn_softc *sc) argument
285 r92e_power_off(struct rtwn_softc *sc) argument
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/ralinkwifi/dev/ral/
H A Drt2860.c72 #define DPRINTF(x) do { if (sc->sc_debug > 0) printf x; } while (0)
73 #define DPRINTFN(n, x) do { if (sc->sc_debug >= (n)) printf x; } while (0)
239 struct rt2860_softc *sc = device_get_softc(dev); local
240 struct ieee80211com *ic = &sc->sc_ic;
244 sc->sc_dev = dev;
245 sc->sc_debug = 0;
247 mtx_init(&sc->sc_mtx, device_get_nameunit(dev), MTX_NETWORK_LOCK,
250 callout_init_mtx(&sc->watchdog_ch, &sc->sc_mtx, 0);
251 mbufq_init(&sc
375 struct rt2860_softc *sc = xsc; local
398 struct rt2860_softc *sc = xsc; local
406 struct rt2860_softc *sc = xsc; local
414 struct rt2860_softc *sc = xsc; local
426 struct rt2860_softc *sc = ic->ic_softc; local
508 rt2860_alloc_tx_ring(struct rt2860_softc *sc, struct rt2860_tx_ring *ring) argument
545 rt2860_reset_tx_ring(struct rt2860_softc *sc, struct rt2860_tx_ring *ring) argument
575 rt2860_free_tx_ring(struct rt2860_softc *sc, struct rt2860_tx_ring *ring) argument
610 rt2860_alloc_tx_pool(struct rt2860_softc *sc) argument
669 rt2860_free_tx_pool(struct rt2860_softc *sc) argument
689 rt2860_alloc_rx_ring(struct rt2860_softc *sc, struct rt2860_rx_ring *ring) argument
766 rt2860_reset_rx_ring(struct rt2860_softc *sc, struct rt2860_rx_ring *ring) argument
779 rt2860_free_rx_ring(struct rt2860_softc *sc, struct rt2860_rx_ring *ring) argument
809 rt2860_updatestats(struct rt2860_softc *sc) argument
838 struct rt2860_softc *sc = ic->ic_softc; local
857 struct rt2860_softc *sc = ic->ic_softc; local
874 struct rt2860_softc *sc = ic->ic_softc; local
889 struct rt2860_softc *sc = ic->ic_softc; local
905 struct rt2860_softc *sc = ic->ic_softc; local
961 rt3090_efuse_read_2(struct rt2860_softc *sc, uint16_t addr) argument
1003 rt2860_eeprom_read_2(struct rt2860_softc *sc, uint16_t addr) argument
1057 rt2860_srom_read(struct rt2860_softc *sc, uint8_t addr) argument
1064 rt2860_intr_coherent(struct rt2860_softc *sc) argument
1081 rt2860_drain_stats_fifo(struct rt2860_softc *sc) argument
1129 rt2860_tx_intr(struct rt2860_softc *sc, int qid) argument
1164 rt2860_maxrssi_chain(struct rt2860_softc *sc, const struct rt2860_rxwi *rxwi) argument
1179 rt2860_rx_intr(struct rt2860_softc *sc) argument
1350 rt2860_tbtt_intr(struct rt2860_softc *sc) argument
1380 rt2860_gp_intr(struct rt2860_softc *sc) argument
1394 struct rt2860_softc *sc = arg; local
1456 rt2860_tx(struct rt2860_softc *sc, struct mbuf *m, struct ieee80211_node *ni) argument
1701 struct rt2860_softc *sc = ic->ic_softc; local
1731 rt2860_tx_raw(struct rt2860_softc *sc, struct mbuf *m, struct ieee80211_node *ni, const struct ieee80211_bpf_params *params) argument
1944 struct rt2860_softc *sc = ic->ic_softc; local
1964 rt2860_start(struct rt2860_softc *sc) argument
1990 struct rt2860_softc *sc = arg; local
2012 struct rt2860_softc *sc = ic->ic_softc; local
2035 rt2860_mcu_bbp_write(struct rt2860_softc *sc, uint8_t reg, uint8_t val) argument
2059 rt2860_mcu_bbp_read(struct rt2860_softc *sc, uint8_t reg) argument
2097 rt2860_rf_write(struct rt2860_softc *sc, uint8_t reg, uint32_t val) argument
2119 rt3090_rf_read(struct rt2860_softc *sc, uint8_t reg) argument
2150 rt3090_rf_write(struct rt2860_softc *sc, uint8_t reg, uint8_t val) argument
2173 rt2860_mcu_cmd(struct rt2860_softc *sc, uint8_t cmd, uint16_t arg, int wait) argument
2223 rt2860_enable_mrr(struct rt2860_softc *sc) argument
2247 rt2860_set_txpreamble(struct rt2860_softc *sc) argument
2260 rt2860_set_basicrates(struct rt2860_softc *sc, const struct ieee80211_rateset *rs) argument
2284 struct rt2860_softc *sc = ic->ic_softc; local
2297 struct rt2860_softc *sc = ic->ic_softc; local
2310 struct rt2860_softc *sc = ic->ic_softc; local
2328 struct rt2860_softc *sc = ic->ic_softc; local
2336 rt2860_select_chan_group(struct rt2860_softc *sc, int group) argument
2420 rt2860_set_chan(struct rt2860_softc *sc, u_int chan) argument
2475 rt3090_set_chan(struct rt2860_softc *sc, u_int chan) argument
2540 rt5390_set_chan(struct rt2860_softc *sc, u_int chan) argument
2641 rt3090_rf_init(struct rt2860_softc *sc) argument
2749 rt5390_rf_init(struct rt2860_softc *sc) argument
2818 rt3090_rf_wakeup(struct rt2860_softc *sc) argument
2884 rt5390_rf_wakeup(struct rt2860_softc *sc) argument
2920 rt3090_filter_calib(struct rt2860_softc *sc, uint8_t init, uint8_t target, uint8_t *val) argument
2985 rt3090_rf_setup(struct rt2860_softc *sc) argument
3017 rt2860_set_leds(struct rt2860_softc *sc, uint16_t which) argument
3028 rt2860_set_gp_timer(struct rt2860_softc *sc, int ms) argument
3050 rt2860_set_bssid(struct rt2860_softc *sc, const uint8_t *bssid) argument
3059 rt2860_set_macaddr(struct rt2860_softc *sc, const uint8_t *addr) argument
3070 struct rt2860_softc *sc = ic->ic_softc; local
3080 rt2860_updateprot(struct rt2860_softc *sc) argument
3106 struct rt2860_softc *sc = ic->ic_softc; local
3119 struct rt2860_softc *sc = ic->ic_softc; local
3168 struct rt2860_softc *sc = ic->ic_softc; local
3271 struct rt2860_softc *sc = ic->ic_softc; local
3292 rt2860_rssi2dbm(struct rt2860_softc *sc, uint8_t rssi, uint8_t rxchain) argument
3358 rt2860_read_eeprom(struct rt2860_softc *sc, uint8_t macaddr[IEEE80211_ADDR_LEN]) argument
3664 rt2860_bbp_init(struct rt2860_softc *sc) argument
3707 rt5390_bbp_init(struct rt2860_softc *sc) argument
3745 rt2860_txrx_enable(struct rt2860_softc *sc) argument
3792 struct rt2860_softc *sc = arg; local
3804 rt2860_init_locked(struct rt2860_softc *sc) argument
4078 struct rt2860_softc *sc = arg; local
4086 rt2860_stop_locked(struct rt2860_softc *sc) argument
4122 rt2860_load_microcode(struct rt2860_softc *sc) argument
4174 rt2860_calib(struct rt2860_softc *sc) argument
4217 rt3090_set_rx_antenna(struct rt2860_softc *sc, int aux) argument
4245 rt2860_switch_chan(struct rt2860_softc *sc, struct ieee80211_channel *c) argument
4279 rt2860_setup_beacon(struct rt2860_softc *sc, struct ieee80211vap *vap) argument
4313 rt2860_enable_tsf_sync(struct rt2860_softc *sc) argument
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8192c/pci/
H A Dr92ce_attach.c69 r92ce_postattach(struct rtwn_softc *sc) argument
71 struct r92c_softc *rs = sc->sc_priv;
72 struct ieee80211com *ic = &sc->sc_ic;
82 sc->fwname = "rtwn-rtl8192cfwE";
84 sc->fwname = "rtwn-rtl8192cfwE_B";
85 sc->fwsig = 0x88c;
94 r92ce_set_name(struct rtwn_softc *sc, uint8_t *buf) argument
96 struct r92c_softc *rs = sc->sc_priv;
99 sc->name = "RTL8192CE";
101 sc
105 r92ce_attach_private(struct rtwn_softc *sc) argument
136 r92ce_adj_devcaps(struct rtwn_softc *sc) argument
150 struct rtwn_softc *sc = &pc->pc_sc; local
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/
H A Dif_rtwn.c160 rtwn_attach(struct rtwn_softc *sc) argument
162 struct ieee80211com *ic = &sc->sc_ic;
165 sc->cur_bcnq_id = RTWN_VAP_ID_INVALID;
167 RTWN_NT_LOCK_INIT(sc);
168 rtwn_cmdq_init(sc);
170 callout_init_mtx(&sc->sc_watchdog_to, &sc->sc_mtx, 0);
172 callout_init(&sc->sc_calib_to, 0);
173 callout_init(&sc->sc_pwrmode_init, 0);
174 mbufq_init(&sc
314 rtwn_radiotap_attach(struct rtwn_softc *sc) argument
325 rtwn_sysctlattach(struct rtwn_softc *sc) argument
367 rtwn_detach(struct rtwn_softc *sc) argument
387 rtwn_suspend(struct rtwn_softc *sc) argument
395 rtwn_resume(struct rtwn_softc *sc) argument
403 rtwn_vap_decrement_counters(struct rtwn_softc *sc, enum ieee80211_opmode opmode, int id) argument
453 rtwn_set_ic_opmode(struct rtwn_softc *sc) argument
476 struct rtwn_softc *sc = ic->ic_softc; local
617 struct rtwn_softc *sc = ic->ic_softc; local
647 rtwn_read_chipid(struct rtwn_softc *sc) argument
670 struct rtwn_softc *sc = vap->iv_ic->ic_softc; local
703 rtwn_set_media_status(struct rtwn_softc *sc, union sec_param *data) argument
710 rtwn_tx_fwpkt_check(struct rtwn_softc *sc, struct ieee80211vap *vap) argument
730 rtwn_construct_nulldata(struct rtwn_softc *sc, struct ieee80211vap *vap, uint8_t *ptr, int qos) argument
774 rtwn_push_nulldata(struct rtwn_softc *sc, struct ieee80211vap *vap) argument
866 struct rtwn_softc *sc = arg; local
872 rtwn_set_pwrmode_cb(struct rtwn_softc *sc, union sec_param *data) argument
909 struct rtwn_softc *sc = vap->iv_ic->ic_softc; local
944 rtwn_tsf_sync_enable(struct rtwn_softc *sc, struct ieee80211vap *vap) argument
973 rtwn_set_ack_preamble(struct rtwn_softc *sc) argument
987 rtwn_set_mode(struct rtwn_softc *sc, uint8_t mode, int id) argument
1000 struct rtwn_softc *sc = ic->ic_softc; local
1047 struct rtwn_softc *sc = ic->ic_softc; local
1175 rtwn_calc_basicrates(struct rtwn_softc *sc) argument
1215 rtwn_run(struct rtwn_softc *sc, struct ieee80211vap *vap) argument
1345 struct rtwn_softc *sc = arg; local
1364 struct rtwn_softc *sc = ic->ic_softc; local
1380 rtwn_dma_init(struct rtwn_softc *sc) argument
1446 rtwn_mac_init(struct rtwn_softc *sc) argument
1462 rtwn_mrr_init(struct rtwn_softc *sc) argument
1476 struct rtwn_softc *sc = ic->ic_softc; local
1490 struct rtwn_softc *sc = ss->ss_ic->ic_softc; local
1503 struct rtwn_softc *sc = ic->ic_softc; local
1525 struct rtwn_softc *sc = ic->ic_softc; local
1560 struct rtwn_softc *sc = ic->ic_softc; local
1573 struct rtwn_softc *sc = ic->ic_softc; local
1620 rtwn_update_slot_cb(struct rtwn_softc *sc, union sec_param *data) argument
1635 rtwn_update_aifs(struct rtwn_softc *sc, uint8_t slottime) argument
1653 struct rtwn_softc *sc = ic->ic_softc; local
1664 struct rtwn_softc *sc = ic->ic_softc; local
1673 rtwn_set_bssid(struct rtwn_softc *sc, const uint8_t *bssid, int id) argument
1686 rtwn_set_macaddr(struct rtwn_softc *sc, const uint8_t *addr, int id) argument
1719 struct rtwn_softc *sc = ni->ni_ic->ic_softc; local
1750 struct rtwn_softc *sc = ni->ni_ic->ic_softc; local
1765 rtwn_init_beacon_reg(struct rtwn_softc *sc) argument
1776 rtwn_init(struct rtwn_softc *sc) argument
1926 rtwn_stop(struct rtwn_softc *sc) argument
[all...]
H A Dif_rtwn_nop.h23 rtwn_nop_softc(struct rtwn_softc *sc) argument
28 rtwn_nop_int_softc(struct rtwn_softc *sc) argument
34 rtwn_nop_int_softc_mbuf(struct rtwn_softc *sc, struct mbuf *m) argument
40 rtwn_nop_softc_int(struct rtwn_softc *sc, int id) argument
45 rtwn_nop_softc_uint32(struct rtwn_softc *sc, uint32_t reg) argument
50 rtwn_nop_softc_chan(struct rtwn_softc *sc, struct ieee80211_channel *c) argument
55 rtwn_nop_softc_vap(struct rtwn_softc *sc, struct ieee80211vap *vap) argument
60 rtwn_nop_softc_uint8_int(struct rtwn_softc *sc, uint8_t *buf, int len) argument
/haiku/src/add-ons/kernel/drivers/network/ether/pcnet/dev/le/
H A Dlance.c108 lance_config(struct lance_softc *sc, const char* name, int unit) argument
113 if (LE_LOCK_INITIALIZED(sc) == 0)
116 ifp = sc->sc_ifp = if_alloc(IFT_ETHER);
120 callout_init_mtx(&sc->sc_wdog_ch, &sc->sc_mtx, 0);
123 ifp->if_softc = sc;
138 ifmedia_init(&sc->sc_media, 0, lance_mediachange, lance_mediastatus);
139 if (sc->sc_supmedia != NULL) {
140 for (i = 0; i < sc->sc_nsupmedia; i++)
141 ifmedia_add(&sc
194 lance_attach(struct lance_softc *sc) argument
208 lance_detach(struct lance_softc *sc) argument
221 lance_suspend(struct lance_softc *sc) argument
230 lance_resume(struct lance_softc *sc) argument
242 struct lance_softc *sc = ifp->if_softc; local
250 lance_stop(struct lance_softc *sc) argument
269 struct lance_softc *sc = (struct lance_softc *)xsc; local
281 lance_init_locked(struct lance_softc *sc) argument
346 lance_put(struct lance_softc *sc, int boff, struct mbuf *m) argument
380 lance_get(struct lance_softc *sc, int boff, int totlen) argument
440 struct lance_softc *sc = (struct lance_softc *)xsc; local
458 struct lance_softc *sc = ifp->if_softc; local
481 struct lance_softc *sc = ifp->if_softc; local
504 struct lance_softc *sc = ifp->if_softc; local
584 lance_setladrf(struct lance_softc *sc, uint16_t *af) argument
638 lance_copytobuf_contig(struct lance_softc *sc, void *from, int boff, int len) argument
649 lance_copyfrombuf_contig(struct lance_softc *sc, void *to, int boff, int len) argument
660 lance_zerobuf_contig(struct lance_softc *sc, int boff, int len) argument
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8812a/
H A Dr12a_calib.c64 r12a_lc_calib(struct rtwn_softc *sc) argument
69 RTWN_DPRINTF(sc, RTWN_DEBUG_CALIB,
72 txmode = rtwn_read_1(sc, R12A_SINGLETONE_CONT_TX + 2);
82 rtwn_write_1(sc, R92C_TXPAUSE, R92C_TX_QUEUE_ALL);
86 rtwn_rf_setbits(sc, 0, R12A_RF_LCK, 0, R12A_RF_LCK_MODE);
89 chnlbw = rtwn_rf_read(sc, 0, R92C_RF_CHNLBW);
90 rtwn_rf_write(sc, 0, R92C_RF_CHNLBW, chnlbw | R92C_RF_CHNLBW_LCSTART);
93 rtwn_delay(sc, 150000); /* 150 ms */
96 rtwn_rf_setbits(sc, 0, R12A_RF_LCK, R12A_RF_LCK_MODE, 0);
107 rtwn_write_1(sc, R92C_TXPAUS
119 r12a_iq_calib_fw_supported(struct rtwn_softc *sc) argument
129 r12a_save_bb_afe_vals(struct rtwn_softc *sc, uint32_t vals[], const uint16_t regs[], int size) argument
142 r12a_restore_bb_afe_vals(struct rtwn_softc *sc, uint32_t vals[], const uint16_t regs[], int size) argument
155 r12a_save_rf_vals(struct rtwn_softc *sc, uint32_t vals[], const uint8_t regs[], int size) argument
169 r12a_restore_rf_vals(struct rtwn_softc *sc, uint32_t vals[], const uint8_t regs[], int size) argument
184 r12a_iq_tx(struct rtwn_softc *sc) argument
190 r12a_iq_config_mac(struct rtwn_softc *sc) argument
210 r12a_iq_calib_sw(struct rtwn_softc *sc) argument
276 r12a_iq_calib(struct rtwn_softc *sc) argument
[all...]
H A Dr12a_init.c66 r12a_check_condition(struct rtwn_softc *sc, const uint8_t cond[]) argument
68 struct r12a_softc *rs = sc->sc_priv;
72 RTWN_DPRINTF(sc, RTWN_DEBUG_RESET,
115 r12a_set_page_size(struct rtwn_softc *sc) argument
117 return (rtwn_setbits_1(sc, R92C_PBP, R92C_PBP_PSTX_M,
122 r12a_init_edca(struct rtwn_softc *sc) argument
124 r92c_init_edca(sc);
127 rtwn_write_1(sc, R92C_USTIME_TSF, 0x50);
128 rtwn_write_1(sc, R92C_USTIME_EDCA, 0x50);
132 r12a_init_bb(struct rtwn_softc *sc) argument
207 r12a_init_rf(struct rtwn_softc *sc) argument
218 r12a_crystalcap_write(struct rtwn_softc *sc) argument
231 r12a_rf_init_workaround(struct rtwn_softc *sc) argument
247 r12a_power_on(struct rtwn_softc *sc) argument
325 r12a_power_off(struct rtwn_softc *sc) argument
470 r12a_init_intr(struct rtwn_softc *sc) argument
477 r12a_init_antsel(struct rtwn_softc *sc) argument
[all...]
/haiku/src/add-ons/kernel/drivers/network/ether/dec21xxx/dev/de/
H A Dif_de.c129 static void tulip_addr_filter(tulip_softc_t * const sc);
134 static void tulip_init_locked(tulip_softc_t * const sc);
137 static void tulip_mii_autonegotiate(tulip_softc_t * const sc,
139 static int tulip_mii_map_abilities(tulip_softc_t * const sc,
142 tulip_mii_phy_readspecific(tulip_softc_t * const sc);
143 static unsigned tulip_mii_readreg(tulip_softc_t * const sc, unsigned devaddr,
145 static void tulip_mii_writereg(tulip_softc_t * const sc, unsigned devaddr,
147 static void tulip_reset(tulip_softc_t * const sc);
148 static void tulip_rx_intr(tulip_softc_t * const sc);
149 static int tulip_srom_decode(tulip_softc_t * const sc);
224 tulip_softc_t * const sc = arg; local
237 tulip_timeout(tulip_softc_t * const sc) argument
248 tulip_txprobe(tulip_softc_t * const sc) argument
293 tulip_media_set(tulip_softc_t * const sc, tulip_media_t media) argument
386 tulip_linkup(tulip_softc_t * const sc, tulip_media_t media) argument
439 tulip_media_print(tulip_softc_t * const sc) argument
457 tulip_21140_gpr_media_sense(tulip_softc_t * const sc) argument
520 tulip_media_link_monitor(tulip_softc_t * const sc) argument
630 tulip_media_poll(tulip_softc_t * const sc, tulip_mediapoll_event_t event) argument
919 tulip_media_select(tulip_softc_t * const sc) argument
942 tulip_21040_mediainfo_init(tulip_softc_t * const sc, tulip_media_t media) argument
965 tulip_21040_media_probe(tulip_softc_t * const sc) argument
973 tulip_21040_10baset_only_media_probe(tulip_softc_t * const sc) argument
982 tulip_21040_10baset_only_media_select(tulip_softc_t * const sc) argument
997 tulip_21040_auibnc_only_media_probe(tulip_softc_t * const sc) argument
1007 tulip_21040_auibnc_only_media_select(tulip_softc_t * const sc) argument
1036 tulip_21041_mediainfo_init(tulip_softc_t * const sc) argument
1057 tulip_21041_media_probe(tulip_softc_t * const sc) argument
1068 tulip_21041_media_poll(tulip_softc_t * const sc, const tulip_mediapoll_event_t event) argument
1277 tulip_mii_phy_readspecific(tulip_softc_t * const sc) argument
1339 tulip_mii_get_phyaddr(tulip_softc_t * const sc, unsigned offset) argument
1362 tulip_mii_map_abilities(tulip_softc_t * const sc, unsigned abilities) argument
1385 tulip_mii_autonegotiate(tulip_softc_t * const sc, const unsigned phyaddr) argument
1485 tulip_2114x_media_preset(tulip_softc_t * const sc) argument
1561 tulip_null_media_poll(tulip_softc_t * const sc, tulip_mediapoll_event_t event) argument
1572 tulip_21140_mediainit(tulip_softc_t * const sc, tulip_media_info_t * const mip, tulip_media_t const media, unsigned gpdata, unsigned cmdmode) argument
1583 tulip_21140_evalboard_media_probe(tulip_softc_t * const sc) argument
1628 tulip_21140_accton_media_probe(tulip_softc_t * const sc) argument
1682 tulip_21140_smc9332_media_probe(tulip_softc_t * const sc) argument
1738 tulip_21140_cogent_em100_media_probe(tulip_softc_t * const sc) argument
1785 tulip_21140_znyx_zx34x_media_probe(tulip_softc_t * const sc) argument
1842 tulip_2114x_media_probe(tulip_softc_t * const sc) argument
1867 tulip_srom_idle(tulip_softc_t * const sc) argument
1889 tulip_srom_read(tulip_softc_t * const sc) argument
1937 tulip_mii_writebits(tulip_softc_t * const sc, unsigned data, unsigned bits) argument
1958 tulip_mii_turnaround(tulip_softc_t * const sc, unsigned cmd) argument
1976 tulip_mii_readbits(tulip_softc_t * const sc) argument
1996 tulip_mii_readreg(tulip_softc_t * const sc, unsigned devaddr, unsigned regno) argument
2018 tulip_mii_writereg(tulip_softc_t * const sc, unsigned devaddr, unsigned regno, unsigned data) argument
2043 tulip_identify_dec_nic(tulip_softc_t * const sc) argument
2059 tulip_identify_znyx_nic(tulip_softc_t * const sc) argument
2153 tulip_identify_smc_nic(tulip_softc_t * const sc) argument
2202 tulip_identify_cogent_nic(tulip_softc_t * const sc) argument
2238 tulip_identify_accton_nic(tulip_softc_t * const sc) argument
2268 tulip_identify_asante_nic(tulip_softc_t * const sc) argument
2324 tulip_identify_compex_nic(tulip_softc_t * const sc) argument
2363 tulip_srom_decode(tulip_softc_t * const sc) argument
2746 tulip_read_macaddr(tulip_softc_t * const sc) argument
2947 tulip_ifmedia_add(tulip_softc_t * const sc) argument
2977 tulip_softc_t * const sc = (tulip_softc_t *)ifp->if_softc; local
3009 tulip_softc_t *sc = (tulip_softc_t *)ifp->if_softc; local
3026 tulip_addr_filter(tulip_softc_t * const sc) argument
3143 tulip_reset(tulip_softc_t * const sc) argument
3257 tulip_softc_t *sc = (tulip_softc_t *)arg; local
3265 tulip_init_locked(tulip_softc_t * const sc) argument
3321 tulip_rx_intr(tulip_softc_t * const sc) argument
3594 tulip_tx_intr(tulip_softc_t * const sc) argument
3739 tulip_print_abnormal_interrupt(tulip_softc_t * const sc, u_int32_t csr) argument
3768 tulip_intr_handler(tulip_softc_t * const sc) argument
3867 tulip_softc_t * sc = arg; local
3882 tulip_softc_t * sc = (tulip_softc_t *) arg; local
3893 tulip_txput(tulip_softc_t * const sc, struct mbuf *m) argument
4154 tulip_txput_setup(tulip_softc_t * const sc) argument
4291 tulip_start_locked(tulip_softc_t * const sc) argument
4393 tulip_attach(tulip_softc_t * const sc) argument
4474 tulip_busdma_allocring(device_t dev, tulip_softc_t * const sc, size_t count, bus_size_t align, int nsegs, tulip_ringinfo_t *ri, const char *name) argument
4537 tulip_busdma_cleanup(tulip_softc_t * const sc) argument
4563 tulip_busdma_init(device_t dev, tulip_softc_t * const sc) argument
4616 tulip_initcsrs(tulip_softc_t * const sc, tulip_csrptr_t csr_base, size_t csr_size) argument
4638 tulip_initring( device_t dev, tulip_softc_t * const sc, tulip_ringinfo_t * const ri, int ndescs) argument
4719 tulip_softc_t * const sc = device_get_softc(dev); local
4730 tulip_softc_t *sc; local
4924 tulip_softc_t *sc; local
4967 tulip_softc_t *sc; local
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8192c/
H A Dr92c_init.c57 r92c_check_condition(struct rtwn_softc *sc, const uint8_t cond[]) argument
59 struct r92c_softc *rs = sc->sc_priv;
66 RTWN_DPRINTF(sc, RTWN_DEBUG_RESET,
92 r92c_llt_init(struct rtwn_softc *sc) argument
97 for (i = 0; i < sc->page_count; i++) {
98 if ((error = r92c_llt_write(sc, i, i + 1)) != 0)
102 if ((error = r92c_llt_write(sc, i, 0xff)) != 0)
108 for (++i; i < sc->pktbuf_count - 1; i++) {
109 if ((error = r92c_llt_write(sc, i, i + 1)) != 0)
113 error = r92c_llt_write(sc,
118 r92c_set_page_size(struct rtwn_softc *sc) argument
125 r92c_init_bb_common(struct rtwn_softc *sc) argument
193 r92c_init_rf_chain(struct rtwn_softc *sc, const struct rtwn_rf_prog *rf_prog, int chain) argument
235 r92c_init_rf(struct rtwn_softc *sc) argument
288 r92c_init_edca(struct rtwn_softc *sc) argument
303 r92c_init_ampdu(struct rtwn_softc *sc) argument
313 r92c_init_antsel(struct rtwn_softc *sc) argument
328 r92c_pa_bias_init(struct rtwn_softc *sc) argument
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/
H A Dif_athdfs.h36 extern int ath_dfs_attach(struct ath_softc *sc);
37 extern int ath_dfs_detach(struct ath_softc *sc);
40 extern int ath_dfs_radar_disable(struct ath_softc *sc);
41 extern void ath_dfs_process_phy_err(struct ath_softc *sc, struct mbuf *m,
43 extern int ath_dfs_process_radar_event(struct ath_softc *sc,
45 extern int ath_dfs_tasklet_needed(struct ath_softc *sc,
47 extern int ath_ioctl_phyerr(struct ath_softc *sc, struct ath_diag *ad);
48 extern int ath_dfs_get_thresholds(struct ath_softc *sc,
H A Dif_ath_led.c124 ath_led_config(struct ath_softc *sc) argument
127 ATH_LOCK(sc);
128 ath_power_set_power_state(sc, HAL_PM_AWAKE);
129 ATH_UNLOCK(sc);
132 if (sc->sc_softled) {
133 ath_hal_gpioCfgOutput(sc->sc_ah, sc->sc_ledpin,
135 ath_hal_gpioset(sc->sc_ah, sc->sc_ledpin, !sc
162 struct ath_softc *sc = arg; local
174 struct ath_softc *sc = arg; local
184 ath_led_blink(struct ath_softc *sc, int on, int off) argument
194 ath_led_event(struct ath_softc *sc, int rix) argument
[all...]
H A Dif_ath_btcoex_mci.c86 static void ath_btcoex_mci_update_wlan_channels(struct ath_softc *sc);
89 ath_btcoex_mci_attach(struct ath_softc *sc) argument
94 error = ath_descdma_alloc_desc(sc, &sc->sc_btcoex.buf, NULL,
97 device_printf(sc->sc_dev, "%s: failed to alloc MCI RAM\n",
103 sc->sc_btcoex_mci = 1;
106 sc->sc_btcoex.wlan_channels[0] = 0x00000000;
107 sc->sc_btcoex.wlan_channels[1] = 0xffffffff;
108 sc->sc_btcoex.wlan_channels[2] = 0xffffffff;
109 sc
159 ath_btcoex_mci_detach(struct ath_softc *sc) argument
175 ath_btcoex_mci_enable(struct ath_softc *sc, const struct ieee80211_channel *chan) argument
206 ath_btcoex_mci_event(struct ath_softc *sc, ATH_BT_COEX_EVENT nevent, void *param) argument
245 ath_btcoex_mci_send_gpm(struct ath_softc *sc, uint32_t *payload) argument
256 ath_btcoex_mci_bt_cal_do(struct ath_softc *sc, int tx_timeout, int rx_timeout) argument
264 ath_btcoex_mci_cal_msg(struct ath_softc *sc, uint8_t opcode, uint8_t *rx_payload) argument
325 ath_btcoex_mci_update_wlan_channels(struct ath_softc *sc) argument
373 ath_btcoex_mci_coex_msg(struct ath_softc *sc, uint8_t opcode, uint8_t *rx_payload) argument
433 ath_btcoex_mci_intr(struct ath_softc *sc) argument
[all...]
H A Dif_ath_rx_edma.c151 static int ath_edma_rxfifo_alloc(struct ath_softc *sc, HAL_RX_QUEUE qtype,
153 static int ath_edma_rxfifo_flush(struct ath_softc *sc, HAL_RX_QUEUE qtype);
154 static void ath_edma_rxbuf_free(struct ath_softc *sc, struct ath_buf *bf);
155 static void ath_edma_recv_proc_queue(struct ath_softc *sc,
157 static int ath_edma_recv_proc_deferred_queue(struct ath_softc *sc,
161 ath_edma_stoprecv(struct ath_softc *sc, int dodelay) argument
163 struct ath_hal *ah = sc->sc_ah;
165 DPRINTF(sc, ATH_DEBUG_EDMA_RX, "%s: called, dodelay=%d\n",
168 ATH_RX_LOCK(sc);
177 sc
207 ath_edma_reinit_fifo(struct ath_softc *sc, HAL_RX_QUEUE qtype) argument
244 ath_edma_startrecv(struct ath_softc *sc) argument
314 ath_edma_recv_sched_queue(struct ath_softc *sc, HAL_RX_QUEUE qtype, int dosched) argument
337 ath_edma_recv_sched(struct ath_softc *sc, int dosched) argument
361 ath_edma_recv_flush(struct ath_softc *sc) argument
411 ath_edma_recv_proc_queue(struct ath_softc *sc, HAL_RX_QUEUE qtype, int dosched) argument
528 ath_edma_flush_deferred_queue(struct ath_softc *sc) argument
550 ath_edma_recv_proc_deferred_queue(struct ath_softc *sc, HAL_RX_QUEUE qtype, int dosched) argument
620 struct ath_softc *sc = (struct ath_softc *) arg; local
677 ath_edma_rxbuf_init(struct ath_softc *sc, struct ath_buf *bf) argument
756 ath_edma_rxbuf_alloc(struct ath_softc *sc) argument
791 ath_edma_rxbuf_free(struct ath_softc *sc, struct ath_buf *bf) argument
817 ath_edma_rxfifo_alloc(struct ath_softc *sc, HAL_RX_QUEUE qtype, int nbufs) argument
884 ath_edma_rxfifo_flush(struct ath_softc *sc, HAL_RX_QUEUE qtype) argument
918 ath_edma_setup_rxfifo(struct ath_softc *sc, HAL_RX_QUEUE qtype) argument
958 ath_edma_rxfifo_free(struct ath_softc *sc, HAL_RX_QUEUE qtype) argument
972 ath_edma_dma_rxsetup(struct ath_softc *sc) argument
993 ath_edma_dma_rxteardown(struct ath_softc *sc) argument
1014 ath_recv_setup_edma(struct ath_softc *sc) argument
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8192c/usb/
H A Dr92cu_init.c59 r92cu_init_bb(struct rtwn_softc *sc) argument
63 rtwn_setbits_2(sc, R92C_SYS_FUNC_EN, 0,
67 rtwn_write_2(sc, R92C_AFE_PLL_CTRL, 0xdb83);
69 rtwn_write_1(sc, R92C_RF_CTRL,
71 rtwn_write_1(sc, R92C_SYS_FUNC_EN,
75 rtwn_write_1(sc, R92C_LDOHCI12_CTRL, 0x0f);
76 rtwn_write_1(sc, 0x15, 0xe9);
77 rtwn_write_1(sc, R92C_AFE_XTAL_CTRL + 1, 0x80);
79 r92c_init_bb_common(sc);
83 r92cu_power_on(struct rtwn_softc *sc) argument
180 r92cu_power_off(struct rtwn_softc *sc) argument
321 r92cu_init_intr(struct rtwn_softc *sc) argument
328 r92cu_init_tx_agg(struct rtwn_softc *sc) argument
339 r92cu_init_rx_agg(struct rtwn_softc *sc) argument
356 r92cu_post_init(struct rtwn_softc *sc) argument
[all...]
/haiku/src/add-ons/kernel/drivers/network/ether/broadcom440x/dev/bfe/
H A Dif_bfe.c116 static void bfe_get_config (struct bfe_softc *sc);
129 static void bfe_dma_free (struct bfe_softc *sc);
191 bfe_dma_alloc(struct bfe_softc *sc) argument
202 error = bus_dma_tag_create(bus_get_dma_tag(sc->bfe_dev), /* parent */
212 &sc->bfe_parent_tag);
214 device_printf(sc->bfe_dev, "cannot create parent DMA tag.\n");
219 error = bus_dma_tag_create(sc->bfe_parent_tag, /* parent */
229 &sc->bfe_tx_tag);
231 device_printf(sc->bfe_dev, "cannot create Tx ring DMA tag.\n");
236 error = bus_dma_tag_create(sc
363 bfe_dma_free(struct bfe_softc *sc) argument
438 struct bfe_softc *sc; local
544 struct bfe_softc *sc; local
583 struct bfe_softc *sc; local
597 struct bfe_softc *sc; local
610 struct bfe_softc *sc; local
631 struct bfe_softc *sc; local
643 struct bfe_softc *sc; local
654 struct bfe_softc *sc; local
700 bfe_tx_ring_free(struct bfe_softc *sc) argument
720 bfe_rx_ring_free(struct bfe_softc *sc) argument
740 bfe_list_rx_init(struct bfe_softc *sc) argument
763 bfe_list_tx_init(struct bfe_softc *sc) argument
777 bfe_discard_buf(struct bfe_softc *sc, int c) argument
788 bfe_list_newbuf(struct bfe_softc *sc, int c) argument
843 bfe_get_config(struct bfe_softc *sc) argument
864 bfe_pci_setup(struct bfe_softc *sc, u_int32_t cores) argument
884 bfe_clear_stats(struct bfe_softc *sc) argument
898 bfe_resetphy(struct bfe_softc *sc) argument
913 bfe_chip_halt(struct bfe_softc *sc) argument
929 bfe_chip_reset(struct bfe_softc *sc) argument
1012 bfe_core_disable(struct bfe_softc *sc) argument
1034 bfe_core_reset(struct bfe_softc *sc) argument
1065 bfe_cam_write(struct bfe_softc *sc, u_char *data, int index) argument
1084 bfe_set_rx_mode(struct bfe_softc *sc) argument
1142 bfe_release_resources(struct bfe_softc *sc) argument
1160 bfe_read_eeprom(struct bfe_softc *sc, u_int8_t *data) argument
1170 bfe_wait_bit(struct bfe_softc *sc, u_int32_t reg, u_int32_t bit, u_long timeout, const int clear) argument
1194 bfe_readphy(struct bfe_softc *sc, u_int32_t reg, u_int32_t *val) argument
1212 bfe_writephy(struct bfe_softc *sc, u_int32_t reg, u_int32_t val) argument
1233 bfe_setupphy(struct bfe_softc *sc) argument
1250 bfe_stats_update(struct bfe_softc *sc) argument
1338 bfe_txeof(struct bfe_softc *sc) argument
1382 bfe_rxeof(struct bfe_softc *sc) argument
1449 struct bfe_softc *sc = xsc; local
1510 bfe_encap(struct bfe_softc *sc, struct mbuf **m_head) argument
1613 struct bfe_softc *sc; local
1694 struct bfe_softc *sc = (struct bfe_softc*)xsc; local
1739 struct bfe_softc *sc; local
1762 struct bfe_softc *sc = ifp->if_softc; local
1776 struct bfe_softc *sc = ifp->if_softc; local
1814 bfe_watchdog(struct bfe_softc *sc) argument
1838 struct bfe_softc *sc = xsc; local
1855 bfe_stop(struct bfe_softc *sc) argument
1875 struct bfe_softc *sc; local
[all...]
/haiku/src/add-ons/kernel/drivers/network/ether/dec21xxx/dev/dc/
H A Dif_dc.c366 #define DC_SETBIT(sc, reg, x) \
367 CSR_WRITE_4(sc, reg, CSR_READ_4(sc, reg) | (x))
369 #define DC_CLRBIT(sc, reg, x) \
370 CSR_WRITE_4(sc, reg, CSR_READ_4(sc, reg) & ~(x))
372 #define SIO_SET(x) DC_SETBIT(sc, DC_SIO, (x))
373 #define SIO_CLR(x) DC_CLRBIT(sc, DC_SIO, (x))
376 dc_delay(struct dc_softc *sc) argument
381 CSR_READ_4(sc, DC_BUSCT
385 dc_eeprom_width(struct dc_softc *sc) argument
449 dc_eeprom_idle(struct dc_softc *sc) argument
480 dc_eeprom_putbyte(struct dc_softc *sc, int addr) argument
520 dc_eeprom_getword_pnic(struct dc_softc *sc, int addr, uint16_t *dest) argument
543 dc_eeprom_getword_xircom(struct dc_softc *sc, int addr, uint16_t *dest) argument
562 dc_eeprom_getword(struct dc_softc *sc, int addr, uint16_t *dest) argument
608 dc_read_eeprom(struct dc_softc *sc, caddr_t dest, int off, int cnt, int be) argument
634 struct dc_softc *sc; local
649 struct dc_softc *sc; local
664 struct dc_softc *sc; local
773 struct dc_softc *sc; local
846 struct dc_softc *sc; local
889 struct dc_softc *sc; local
909 dc_mchash_le(struct dc_softc *sc, const uint8_t *addr) argument
966 dc_setfilt_21143(struct dc_softc *sc) argument
1040 dc_setfilt_admtek(struct dc_softc *sc) argument
1101 dc_setfilt_asix(struct dc_softc *sc) argument
1171 dc_setfilt_uli(struct dc_softc *sc) argument
1262 dc_setfilt_xircom(struct dc_softc *sc) argument
1336 dc_setfilt(struct dc_softc *sc) argument
1357 dc_netcfg_wait(struct dc_softc *sc) argument
1388 dc_setcfg(struct dc_softc *sc, int media) argument
1507 dc_reset(struct dc_softc *sc) argument
1594 dc_apply_fixup(struct dc_softc *sc, int media) argument
1624 dc_decode_leaf_sia(struct dc_softc *sc, struct dc_eblock_sia *l) argument
1673 dc_decode_leaf_sym(struct dc_softc *sc, struct dc_eblock_sym *l) argument
1699 dc_decode_leaf_mii(struct dc_softc *sc, struct dc_eblock_mii *l) argument
1727 dc_read_srom(struct dc_softc *sc, int bits) argument
1742 dc_parse_21143_srom(struct dc_softc *sc) argument
1812 dc_dma_alloc(struct dc_softc *sc) argument
1956 dc_dma_free(struct dc_softc *sc) argument
2022 struct dc_softc *sc; local
2527 struct dc_softc *sc; local
2584 dc_list_tx_init(struct dc_softc *sc) argument
2617 dc_list_rx_init(struct dc_softc *sc) argument
2646 dc_newbuf(struct dc_softc *sc, int i) argument
2748 dc_pnic_rx_bug_war(struct dc_softc *sc, int idx) argument
2813 dc_rx_resync(struct dc_softc *sc) argument
2838 dc_discard_rxbuf(struct dc_softc *sc, int i) argument
2858 dc_rxeof(struct dc_softc *sc) argument
2980 dc_txeof(struct dc_softc *sc) argument
3091 struct dc_softc *sc; local
3169 dc_tx_underrun(struct dc_softc *sc) argument
3230 struct dc_softc *sc = ifp->if_softc; local
3289 struct dc_softc *sc; local
3378 dc_encap(struct dc_softc *sc, struct mbuf **m_head) argument
3511 struct dc_softc *sc; local
3529 struct dc_softc *sc; local
3586 struct dc_softc *sc = xsc; local
3594 dc_init_locked(struct dc_softc *sc) argument
3792 struct dc_softc *sc; local
3803 dc_ifmedia_upd_locked(struct dc_softc *sc) argument
3832 struct dc_softc *sc; local
3857 struct dc_softc *sc = ifp->if_softc; local
3932 struct dc_softc *sc = xsc; local
3958 dc_stop(struct dc_softc *sc) argument
4040 struct dc_softc *sc; local
4059 struct dc_softc *sc; local
4083 struct dc_softc *sc; local
4095 dc_check_multiport(struct dc_softc *sc) argument
[all...]
/haiku/src/add-ons/kernel/drivers/network/ether/rdc/dev/vte/
H A Dif_vte.c175 struct vte_softc *sc; local
178 sc = device_get_softc(dev);
180 CSR_WRITE_2(sc, VTE_MMDIO, MMDIO_READ |
184 if ((CSR_READ_2(sc, VTE_MMDIO) & MMDIO_READ) == 0)
189 device_printf(sc->vte_dev, "phy read timeout : %d\n", reg);
193 return (CSR_READ_2(sc, VTE_MMRD));
199 struct vte_softc *sc; local
202 sc = device_get_softc(dev);
204 CSR_WRITE_2(sc, VTE_MMWD, val);
205 CSR_WRITE_2(sc, VTE_MMDI
222 struct vte_softc *sc; local
279 struct vte_softc *sc; local
299 struct vte_softc *sc; local
312 struct vte_softc *sc; local
357 vte_get_macaddr(struct vte_softc *sc) argument
379 struct vte_softc *sc; local
507 struct vte_softc *sc; local
554 vte_sysctl_node(struct vte_softc *sc) argument
662 vte_dma_alloc(struct vte_softc *sc) argument
860 vte_dma_free(struct vte_softc *sc) argument
945 struct vte_softc *sc; local
962 struct vte_softc *sc; local
979 vte_encap(struct vte_softc *sc, struct mbuf **m_head) argument
1104 struct vte_softc *sc; local
1113 vte_start_locked(struct vte_softc *sc) argument
1167 vte_watchdog(struct vte_softc *sc) argument
1188 struct vte_softc *sc; local
1232 vte_mac_config(struct vte_softc *sc) argument
1261 vte_stats_clear(struct vte_softc *sc) argument
1276 vte_stats_update(struct vte_softc *sc) argument
1314 struct vte_softc *sc; local
1340 struct vte_softc *sc; local
1385 vte_txeof(struct vte_softc *sc) argument
1437 vte_newbuf(struct vte_softc *sc, struct vte_rxdesc *rxd) argument
1497 vte_rxeof(struct vte_softc *sc) argument
1588 struct vte_softc *sc; local
1604 vte_reset(struct vte_softc *sc) argument
1631 struct vte_softc *sc; local
1640 vte_init_locked(struct vte_softc *sc) argument
1763 vte_stop(struct vte_softc *sc) argument
1824 vte_start_mac(struct vte_softc *sc) argument
1851 vte_stop_mac(struct vte_softc *sc) argument
1876 vte_init_tx_ring(struct vte_softc *sc) argument
1923 vte_init_rx_ring(struct vte_softc *sc) argument
1959 vte_rxfilter(struct vte_softc *sc) argument
[all...]
/haiku/src/add-ons/kernel/drivers/network/ether/dec21xxx/
H A Dglue_de.c28 struct tulip_softc *sc = device_get_softc(dev); local
34 status = TULIP_CSR_READ(sc, csr_status);
40 if (status != 0 && (status & sc->tulip_intrmask) == 0) {
41 TULIP_CSR_WRITE(sc, csr_status, status);
46 if ((status & sc->tulip_intrmask) == 0) {
51 TULIP_CSR_WRITE(sc, csr_intr, 0);
62 struct tulip_softc *sc = device_get_softc(dev); local
63 TULIP_LOCK(sc);
64 TULIP_CSR_WRITE(sc, csr_intr, sc
[all...]
/haiku/src/add-ons/kernel/drivers/network/ether/rtl8139/dev/rl/
H A Dif_rl.c193 static void rl_init_locked(struct rl_softc *sc);
268 CSR_WRITE_1(sc, RL_EECMD, \
269 CSR_READ_1(sc, RL_EECMD) | x)
272 CSR_WRITE_1(sc, RL_EECMD, \
273 CSR_READ_1(sc, RL_EECMD) & ~x)
279 rl_eeprom_putbyte(struct rl_softc *sc, int addr) argument
283 d = addr | sc->rl_eecmd_read;
306 rl_eeprom_getword(struct rl_softc *sc, int addr, uint16_t *dest) argument
312 CSR_WRITE_1(sc, RL_EECMD, RL_EEMODE_PROGRAM|RL_EE_SEL);
317 rl_eeprom_putbyte(sc, add
343 rl_read_eeprom(struct rl_softc *sc, uint8_t *dest, int off, int cnt, int swap) argument
364 struct rl_softc *sc; local
382 struct rl_softc *sc; local
394 struct rl_softc *sc; local
440 struct rl_softc *sc; local
482 struct rl_softc *sc; local
516 rl_rxfilter(struct rl_softc *sc) argument
564 rl_reset(struct rl_softc *sc) argument
641 struct rl_softc *sc; local
871 struct rl_softc *sc; local
917 rl_dma_alloc(struct rl_softc *sc) argument
1017 rl_dma_free(struct rl_softc *sc) argument
1061 rl_list_tx_init(struct rl_softc *sc) argument
1082 rl_list_rx_init(struct rl_softc *sc) argument
1117 rl_rxeof(struct rl_softc *sc) argument
1240 rl_txeof(struct rl_softc *sc) argument
1299 rl_twister_update(struct rl_softc *sc) argument
1400 struct rl_softc *sc = xsc; local
1441 struct rl_softc *sc = ifp->if_softc; local
1454 struct rl_softc *sc = ifp->if_softc; local
1490 struct rl_softc *sc = arg; local
1549 rl_encap(struct rl_softc *sc, struct mbuf **m_head) argument
1617 struct rl_softc *sc = ifp->if_softc; local
1627 struct rl_softc *sc = ifp->if_softc; local
1677 struct rl_softc *sc = xsc; local
1685 rl_init_locked(struct rl_softc *sc) argument
1783 struct rl_softc *sc = ifp->if_softc; local
1801 struct rl_softc *sc = ifp->if_softc; local
1818 struct rl_softc *sc = ifp->if_softc; local
1893 rl_watchdog(struct rl_softc *sc) argument
1915 rl_stop(struct rl_softc *sc) argument
1964 struct rl_softc *sc; local
1985 struct rl_softc *sc; local
2030 struct rl_softc *sc; local
2049 rl_setwol(struct rl_softc *sc) argument
2103 rl_clrwol(struct rl_softc *sc) argument
[all...]
/haiku/src/add-ons/kernel/drivers/network/ether/pcnet/dev/pcn/
H A Dif_pcn.c200 #define PCN_CSR_SETBIT(sc, reg, x) \
201 pcn_csr_write(sc, reg, pcn_csr_read(sc, reg) | (x))
203 #define PCN_CSR_CLRBIT(sc, reg, x) \
204 pcn_csr_write(sc, reg, pcn_csr_read(sc, reg) & ~(x))
206 #define PCN_BCR_SETBIT(sc, reg, x) \
207 pcn_bcr_write(sc, reg, pcn_bcr_read(sc, reg) | (x))
209 #define PCN_BCR_CLRBIT(sc, re
275 struct pcn_softc *sc; local
321 struct pcn_softc *sc; local
335 struct pcn_softc *sc; local
436 struct pcn_softc *sc; local
509 struct pcn_softc *sc; local
558 struct pcn_softc *sc; local
701 struct pcn_softc *sc; local
961 struct pcn_softc *sc; local
995 struct pcn_softc *sc; local
1099 struct pcn_softc *sc; local
1111 struct pcn_softc *sc; local
1162 struct pcn_softc *sc; local
1187 struct pcn_softc *sc = xsc; local
1320 struct pcn_softc *sc; local
1354 struct pcn_softc *sc; local
1375 struct pcn_softc *sc = ifp->if_softc; local
1435 pcn_watchdog(struct pcn_softc *sc) argument
1458 pcn_stop(struct pcn_softc *sc) argument
1512 struct pcn_softc *sc; local
[all...]
/haiku/src/add-ons/kernel/drivers/network/ether/vt612x/dev/vge/
H A Dif_vge.c241 vge_eeprom_getword(struct vge_softc *sc, int addr, uint16_t *dest) argument
251 CSR_SETBIT_1(sc, VGE_CHIPCFG2, VGE_CHIPCFG2_EELOAD);
252 CSR_SETBIT_1(sc, VGE_EECSR, VGE_EECSR_EMBP/*|VGE_EECSR_ECS*/);
255 CSR_WRITE_1(sc, VGE_EEADDR, addr);
258 CSR_SETBIT_1(sc, VGE_EECMD, VGE_EECMD_ERD);
262 if (CSR_READ_1(sc, VGE_EECMD) & VGE_EECMD_EDONE)
267 device_printf(sc->vge_dev, "EEPROM read timed out\n");
273 word = CSR_READ_2(sc, VGE_EERDDAT);
276 CSR_CLRBIT_1(sc, VGE_EECSR, VGE_EECSR_EMBP/*|VGE_EECSR_ECS*/);
277 CSR_CLRBIT_1(sc, VGE_CHIPCFG
287 vge_read_eeprom(struct vge_softc *sc, caddr_t dest, int off, int cnt, int swap) argument
308 vge_miipoll_stop(struct vge_softc *sc) argument
325 vge_miipoll_start(struct vge_softc *sc) argument
364 struct vge_softc *sc; local
398 struct vge_softc *sc; local
432 vge_cam_clear(struct vge_softc *sc) argument
462 vge_cam_set(struct vge_softc *sc, uint8_t *addr) argument
516 vge_setvlan(struct vge_softc *sc) argument
538 vge_rxfilter(struct vge_softc *sc) argument
612 vge_reset(struct vge_softc *sc) argument
679 vge_dma_alloc(struct vge_softc *sc) argument
909 vge_dma_free(struct vge_softc *sc) argument
993 struct vge_softc *sc; local
1164 struct vge_softc *sc; local
1208 vge_discard_rxbuf(struct vge_softc *sc, int prod) argument
1235 vge_newbuf(struct vge_softc *sc, int prod) argument
1305 vge_tx_list_init(struct vge_softc *sc) argument
1333 vge_rx_list_init(struct vge_softc *sc) argument
1371 vge_freebufs(struct vge_softc *sc) argument
1432 vge_rxeof(struct vge_softc *sc, int count) argument
1604 vge_txeof(struct vge_softc *sc) argument
1659 struct vge_softc *sc; local
1702 struct vge_softc *sc = ifp->if_softc; local
1748 struct vge_softc *sc; local
1812 vge_encap(struct vge_softc *sc, struct mbuf **m_head) argument
1941 struct vge_softc *sc; local
1953 struct vge_softc *sc; local
2015 struct vge_softc *sc = xsc; local
2023 vge_init_locked(struct vge_softc *sc) argument
2160 struct vge_softc *sc; local
2172 vge_ifmedia_upd_locked(struct vge_softc *sc) argument
2193 struct vge_softc *sc; local
2211 vge_setmedia(struct vge_softc *sc) argument
2258 struct vge_softc *sc = ifp->if_softc; local
2373 struct vge_softc *sc; local
2399 vge_stop(struct vge_softc *sc) argument
2431 struct vge_softc *sc; local
2452 struct vge_softc *sc; local
2498 vge_sysctl_node(struct vge_softc *sc) argument
2613 vge_stats_clear(struct vge_softc *sc) argument
2633 vge_stats_update(struct vge_softc *sc) argument
2733 vge_intr_holdoff(struct vge_softc *sc) argument
2781 vge_setlinkspeed(struct vge_softc *sc) argument
2843 vge_setwol(struct vge_softc *sc) argument
2908 vge_clrwol(struct vge_softc *sc) argument
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/iprowifi2100/dev/ipw/
H A Dif_ipw.c229 struct ipw_softc *sc = device_get_softc(dev); local
230 struct ieee80211com *ic = &sc->sc_ic;
234 sc->sc_dev = dev;
236 mtx_init(&sc->sc_mtx, device_get_nameunit(dev), MTX_NETWORK_LOCK,
238 mbufq_init(&sc->sc_snd, ifqmaxlen);
239 TASK_INIT(&sc->sc_init_task, 0, ipw_init_task, sc);
240 callout_init_mtx(&sc->sc_wdtimer, &sc->sc_mtx, 0);
248 sc
370 struct ipw_softc *sc = device_get_softc(dev); local
406 struct ipw_softc *sc = ic->ic_softc; local
489 ipw_dma_alloc(struct ipw_softc *sc) argument
718 ipw_release(struct ipw_softc *sc) argument
791 struct ipw_softc *sc = device_get_softc(dev); local
801 struct ipw_softc *sc = device_get_softc(dev); local
811 struct ipw_softc *sc = device_get_softc(dev); local
841 struct ipw_softc *sc = ic->ic_softc; local
854 struct ipw_softc *sc = ic->ic_softc; local
916 ipw_read_prom_word(struct ipw_softc *sc, uint8_t addr) argument
968 ipw_read_chanmask(struct ipw_softc *sc) argument
981 ipw_rx_cmd_intr(struct ipw_softc *sc, struct ipw_soft_buf *sbuf) argument
999 ipw_rx_newstate_intr(struct ipw_softc *sc, struct ipw_soft_buf *sbuf) argument
1102 ipw_setcurchan(struct ipw_softc *sc, struct ieee80211_channel *chan) argument
1115 ipw_fix_channel(struct ipw_softc *sc, struct mbuf *m) argument
1159 ipw_rx_data_intr(struct ipw_softc *sc, struct ipw_status *status, struct ipw_soft_bd *sbd, struct ipw_soft_buf *sbuf) argument
1244 ipw_rx_intr(struct ipw_softc *sc) argument
1303 ipw_release_sbd(struct ipw_softc *sc, struct ipw_soft_bd *sbd) argument
1342 ipw_tx_intr(struct ipw_softc *sc) argument
1365 ipw_fatal_error_intr(struct ipw_softc *sc) argument
1382 struct ipw_softc *sc = arg; local
1482 ipw_cmd(struct ipw_softc *sc, uint32_t type, void *data, uint32_t len) argument
1555 ipw_tx_start(struct ipw_softc *sc, struct mbuf *m0, struct ieee80211_node *ni) argument
1714 struct ipw_softc *sc = ic->ic_softc; local
1733 ipw_start(struct ipw_softc *sc) argument
1757 struct ipw_softc *sc = arg; local
1788 struct ipw_softc *sc = ic->ic_softc; local
1805 ipw_stop_master(struct ipw_softc *sc) argument
1830 ipw_reset(struct ipw_softc *sc) argument
1862 ipw_waitfordisable(struct ipw_softc *sc, int waitfor) argument
1880 ipw_enable(struct ipw_softc *sc) argument
1898 ipw_disable(struct ipw_softc *sc) argument
1919 ipw_load_ucode(struct ipw_softc *sc, const char *uc, int size) argument
1971 ipw_load_firmware(struct ipw_softc *sc, const char *fw, int size) argument
2015 ipw_setwepkeys(struct ipw_softc *sc) argument
2045 ipw_setwpaie(struct ipw_softc *sc, const void *ie, int ielen) argument
2058 ipw_setbssid(struct ipw_softc *sc, uint8_t *bssid) argument
2073 ipw_setssid(struct ipw_softc *sc, void *ssid, size_t ssidlen) argument
2101 ipw_setscanopts(struct ipw_softc *sc, uint32_t chanmask, uint32_t flags) argument
2112 ipw_scan(struct ipw_softc *sc) argument
2158 ipw_setchannel(struct ipw_softc *sc, struct ieee80211_channel *chan) argument
2175 struct ipw_softc *sc = ic->ic_softc; local
2267 struct ipw_softc *sc = ic->ic_softc; local
2300 struct ipw_softc *sc = priv; local
2312 ipw_init_locked(struct ipw_softc *sc) argument
2408 ipw_config(struct ipw_softc *sc) argument
2503 struct ipw_softc *sc = priv; local
2511 ipw_stop_locked(struct ipw_softc *sc) argument
2535 struct ipw_softc *sc = arg1; local
2555 struct ipw_softc *sc = arg1; local
2565 ipw_read_table1(struct ipw_softc *sc, uint32_t off) argument
2571 ipw_write_table1(struct ipw_softc *sc, uint32_t off, uint32_t info) argument
2615 ipw_write_mem_1(struct ipw_softc *sc, bus_size_t offset, const uint8_t *datap, bus_size_t count) argument
2627 struct ipw_softc *sc = ic->ic_softc; local
2638 struct ipw_softc *sc = ic->ic_softc; local
2657 struct ipw_softc *sc = ic->ic_softc; local
2683 struct ipw_softc *sc = ic->ic_softc; local
[all...]
/haiku/src/add-ons/kernel/drivers/network/ether/broadcom570x/dev/bge/
H A Dif_bge.c365 #define BGE_IS_JUMBO_CAPABLE(sc) ((sc)->bge_flags & BGE_FLAG_JUMBO)
366 #define BGE_IS_5700_FAMILY(sc) ((sc)->bge_flags & BGE_FLAG_5700_FAMILY)
367 #define BGE_IS_5705_PLUS(sc) ((sc)->bge_flags & BGE_FLAG_5705_PLUS)
368 #define BGE_IS_5714_FAMILY(sc) ((sc)->bge_flags & BGE_FLAG_5714_FAMILY)
369 #define BGE_IS_575X_PLUS(sc) ((sc)
552 bge_has_eaddr(struct bge_softc *sc) argument
558 bge_readmem_ind(struct bge_softc *sc, int off) argument
576 bge_writemem_ind(struct bge_softc *sc, int off, int val) argument
593 bge_readreg_ind(struct bge_softc *sc, int off) argument
605 bge_writereg_ind(struct bge_softc *sc, int off, int val) argument
616 bge_writemem_direct(struct bge_softc *sc, int off, int val) argument
626 bge_writembx(struct bge_softc *sc, int off, int val) argument
640 bge_ape_lock_init(struct bge_softc *sc) argument
692 bge_ape_read_fw_ver(struct bge_softc *sc) argument
736 bge_ape_lock(struct bge_softc *sc, int locknum) argument
816 bge_ape_unlock(struct bge_softc *sc, int locknum) argument
869 bge_ape_send_event(struct bge_softc *sc, uint32_t event) argument
899 bge_ape_driver_state_change(struct bge_softc *sc, int kind) argument
967 bge_nvram_getbyte(struct bge_softc *sc, int addr, uint8_t *dest) argument
1020 bge_read_nvram(struct bge_softc *sc, caddr_t dest, int off, int cnt) argument
1045 bge_eeprom_getbyte(struct bge_softc *sc, int addr, uint8_t *dest) argument
1088 bge_read_eeprom(struct bge_softc *sc, caddr_t dest, int off, int cnt) argument
1106 struct bge_softc *sc; local
1160 struct bge_softc *sc; local
1210 struct bge_softc *sc; local
1282 bge_newbuf_std(struct bge_softc *sc, int i) argument
1341 bge_newbuf_jumbo(struct bge_softc *sc, int i) argument
1424 bge_init_rx_ring_std(struct bge_softc *sc) argument
1446 bge_free_rx_ring_std(struct bge_softc *sc) argument
1466 bge_init_rx_ring_jumbo(struct bge_softc *sc) argument
1496 bge_free_rx_ring_jumbo(struct bge_softc *sc) argument
1516 bge_free_tx_ring(struct bge_softc *sc) argument
1539 bge_init_tx_ring(struct bge_softc *sc) argument
1566 bge_setpromisc(struct bge_softc *sc) argument
1594 bge_setmulti(struct bge_softc *sc) argument
1621 bge_setvlan(struct bge_softc *sc) argument
1637 bge_sig_pre_reset(struct bge_softc *sc, int type) argument
1668 bge_sig_post_reset(struct bge_softc *sc, int type) argument
1689 bge_sig_legacy(struct bge_softc *sc, int type) argument
1707 bge_stop_fw(struct bge_softc *sc) argument
1726 bge_dma_swap_options(struct bge_softc *sc) argument
1742 bge_chipinit(struct bge_softc *sc) argument
1929 bge_blockinit(struct bge_softc *sc) argument
2714 struct bge_softc *sc; local
2750 bge_dma_free(struct bge_softc *sc) argument
2874 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) argument
2934 bge_dma_alloc(struct bge_softc *sc) argument
3144 bge_has_multiple_ports(struct bge_softc *sc) argument
3163 bge_can_use_msi(struct bge_softc *sc) argument
3211 bge_mbox_reorder(struct bge_softc *sc) argument
3254 bge_devinfo(struct bge_softc *sc) argument
3310 struct bge_softc *sc; local
3955 struct bge_softc *sc; local
3990 bge_release_resources(struct bge_softc *sc) argument
4026 bge_reset(struct bge_softc *sc) argument
4280 bge_rxreuse_std(struct bge_softc *sc, int i) argument
4292 bge_rxreuse_jumbo(struct bge_softc *sc, int i) argument
4316 bge_rxeof(struct bge_softc *sc, uint16_t rx_prod, int holdlck) argument
4463 bge_rxcsum(struct bge_softc *sc, struct bge_rx_bd *cur_rx, struct mbuf *m) argument
4498 bge_txeof(struct bge_softc *sc, uint16_t tx_cons) argument
4546 struct bge_softc *sc = if_getsoftc(ifp); local
4600 struct bge_softc *sc; local
4614 struct bge_softc *sc; local
4671 struct bge_softc *sc; local
4750 bge_asf_driver_up(struct bge_softc *sc) argument
4773 struct bge_softc *sc = xsc; local
4826 bge_stats_update_regs(struct bge_softc *sc) argument
4948 bge_stats_clear_regs(struct bge_softc *sc) argument
4990 bge_stats_update(struct bge_softc *sc) argument
5103 bge_setup_tso(struct bge_softc *sc, struct mbuf *m, uint16_t *mss, uint16_t *flags) argument
5179 bge_encap(struct bge_softc *sc, struct mbuf **m_head, uint32_t *txidx) argument
5347 struct bge_softc *sc; local
5397 bge_start_tx(struct bge_softc *sc, uint32_t prodidx) argument
5421 struct bge_softc *sc; local
5430 bge_init_locked(struct bge_softc *sc) argument
5609 struct bge_softc *sc = xsc; local
5622 struct bge_softc *sc = if_getsoftc(ifp); local
5635 struct bge_softc *sc = if_getsoftc(ifp); local
5720 struct bge_softc *sc = if_getsoftc(ifp); local
5760 struct bge_softc *sc = if_getsoftc(ifp); local
5917 bge_watchdog(struct bge_softc *sc) argument
5965 bge_stop_block(struct bge_softc *sc, bus_size_t reg, uint32_t bit) argument
5983 bge_stop(struct bge_softc *sc) argument
6085 struct bge_softc *sc; local
6098 struct bge_softc *sc; local
6111 struct bge_softc *sc; local
6128 bge_link_upd(struct bge_softc *sc) argument
6249 bge_add_sysctls(struct bge_softc *sc) argument
6328 bge_add_sysctl_stats(struct bge_softc *sc, struct sysctl_ctx_list *ctx, struct sysctl_oid_list *parent) argument
6457 bge_add_sysctl_stats_regs(struct bge_softc *sc, struct sysctl_ctx_list *ctx, struct sysctl_oid_list *parent) argument
6554 struct bge_softc *sc; local
6569 struct bge_softc *sc; local
6642 struct bge_softc *sc; local
6664 struct bge_softc *sc; local
6686 struct bge_softc *sc; local
6707 bge_get_eaddr_fw(struct bge_softc *sc, uint8_t ether_addr[]) argument
6713 bge_get_eaddr_mem(struct bge_softc *sc, uint8_t ether_addr[]) argument
6732 bge_get_eaddr_nvram(struct bge_softc *sc, uint8_t ether_addr[]) argument
6744 bge_get_eaddr_eeprom(struct bge_softc *sc, uint8_t ether_addr[]) argument
6755 bge_get_eaddr(struct bge_softc *sc, uint8_t eaddr[]) argument
6777 struct bge_softc *sc; local
6800 struct bge_softc *sc; local
6823 struct bge_softc *sc; local
6842 struct bge_softc *sc; local
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8188e/
H A Dr88e_calib.c68 r88e_iq_calib_chain(struct rtwn_softc *sc, uint16_t tx[2], uint16_t rx[2]) argument
73 rtwn_bb_write(sc, R92C_FPGA0_IQK, 0);
74 rtwn_rf_write(sc, 0, R88E_RF_WE_LUT, 0x800a0);
75 rtwn_rf_write(sc, 0, R92C_RF_RCK_OS, 0x30000);
76 rtwn_rf_write(sc, 0, R92C_RF_TXPA_G(0), 0xf);
77 rtwn_rf_write(sc, 0, R92C_RF_TXPA_G(1), 0xf117b);
78 rtwn_bb_write(sc, R92C_FPGA0_IQK, 0x80800000);
81 rtwn_bb_write(sc, R92C_TX_IQK, 0x01007c00);
82 rtwn_bb_write(sc, R92C_RX_IQK, 0x81004800);
85 rtwn_bb_write(sc, R92C_TX_IQK_TON
158 r88e_iq_calib_run(struct rtwn_softc *sc, int n, uint16_t tx[2], uint16_t rx[2], struct r88e_iq_cal_reg_vals *vals) argument
291 r88e_iq_calib_compare_results(struct rtwn_softc *sc, uint16_t tx1[2], uint16_t rx1[2], uint16_t tx2[2], uint16_t rx2[2]) argument
311 r88e_iq_calib_write_results(struct rtwn_softc *sc, uint16_t tx[2], uint16_t rx[2]) argument
354 r88e_iq_calib(struct rtwn_softc *sc) argument
383 r88e_temp_measure(struct rtwn_softc *sc) argument
389 r88e_temp_read(struct rtwn_softc *sc) argument
[all...]

Completed in 221 milliseconds

1234567891011>>