Searched refs:sc (Results 101 - 125 of 354) sorted by relevance

1234567891011>>

/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/
H A Dif_rtwn_efuse.c55 rtwn_efuse_switch_power(struct rtwn_softc *sc) argument
60 error = rtwn_write_1(sc, R92C_EFUSE_ACCESS, R92C_EFUSE_ACCESS_ON);
64 reg = rtwn_read_2(sc, R92C_SYS_FUNC_EN);
66 error = rtwn_write_2(sc, R92C_SYS_FUNC_EN,
71 reg = rtwn_read_2(sc, R92C_SYS_CLKR);
74 error = rtwn_write_2(sc, R92C_SYS_CLKR,
84 rtwn_efuse_read_next(struct rtwn_softc *sc, uint8_t *val) argument
89 if (sc->next_rom_addr >= sc->efuse_maxlen)
92 reg = rtwn_read_4(sc, R92C_EFUSE_CTR
120 rtwn_efuse_read_data(struct rtwn_softc *sc, uint8_t *rom, uint8_t off, uint8_t msk) argument
154 rtwn_dump_rom_contents(struct rtwn_softc *sc, uint8_t *rom, uint16_t size) argument
173 rtwn_efuse_read(struct rtwn_softc *sc, uint8_t *rom, uint16_t size) argument
226 rtwn_efuse_read_prepare(struct rtwn_softc *sc, uint8_t *rom, uint16_t size) argument
243 rtwn_read_rom(struct rtwn_softc *sc) argument
[all...]
H A Dif_rtwn_rx.c58 rtwn_get_rates(struct rtwn_softc *sc, const struct ieee80211_rateset *rs, argument
99 RTWN_DPRINTF(sc, RTWN_DEBUG_RA,
109 rtwn_set_basicrates(struct rtwn_softc *sc, uint32_t rates) argument
112 RTWN_DPRINTF(sc, RTWN_DEBUG_RA, "%s: rates 0x%08X\n", __func__, rates);
114 rtwn_setbits_4(sc, R92C_RRSR, R92C_RRSR_RATE_BITMAP_M, rates);
118 rtwn_update_avgrssi(struct rtwn_softc *sc, struct rtwn_node *un, int8_t rssi, argument
152 RTWN_DPRINTF(sc, RTWN_DEBUG_RSSI,
157 rtwn_get_rssi(struct rtwn_softc *sc, void *physt, int is_cck) argument
162 rssi = rtwn_get_rssi_cck(sc, physt);
164 rssi = rtwn_get_rssi_ofdm(sc, phys
170 rtwn_get_tsf_low(struct rtwn_softc *sc, int id) argument
176 rtwn_get_tsf_high(struct rtwn_softc *sc, int id) argument
182 rtwn_get_tsf(struct rtwn_softc *sc, uint64_t *buf, int id) argument
191 rtwn_extend_rx_tsf(struct rtwn_softc *sc, const struct rtwn_rx_stat_common *stat) argument
236 rtwn_rx_common(struct rtwn_softc *sc, struct mbuf *m, void *desc) argument
332 struct rtwn_softc *sc = vap->iv_ic->ic_softc; local
381 rtwn_set_multi(struct rtwn_softc *sc) argument
409 rtwn_rxfilter_update_mgt(struct rtwn_softc *sc) argument
429 rtwn_rxfilter_update(struct rtwn_softc *sc) argument
442 rtwn_rxfilter_init(struct rtwn_softc *sc) argument
466 rtwn_rxfilter_set(struct rtwn_softc *sc) argument
473 rtwn_set_rx_bssid_all(struct rtwn_softc *sc, int enable) argument
484 rtwn_set_promisc(struct rtwn_softc *sc) argument
[all...]
H A Dif_rtwn_beacon.c51 rtwn_reset_beacon_valid(struct rtwn_softc *sc, int id) argument
57 rtwn_setbits_1_shift(sc, sc->bcn_status_reg[id],
60 RTWN_DPRINTF(sc, RTWN_DEBUG_BEACON,
66 rtwn_check_beacon_valid(struct rtwn_softc *sc, int id) argument
74 reg = sc->bcn_status_reg[id];
76 if (rtwn_read_4(sc, reg) & R92C_TDECTRL_BCN_VALID) {
77 RTWN_DPRINTF(sc, RTWN_DEBUG_BEACON,
82 rtwn_delay(sc, sc
91 rtwn_switch_bcnq(struct rtwn_softc *sc, int id) argument
108 rtwn_setup_beacon(struct rtwn_softc *sc, struct ieee80211_node *ni) argument
144 rtwn_tx_beacon(struct rtwn_softc *sc, struct rtwn_vap *uvp) argument
163 struct rtwn_softc *sc = ic->ic_softc; local
225 struct rtwn_softc *sc = ic->ic_softc; local
245 rtwn_tx_beacon_check(struct rtwn_softc *sc, struct rtwn_vap *uvp) argument
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8192e/usb/
H A Dr92eu_init.c62 r92eu_init_rx_agg(struct rtwn_softc *sc) argument
64 struct r92e_softc *rs = sc->sc_priv;
67 rtwn_setbits_1(sc, R12A_RXDMA_PRO, 0x20, 0x1e);
68 rtwn_write_4(sc, R92C_RXDMA_AGG_PG_TH,
70 rtwn_setbits_1(sc, R92C_TRXDMA_CTRL, 0,
75 r92eu_post_init(struct rtwn_softc *sc) argument
79 rtwn_setbits_1(sc, R92C_QUEUE_CTRL, 0x08, 0);
82 rtwn_write_1(sc, R92C_ACLK_MON, 0);
84 rtwn_write_1(sc, R92C_USB_HRPWM, 0);
87 if (sc
[all...]
/haiku/src/add-ons/kernel/drivers/network/ether/dec21xxx/dev/mii/
H A Dacphy.c133 struct mii_softc *sc; local
135 sc = device_get_softc(dev);
139 PHY_RESET(sc);
141 sc->mii_capabilities = PHY_READ(sc, MII_BMSR) & sc->mii_capmask;
144 #define ADD(m) ifmedia_add(&sc->mii_pdata->mii_media, (m), 0, NULL)
145 if ((PHY_READ(sc, MII_ACPHY_MCTL) & AC_MCTL_FX_SEL) != 0) {
146 sc->mii_flags |= MIIF_HAVEFIBER;
147 ADD(IFM_MAKEWORD(IFM_ETHER, IFM_100_FX, 0, sc
162 acphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument
195 acphy_status(struct mii_softc *sc) argument
241 acphy_reset(struct mii_softc *sc) argument
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/marvell88w8363/dev/mwl/
H A Dif_mwl.c91 static int mwl_hal_reset(struct mwl_softc *sc);
138 static void mwl_txq_init(struct mwl_softc *sc, struct mwl_txq *, int);
172 static int allocstaid(struct mwl_softc *sc, int aid);
173 static void delstaid(struct mwl_softc *sc, int staid);
232 #define IFF_DUMPPKTS_RECV(sc, wh) \
233 ((sc->sc_debug & MWL_DEBUG_RECV) && \
234 ((sc->sc_debug & MWL_DEBUG_RECV_ALL) || !IS_BEACON(wh)))
235 #define IFF_DUMPPKTS_XMIT(sc) \
236 (sc->sc_debug & MWL_DEBUG_XMIT)
238 #define DPRINTF(sc,
275 RD4(struct mwl_softc *sc, bus_size_t off) argument
282 WR4(struct mwl_softc *sc, bus_size_t off, uint32_t val) argument
288 mwl_attach(uint16_t devid, struct mwl_softc *sc) argument
525 mwl_detach(struct mwl_softc *sc) argument
562 assign_address(struct mwl_softc *sc, uint8_t mac[IEEE80211_ADDR_LEN], int clone) argument
581 reclaim_address(struct mwl_softc *sc, const uint8_t mac[IEEE80211_ADDR_LEN]) argument
594 struct mwl_softc *sc = ic->ic_softc; local
720 struct mwl_softc *sc = vap->iv_ic->ic_softc; local
758 mwl_suspend(struct mwl_softc *sc) argument
767 mwl_resume(struct mwl_softc *sc) argument
783 struct mwl_softc *sc = arg; local
796 struct mwl_softc *sc = arg; local
856 struct mwl_softc *sc = arg; local
873 struct mwl_softc *sc = arg; local
897 struct mwl_softc *sc = arg; local
970 mwl_setupdma(struct mwl_softc *sc) argument
1000 mwl_setcurchanrates(struct mwl_softc *sc) argument
1113 mwl_hal_reset(struct mwl_softc *sc) argument
1137 mwl_init(struct mwl_softc *sc) argument
1194 mwl_stop(struct mwl_softc *sc) argument
1251 struct mwl_softc *sc = ic->ic_softc; local
1269 mwl_gettxbuf(struct mwl_softc *sc, struct mwl_txq *txq) argument
1320 struct mwl_softc *sc = ic->ic_softc; local
1339 mwl_start(struct mwl_softc *sc) argument
1421 struct mwl_softc *sc = ic->ic_softc; local
1487 mwl_keyprint(struct mwl_softc *sc, const char *tag, const MWL_HAL_KEYVAL *hk, const uint8_t mac[IEEE80211_ADDR_LEN]) argument
1522 struct mwl_softc *sc = vap->iv_ic->ic_softc; local
1550 struct mwl_softc *sc = vap->iv_ic->ic_softc; local
1623 struct mwl_softc *sc = vap->iv_ic->ic_softc; local
1724 mwl_setmcastfilter(struct mwl_softc *sc) argument
1753 mwl_mode_init(struct mwl_softc *sc) argument
1770 struct mwl_softc *sc = ic->ic_softc; local
1785 struct mwl_softc *sc = ic->ic_softc; local
1799 struct mwl_softc *sc = ic->ic_softc; local
1921 mwl_desc_setup(struct mwl_softc *sc, const char *name, struct mwl_descdma *dd, int nbuf, size_t bufsize, int ndesc, size_t descsize) argument
1994 mwl_desc_cleanup(struct mwl_softc *sc, struct mwl_descdma *dd) argument
2011 mwl_txq_reset(struct mwl_softc *sc, struct mwl_txq *txq) argument
2027 mwl_txdma_setup(struct mwl_softc *sc, struct mwl_txq *txq) argument
2066 mwl_txdma_cleanup(struct mwl_softc *sc, struct mwl_txq *txq) argument
2089 mwl_rxdma_setup(struct mwl_softc *sc) argument
2194 mwl_rxdma_cleanup(struct mwl_softc *sc) argument
2213 mwl_dma_setup(struct mwl_softc *sc) argument
2234 mwl_dma_cleanup(struct mwl_softc *sc) argument
2247 struct mwl_softc *sc = ic->ic_softc; local
2264 struct mwl_softc *sc = ic->ic_softc; local
2359 struct mwl_softc *sc = ic->ic_softc; local
2450 mwl_getrxdma(struct mwl_softc *sc) argument
2475 mwl_putrxdma(struct mwl_softc *sc, void *data) argument
2488 mwl_rxbuf_init(struct mwl_softc *sc, struct mwl_rxbuf *bf) argument
2529 struct mwl_softc *sc = arg; local
2611 struct mwl_softc *sc = arg; local
2830 mwl_txq_init(struct mwl_softc *sc, struct mwl_txq *txq, int qnum) argument
2860 mwl_tx_setup(struct mwl_softc *sc, int ac, int mvtype) argument
2884 mwl_txq_update(struct mwl_softc *sc, int ac) argument
2919 struct mwl_softc *sc = ic->ic_softc; local
2931 mwl_tx_cleanupq(struct mwl_softc *sc, struct mwl_txq *txq) argument
2941 mwl_tx_cleanup(struct mwl_softc *sc) argument
2950 mwl_tx_dmasetup(struct mwl_softc *sc, struct mwl_txbuf *bf, struct mbuf *m0) argument
3072 mwl_tx_start(struct mwl_softc *sc, struct ieee80211_node *ni, struct mwl_txbuf *bf, struct mbuf *m0) argument
3323 mwl_tx_processq(struct mwl_softc *sc, struct mwl_txq *txq) argument
3417 struct mwl_softc *sc = arg; local
3444 mwl_tx_draintxq(struct mwl_softc *sc, struct mwl_txq *txq) argument
3491 mwl_draintxq(struct mwl_softc *sc) argument
3505 mwl_resettxq(struct mwl_softc *sc) argument
3522 mwl_cleartxq(struct mwl_softc *sc, struct ieee80211vap *vap) argument
3546 struct mwl_softc *sc = ni->ni_ic->ic_softc; local
3568 struct mwl_softc *sc = ni->ni_ic->ic_softc; local
3640 struct mwl_softc *sc = ni->ni_ic->ic_softc; local
3706 struct mwl_softc *sc = ni->ni_ic->ic_softc; local
3725 mwl_startrecv(struct mwl_softc *sc) argument
3796 mwl_chan_set(struct mwl_softc *sc, struct ieee80211_channel *chan) argument
3855 struct mwl_softc *sc = ic->ic_softc; local
3863 struct mwl_softc *sc = ic->ic_softc; local
3871 struct mwl_softc *sc = ic->ic_softc; local
3886 struct mwl_softc *sc = ic->ic_softc; local
4088 struct mwl_softc *sc = ic->ic_softc; local
4240 allocstaid(struct mwl_softc *sc, int aid) argument
4256 delstaid(struct mwl_softc *sc, int staid) argument
4270 struct mwl_softc *sc = vap->iv_ic->ic_softc; local
4302 struct mwl_softc *sc = arg; local
4326 struct mwl_softc *sc = ic->ic_softc; local
4416 getchannels(struct mwl_softc *sc, int maxchans, int *nchans, struct ieee80211_channel chans[]) argument
4456 struct mwl_softc *sc = ic->ic_softc; local
4462 mwl_getchannels(struct mwl_softc *sc) argument
4569 struct mwl_softc *sc = arg; local
4599 mwl_ioctl_diag(struct mwl_softc *sc, struct mwl_diag *md) argument
4654 mwl_ioctl_reset(struct mwl_softc *sc, struct mwl_diag *md) argument
4688 struct mwl_softc *sc = ic->ic_softc; local
4725 struct mwl_softc *sc = ic->ic_softc; local
4769 struct mwl_softc *sc = arg1; local
4783 mwl_sysctlattach(struct mwl_softc *sc) argument
4800 mwl_announce(struct mwl_softc *sc) argument
[all...]
/haiku/src/add-ons/kernel/drivers/network/ether/atheros81xx/dev/ale/
H A Dif_ale.c134 static int ale_rxeof(struct ale_softc *sc, int);
208 struct ale_softc *sc; local
212 sc = device_get_softc(dev);
214 CSR_WRITE_4(sc, ALE_MDIO, MDIO_OP_EXECUTE | MDIO_OP_READ |
218 v = CSR_READ_4(sc, ALE_MDIO);
224 device_printf(sc->ale_dev, "phy read timeout : %d\n", reg);
234 struct ale_softc *sc; local
238 sc = device_get_softc(dev);
240 CSR_WRITE_4(sc, ALE_MDIO, MDIO_OP_EXECUTE | MDIO_OP_WRITE |
245 v = CSR_READ_4(sc, ALE_MDI
259 struct ale_softc *sc; local
304 struct ale_softc *sc; local
324 struct ale_softc *sc; local
363 ale_get_macaddr(struct ale_softc *sc) argument
407 ale_phy_reset(struct ale_softc *sc) argument
457 struct ale_softc *sc; local
710 struct ale_softc *sc; local
782 ale_sysctl_node(struct ale_softc *sc) argument
991 ale_check_boundary(struct ale_softc *sc) argument
1030 ale_dma_alloc(struct ale_softc *sc) argument
1315 ale_dma_free(struct ale_softc *sc) argument
1433 ale_setlinkspeed(struct ale_softc *sc) argument
1496 ale_setwol(struct ale_softc *sc) argument
1561 struct ale_softc *sc; local
1576 struct ale_softc *sc; local
1607 ale_encap(struct ale_softc *sc, struct mbuf **m_head) argument
1884 struct ale_softc *sc; local
1895 struct ale_softc *sc; local
1946 ale_watchdog(struct ale_softc *sc) argument
1974 struct ale_softc *sc; local
2081 ale_mac_config(struct ale_softc *sc) argument
2113 ale_stats_clear(struct ale_softc *sc) argument
2131 ale_stats_update(struct ale_softc *sc) argument
2231 struct ale_softc *sc; local
2249 struct ale_softc *sc; local
2311 ale_txeof(struct ale_softc *sc) argument
2371 ale_rx_update_page(struct ale_softc *sc, struct ale_rx_page **page, uint32_t length, uint32_t *prod) argument
2418 ale_rxcsum(struct ale_softc *sc, struct mbuf *m, uint32_t status) argument
2464 ale_rxeof(struct ale_softc *sc, int count) argument
2575 struct ale_softc *sc; local
2596 ale_reset(struct ale_softc *sc) argument
2626 struct ale_softc *sc; local
2635 ale_init_locked(struct ale_softc *sc) argument
2866 ale_stop(struct ale_softc *sc) argument
2919 ale_stop_mac(struct ale_softc *sc) argument
2944 ale_init_tx_ring(struct ale_softc *sc) argument
2971 ale_init_rx_pages(struct ale_softc *sc) argument
2996 ale_rxvlan(struct ale_softc *sc) argument
3012 ale_rxfilter(struct ale_softc *sc) argument
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/
H A Dif_ath_ioctl.c128 ath_ioctl_ratestats(struct ath_softc *sc, struct ath_rateioctl *rs) argument
131 struct ieee80211com *ic = &sc->sc_ic;
147 error = ath_rate_fetch_node_stats(sc, an, rs);
169 ath_ioctl_diag(struct ath_softc *sc, struct ath_diag *ad) argument
171 struct ath_hal *ah = sc->sc_ah;
207 ATH_LOCK(sc);
209 ath_power_set_power_state(sc, HAL_PM_AWAKE);
210 ATH_UNLOCK(sc);
222 ATH_LOCK(sc);
224 ath_power_restore_power_state(sc);
240 struct ath_softc *sc = ic->ic_softc; local
[all...]
H A Dif_ath_beacon.c114 ath_beaconq_setup(struct ath_softc *sc) argument
116 struct ath_hal *ah = sc->sc_ah;
125 if (sc->sc_isedma)
136 ath_beaconq_config(struct ath_softc *sc) argument
139 struct ieee80211com *ic = &sc->sc_ic;
140 struct ath_hal *ah = sc->sc_ah;
143 ath_hal_gettxqueueprops(ah, sc->sc_bhalq, &qi);
167 if (!ath_hal_settxqueueprops(ah, sc->sc_bhalq, &qi)) {
168 device_printf(sc->sc_dev, "unable to update parameters for "
172 ath_hal_resettxqueue(ah, sc
182 ath_beacon_alloc(struct ath_softc *sc, struct ieee80211_node *ni) argument
268 ath_beacon_setup(struct ath_softc *sc, struct ath_buf *bf) argument
392 ath_beacon_miss(struct ath_softc *sc) argument
434 struct ath_softc *sc = arg; local
568 ath_beacon_cabq_start_edma(struct ath_softc *sc) argument
660 ath_beacon_cabq_start_legacy(struct ath_softc *sc) argument
683 ath_beacon_cabq_start(struct ath_softc *sc) argument
699 ath_beacon_generate(struct ath_softc *sc, struct ieee80211vap *vap) argument
825 ath_beacon_start_adhoc(struct ath_softc *sc, struct ieee80211vap *vap) argument
868 ath_beacon_return(struct ath_softc *sc, struct ath_buf *bf) argument
889 ath_beacon_free(struct ath_softc *sc) argument
925 ath_beacon_config(struct ath_softc *sc, struct ieee80211vap *vap) argument
[all...]
H A Dif_ath_keycache.c87 ath_keyprint(struct ath_softc *sc, const char *tag, u_int ix, argument
105 printf(" %s ", sc->sc_splitmic ? "mic" : "rxmic");
108 if (!sc->sc_splitmic) {
124 ath_keyset_tkip(struct ath_softc *sc, const struct ieee80211_key *k, argument
129 struct ath_hal *ah = sc->sc_ah;
134 if (sc->sc_splitmic) {
140 KEYPRINTF(sc, k->wk_keyix, hk, zerobssid);
145 KEYPRINTF(sc, k->wk_keyix+32, hk, mac);
156 KEYPRINTF(sc, k->wk_keyix, hk, mac);
160 if (sc
185 ath_keyset(struct ath_softc *sc, struct ieee80211vap *vap, const struct ieee80211_key *k, struct ieee80211_node *bss) argument
277 key_alloc_2pair(struct ath_softc *sc, ieee80211_keyix *txkeyix, ieee80211_keyix *rxkeyix) argument
330 key_alloc_pair(struct ath_softc *sc, ieee80211_keyix *txkeyix, ieee80211_keyix *rxkeyix) argument
375 key_alloc_single(struct ath_softc *sc, ieee80211_keyix *txkeyix, ieee80211_keyix *rxkeyix) argument
422 struct ath_softc *sc = vap->iv_ic->ic_softc; local
491 struct ath_softc *sc = vap->iv_ic->ic_softc; local
535 struct ath_softc *sc = vap->iv_ic->ic_softc; local
[all...]
/haiku/src/add-ons/kernel/drivers/network/ether/ipro100/dev/fxp/
H A Dif_fxp.c226 static void fxp_rxcsum(struct fxp_softc *sc, if_t ifp,
228 static int fxp_intr_body(struct fxp_softc *sc, if_t ifp,
231 static void fxp_init_body(struct fxp_softc *sc, int);
235 static int fxp_encap(struct fxp_softc *sc, struct mbuf **m_head);
236 static void fxp_txeof(struct fxp_softc *sc);
237 static void fxp_stop(struct fxp_softc *sc);
238 static void fxp_release(struct fxp_softc *sc);
241 static void fxp_watchdog(struct fxp_softc *sc);
242 static void fxp_add_rfabuf(struct fxp_softc *sc,
244 static void fxp_discard_rfabuf(struct fxp_softc *sc,
331 fxp_scb_wait(struct fxp_softc *sc) argument
352 fxp_scb_cmd(struct fxp_softc *sc, int cmd) argument
363 fxp_dma_wait(struct fxp_softc *sc, volatile uint16_t *status, bus_dma_tag_t dmat, bus_dmamap_t map) argument
431 struct fxp_softc *sc; local
940 fxp_release(struct fxp_softc *sc) argument
1012 struct fxp_softc *sc = device_get_softc(dev); local
1070 struct fxp_softc *sc = device_get_softc(dev); local
1106 struct fxp_softc *sc = device_get_softc(dev); local
1138 fxp_eeprom_shiftin(struct fxp_softc *sc, int data, int length) argument
1168 fxp_eeprom_getword(struct fxp_softc *sc, int offset, int autosize) argument
1220 fxp_eeprom_putword(struct fxp_softc *sc, int offset, uint16_t data) argument
1284 fxp_autosize_eeprom(struct fxp_softc *sc) argument
1295 fxp_read_eeprom(struct fxp_softc *sc, u_short *data, int offset, int words) argument
1304 fxp_write_eeprom(struct fxp_softc *sc, u_short *data, int offset, int words) argument
1313 fxp_load_eeprom(struct fxp_softc *sc) argument
1335 struct fxp_softc *sc = if_getsoftc(ifp); local
1350 struct fxp_softc *sc = if_getsoftc(ifp); local
1409 fxp_encap(struct fxp_softc *sc, struct mbuf **m_head) argument
1683 struct fxp_softc *sc = if_getsoftc(ifp); local
1721 struct fxp_softc *sc = xsc; local
1769 fxp_txeof(struct fxp_softc *sc) argument
1800 fxp_rxcsum(struct fxp_softc *sc, if_t ifp, struct mbuf *m, uint16_t status, int pos) argument
1878 fxp_intr_body(struct fxp_softc *sc, if_t ifp, uint8_t statack, int count) argument
2044 fxp_update_stats(struct fxp_softc *sc) argument
2135 struct fxp_softc *sc = xsc; local
2199 fxp_stop(struct fxp_softc *sc) argument
2251 fxp_watchdog(struct fxp_softc *sc) argument
2275 struct fxp_softc *sc = xsc; local
2287 fxp_init_body(struct fxp_softc *sc, int setmedia) argument
2610 struct fxp_softc *sc = if_getsoftc(ifp); local
2629 struct fxp_softc *sc = if_getsoftc(ifp); local
2648 fxp_new_rfabuf(struct fxp_softc *sc, struct fxp_rx *rxp) argument
2710 fxp_add_rfabuf(struct fxp_softc *sc, struct fxp_rx *rxp) argument
2736 fxp_discard_rfabuf(struct fxp_softc *sc, struct fxp_rx *rxp) argument
2777 struct fxp_softc *sc = device_get_softc(dev); local
2797 struct fxp_softc *sc = device_get_softc(dev); local
2816 struct fxp_softc *sc; local
2847 struct fxp_softc *sc = if_getsoftc(ifp); local
2992 fxp_mc_addrs(struct fxp_softc *sc) argument
3024 fxp_mc_setup(struct fxp_softc *sc) argument
3097 fxp_load_ucode(struct fxp_softc *sc) argument
3145 fxp_sysctl_node(struct fxp_softc *sc) argument
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/
H A Dglue.c26 struct ath_softc* sc = (struct ath_softc*)device_get_softc(dev); local
27 struct ath_hal* ah = sc->sc_ah;
30 if (sc->sc_invalid) {
51 atomic_set((int32*)&sc->sc_intr_status, intr_status);
63 struct ath_softc* sc = (struct ath_softc*)device_get_softc(dev); local
64 struct ath_hal* ah = sc->sc_ah;
66 ath_hal_intrset(ah, sc->sc_imask);
/haiku/src/add-ons/kernel/drivers/network/ether/pcnet/
H A Dglue_pcn.c19 struct pcn_softc *sc = device_get_softc(dev); local
26 CSR_WRITE_4(sc, PCN_IO32_RAP, PCN_CSR_CSR);
27 status = CSR_READ_4(sc, PCN_IO32_RDP);
36 CSR_WRITE_4(sc, PCN_IO32_RDP, 0);
47 struct pcn_softc *sc = device_get_softc(dev); local
48 CSR_WRITE_4(sc, PCN_IO32_RAP, PCN_CSR_CSR);
49 CSR_WRITE_4(sc, PCN_IO32_RDP, PCN_CSR_INTEN);
/haiku/src/add-ons/kernel/drivers/network/wlan/broadcom43xx/
H A Dglue.c34 struct bwi_softc* sc = (struct bwi_softc*)device_get_softc(dev); local
37 if ((sc->sc_flags & BWI_F_RUNNING) == 0
38 || (sc->sc_flags & BWI_F_STOP))
41 intr_status = CSR_READ_4(sc, BWI_MAC_INTR_STATUS);
47 intr_status &= CSR_READ_4(sc, BWI_MAC_INTR_MASK);
53 atomic_set((int32*)&sc->sc_intr_status, intr_status);
55 CSR_CLRBITS_4(sc, BWI_MAC_INTR_MASK, BWI_ALL_INTRS);
/haiku/src/add-ons/kernel/drivers/network/wlan/marvell88w8363/
H A Dglue.c31 struct mwl_softc* sc = (struct mwl_softc*)device_get_softc(dev); local
32 struct mwl_hal* mh = sc->sc_mh;
35 if (sc->sc_invalid) {
49 atomic_set((int32*)&sc->sc_intr_status, intr_status);
60 struct mwl_softc* sc = (struct mwl_softc*)device_get_softc(dev); local
61 struct mwl_hal* mh = sc->sc_mh;
63 mwl_hal_intrset(mh, sc->sc_imask);
/haiku/src/add-ons/kernel/bus_managers/firewire/
H A Dfwohci_pci.cpp75 fwohci_softc_t *sc = gFwohci_softc[index]; local
80 fwohci_stop(sc);
84 /* if (sc->fc.bdev) {
85 device_delete_child(self, sc->fc.bdev);
86 sc->fc.bdev = NULL;
90 OWRITE(sc, FWOHCI_INTMASKCLR, OHCI_INT_EN);
91 remove_io_interrupt_handler (sc->irq, fwohci_intr, sc);
92 delete_area(sc->regArea);
94 fwohci_detach(sc);
103 struct fwohci_softc *sc; local
142 fwohci_softc_t *sc = gFwohci_softc[index]; local
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/ralinkwifi/dev/usb/wlan/
H A Dif_ural.c131 static usb_error_t ural_do_request(struct ural_softc *sc,
197 static int ural_pause(struct ural_softc *sc, int timeout);
431 struct ural_softc *sc = device_get_softc(self); local
432 struct ieee80211com *ic = &sc->sc_ic;
437 sc->sc_udev = uaa->device;
438 sc->sc_dev = self;
440 mtx_init(&sc->sc_mtx, device_get_nameunit(self),
442 mbufq_init(&sc->sc_snd, ifqmaxlen);
446 &iface_index, sc->sc_xfer, ural_config,
447 URAL_N_TRANSFER, sc,
516 struct ural_softc *sc = device_get_softc(self); local
541 ural_do_request(struct ural_softc *sc, struct usb_device_request *req, void *data) argument
567 struct ural_softc *sc = ic->ic_softc; local
616 struct ural_softc *sc = data->sc; local
628 ural_setup_tx_list(struct ural_softc *sc) argument
647 ural_unsetup_tx_list(struct ural_softc *sc) argument
677 struct ural_softc *sc = ic->ic_softc; local
764 struct ural_softc *sc = usbd_xfer_softc(xfer); local
851 struct ural_softc *sc = usbd_xfer_softc(xfer); local
981 ural_setup_tx_desc(struct ural_softc *sc, struct ural_tx_desc *desc, uint32_t flags, int len, int rate) argument
1029 ural_tx_bcn(struct ural_softc *sc, struct mbuf *m0, struct ieee80211_node *ni) argument
1069 ural_tx_mgt(struct ural_softc *sc, struct mbuf *m0, struct ieee80211_node *ni) argument
1127 ural_sendprot(struct ural_softc *sc, const struct mbuf *m, struct ieee80211_node *ni, int prot, int rate) argument
1164 ural_tx_raw(struct ural_softc *sc, struct mbuf *m0, struct ieee80211_node *ni, const struct ieee80211_bpf_params *params) argument
1217 ural_tx_data(struct ural_softc *sc, struct mbuf *m0, struct ieee80211_node *ni) argument
1302 struct ural_softc *sc = ic->ic_softc; local
1322 ural_start(struct ural_softc *sc) argument
1347 struct ural_softc *sc = ic->ic_softc; local
1369 ural_set_testmode(struct ural_softc *sc) argument
1388 ural_eeprom_read(struct ural_softc *sc, uint16_t addr, void *buf, int len) argument
1407 ural_read(struct ural_softc *sc, uint16_t reg) argument
1430 ural_read_multi(struct ural_softc *sc, uint16_t reg, void *buf, int len) argument
1449 ural_write(struct ural_softc *sc, uint16_t reg, uint16_t val) argument
1468 ural_write_multi(struct ural_softc *sc, uint16_t reg, void *buf, int len) argument
1487 ural_bbp_write(struct ural_softc *sc, uint8_t reg, uint8_t val) argument
1508 ural_bbp_read(struct ural_softc *sc, uint8_t reg) argument
1531 ural_rf_write(struct ural_softc *sc, uint8_t reg, uint32_t val) argument
1560 struct ural_softc *sc = ic->ic_softc; local
1571 struct ural_softc *sc = ic->ic_softc; local
1584 struct ural_softc *sc = ic->ic_softc; local
1602 struct ural_softc *sc = ic->ic_softc; local
1610 ural_set_chan(struct ural_softc *sc, struct ieee80211_channel *c) argument
1721 ural_disable_rf_tune(struct ural_softc *sc) argument
1741 ural_enable_tsf_sync(struct ural_softc *sc) argument
1770 ural_enable_tsf(struct ural_softc *sc) argument
1779 ural_update_slot(struct ural_softc *sc) argument
1804 ural_set_txpreamble(struct ural_softc *sc) argument
1819 ural_set_basicrates(struct ural_softc *sc, const struct ieee80211_channel *c) argument
1836 ural_set_bssid(struct ural_softc *sc, const uint8_t *bssid) argument
1853 ural_set_macaddr(struct ural_softc *sc, const uint8_t *addr) argument
1870 ural_setpromisc(struct ural_softc *sc) argument
1889 struct ural_softc *sc = ic->ic_softc; local
1913 ural_read_eeprom(struct ural_softc *sc) argument
1938 ural_bbp_init(struct ural_softc *sc) argument
1971 ural_set_txantenna(struct ural_softc *sc, int antenna) argument
2000 ural_set_rxantenna(struct ural_softc *sc, int antenna) argument
2020 ural_init(struct ural_softc *sc) argument
2097 ural_stop(struct ural_softc *sc) argument
2130 struct ural_softc *sc = ic->ic_softc; local
2168 ural_ratectl_start(struct ural_softc *sc, struct ieee80211_node *ni) argument
2194 struct ural_softc *sc = vap->iv_ic->ic_softc; local
2220 ural_pause(struct ural_softc *sc, int timeout) argument
[all...]
H A Dif_rum.c154 static usb_error_t rum_do_request(struct rum_softc *sc,
156 static usb_error_t rum_do_mcu_request(struct rum_softc *sc, int);
485 struct rum_softc *sc = device_get_softc(self); local
486 struct ieee80211com *ic = &sc->sc_ic;
492 sc->sc_udev = uaa->device;
493 sc->sc_dev = self;
495 RUM_LOCK_INIT(sc);
496 RUM_CMDQ_LOCK_INIT(sc);
497 mbufq_init(&sc->sc_snd, ifqmaxlen);
501 sc
597 struct rum_softc *sc = device_get_softc(self); local
626 rum_do_request(struct rum_softc *sc, struct usb_device_request *req, void *data) argument
647 rum_do_mcu_request(struct rum_softc *sc, int request) argument
666 struct rum_softc *sc = ic->ic_softc; local
724 struct rum_softc *sc = ic->ic_softc; local
746 struct rum_softc *sc = arg; local
766 rum_cmd_sleepable(struct rum_softc *sc, const void *ptr, size_t len, uint8_t rvp_id, CMD_FUNC_PROTO) argument
796 struct rum_softc *sc = data->sc; local
808 rum_setup_tx_list(struct rum_softc *sc) argument
827 rum_reset_tx_list(struct rum_softc *sc, struct ieee80211vap *vap) argument
851 rum_unsetup_tx_list(struct rum_softc *sc) argument
880 struct rum_softc *sc = ic->ic_softc; local
909 struct rum_softc *sc = vap->iv_ic->ic_softc; local
935 rum_set_power_state(struct rum_softc *sc, int sleep) argument
964 struct rum_softc *sc = ic->ic_softc; local
1074 struct rum_softc *sc = usbd_xfer_softc(xfer); local
1168 struct rum_softc *sc = usbd_xfer_softc(xfer); local
1342 rum_crypto_mode(struct rum_softc *sc, u_int cipher, int keylen) argument
1358 rum_setup_tx_desc(struct rum_softc *sc, struct rum_tx_desc *desc, struct ieee80211_key *k, uint32_t flags, uint8_t xflags, uint8_t qid, int hdrlen, int len, int rate) argument
1417 rum_sendprot(struct rum_softc *sc, const struct mbuf *m, struct ieee80211_node *ni, int prot, int rate) argument
1457 rum_tx_crypto_flags(struct rum_softc *sc, struct ieee80211_node *ni, const struct ieee80211_key *k) argument
1491 rum_tx_mgt(struct rum_softc *sc, struct mbuf *m0, struct ieee80211_node *ni) argument
1563 rum_tx_raw(struct rum_softc *sc, struct mbuf *m0, struct ieee80211_node *ni, const struct ieee80211_bpf_params *params) argument
1623 rum_tx_data(struct rum_softc *sc, struct mbuf *m0, struct ieee80211_node *ni) argument
1732 struct rum_softc *sc = ic->ic_softc; local
1752 rum_start(struct rum_softc *sc) argument
1777 struct rum_softc *sc = ic->ic_softc; local
1797 rum_eeprom_read(struct rum_softc *sc, uint16_t addr, void *buf, int len) argument
1816 rum_read(struct rum_softc *sc, uint16_t reg) argument
1826 rum_read_multi(struct rum_softc *sc, uint16_t reg, void *buf, int len) argument
1846 rum_write(struct rum_softc *sc, uint16_t reg, uint32_t val) argument
1854 rum_write_multi(struct rum_softc *sc, uint16_t reg, void *buf, size_t len) argument
1882 rum_setbits(struct rum_softc *sc, uint16_t reg, uint32_t mask) argument
1888 rum_clrbits(struct rum_softc *sc, uint16_t reg, uint32_t mask) argument
1894 rum_modbits(struct rum_softc *sc, uint16_t reg, uint32_t set, uint32_t unset) argument
1900 rum_bbp_busy(struct rum_softc *sc) argument
1917 rum_bbp_write(struct rum_softc *sc, uint8_t reg, uint8_t val) argument
1933 rum_bbp_read(struct rum_softc *sc, uint8_t reg) argument
1961 rum_rf_write(struct rum_softc *sc, uint8_t reg, uint32_t val) argument
1988 rum_select_antenna(struct rum_softc *sc) argument
2013 rum_enable_mrr(struct rum_softc *sc) argument
2027 rum_set_txpreamble(struct rum_softc *sc) argument
2038 rum_set_basicrates(struct rum_softc *sc) argument
2060 rum_select_band(struct rum_softc *sc, struct ieee80211_channel *c) argument
2102 rum_set_chan(struct rum_softc *sc, struct ieee80211_channel *c) argument
2174 rum_set_maxretry(struct rum_softc *sc, struct ieee80211vap *vap) argument
2192 rum_enable_tsf_sync(struct rum_softc *sc) argument
2251 rum_enable_tsf(struct rum_softc *sc) argument
2258 rum_abort_tsf_sync(struct rum_softc *sc) argument
2264 rum_get_tsf(struct rum_softc *sc, uint64_t *buf) argument
2270 rum_update_slot_cb(struct rum_softc *sc, union sec_param *data, uint8_t rvp_id) argument
2293 struct rum_softc *sc = ic->ic_softc; local
2345 rum_set_bssid(struct rum_softc *sc, const uint8_t *bssid) argument
2355 rum_set_macaddr(struct rum_softc *sc, const uint8_t *addr) argument
2365 rum_setpromisc(struct rum_softc *sc) argument
2381 struct rum_softc *sc = ic->ic_softc; local
2408 rum_read_eeprom(struct rum_softc *sc) argument
2491 rum_bbp_wakeup(struct rum_softc *sc) argument
2512 rum_bbp_init(struct rum_softc *sc) argument
2544 rum_clr_shkey_regs(struct rum_softc *sc) argument
2552 rum_init(struct rum_softc *sc) argument
2636 rum_stop(struct rum_softc *sc) argument
2666 rum_load_microcode(struct rum_softc *sc, const uint8_t *ucode, size_t size) argument
2693 rum_set_sleep_time(struct rum_softc *sc, uint16_t bintval) argument
2728 struct rum_softc *sc = ic->ic_softc; local
2761 rum_set_beacon(struct rum_softc *sc, struct ieee80211vap *vap) argument
2794 rum_alloc_beacon(struct rum_softc *sc, struct ieee80211vap *vap) argument
2816 rum_update_beacon_cb(struct rum_softc *sc, union sec_param *data, uint8_t rvp_id) argument
2828 struct rum_softc *sc = ic->ic_softc; local
2866 rum_common_key_set(struct rum_softc *sc, struct ieee80211_key *k, uint16_t base) argument
2886 rum_group_key_set_cb(struct rum_softc *sc, union sec_param *data, uint8_t rvp_id) argument
2930 rum_group_key_del_cb(struct rum_softc *sc, union sec_param *data, uint8_t rvp_id) argument
2945 rum_pair_key_set_cb(struct rum_softc *sc, union sec_param *data, uint8_t rvp_id) argument
2993 rum_pair_key_del_cb(struct rum_softc *sc, union sec_param *data, uint8_t rvp_id) argument
3010 struct rum_softc *sc = vap->iv_ic->ic_softc; local
3043 struct rum_softc *sc = vap->iv_ic->ic_softc; local
3060 struct rum_softc *sc = vap->iv_ic->ic_softc; local
3078 struct rum_softc *sc = ni->ni_ic->ic_softc; local
3117 rum_ratectl_start(struct rum_softc *sc, struct ieee80211_node *ni) argument
3143 struct rum_softc *sc = vap->iv_ic->ic_softc; local
3175 struct rum_softc *sc = ic->ic_softc; local
3187 struct rum_softc *sc = ic->ic_softc; local
3203 struct rum_softc *sc = ic->ic_softc; local
3214 struct rum_softc *sc = ic->ic_softc; local
3230 rum_get_rssi(struct rum_softc *sc, uint8_t raw) argument
3276 rum_pause(struct rum_softc *sc, int timeout) argument
[all...]
/haiku/src/add-ons/kernel/drivers/network/ether/ipro1000/dev/e1000/
H A Dif_em.c618 struct e1000_softc *sc = (struct e1000_softc *)arg1; local
619 struct e1000_hw *hw = &sc->hw;
699 if_softc_ctx_t scctx = sc->shared;
743 struct e1000_softc *sc = iflib_get_softc(ctx); local
747 switch (sc->hw.mac.type) {
797 struct e1000_softc *sc; local
807 sc = iflib_get_softc(ctx);
809 sc->ctx = sc->osdep.ctx = ctx;
810 sc
1141 struct e1000_softc *sc = iflib_get_softc(ctx); local
1185 struct e1000_softc *sc = iflib_get_softc(ctx); local
1218 struct e1000_softc *sc = iflib_get_softc(ctx); local
1229 struct e1000_softc *sc = iflib_get_softc(ctx); local
1243 struct e1000_softc *sc = iflib_get_softc(ctx); local
1301 struct e1000_softc *sc = iflib_get_softc(ctx); local
1409 struct e1000_softc *sc = arg; local
1452 struct e1000_softc *sc = iflib_get_softc(ctx); local
1462 struct e1000_softc *sc = iflib_get_softc(ctx); local
1472 struct e1000_softc *sc = iflib_get_softc(ctx); local
1482 struct e1000_softc *sc = iflib_get_softc(ctx); local
1512 struct e1000_softc *sc = arg; local
1549 struct e1000_softc *sc = iflib_get_softc(ctx); local
1566 struct e1000_softc *sc = iflib_get_softc(ctx); local
1617 struct e1000_softc *sc = iflib_get_softc(ctx); local
1664 struct e1000_softc *sc = iflib_get_softc(ctx); local
1721 struct e1000_softc *sc = iflib_get_softc(ctx); local
1792 struct e1000_softc *sc = iflib_get_softc(ctx); local
1894 struct e1000_softc *sc = iflib_get_softc(ctx); local
1912 struct e1000_softc *sc = iflib_get_softc(ctx); local
1933 struct e1000_softc *sc = iflib_get_softc(ctx); local
1964 struct e1000_softc *sc = iflib_get_softc(ctx); local
2025 struct e1000_softc *sc = iflib_get_softc(ctx); local
2114 igb_configure_queues(struct e1000_softc *sc) argument
2257 struct e1000_softc *sc = iflib_get_softc(ctx); local
2294 struct e1000_softc *sc = iflib_get_softc(ctx); local
2308 lem_smartspeed(struct e1000_softc *sc) argument
2368 igb_init_dmac(struct e1000_softc *sc, u32 pba) argument
2481 struct e1000_softc *sc = iflib_get_softc(ctx); local
2734 em_initialize_rss_mapping(struct e1000_softc *sc) argument
2775 igb_initialize_rss_mapping(struct e1000_softc *sc) argument
2878 struct e1000_softc *sc = iflib_get_softc(ctx); local
2919 struct e1000_softc *sc = iflib_get_softc(ctx); local
2968 struct e1000_softc *sc = iflib_get_softc(ctx); local
3010 struct e1000_softc *sc = iflib_get_softc(ctx); local
3041 struct e1000_softc *sc = iflib_get_softc(ctx); local
3180 struct e1000_softc *sc = iflib_get_softc(ctx); local
3427 struct e1000_softc *sc = iflib_get_softc(ctx); local
3440 struct e1000_softc *sc = iflib_get_softc(ctx); local
3465 struct e1000_softc *sc = iflib_get_softc(ctx); local
3478 em_if_vlan_filter_enable(struct e1000_softc *sc) argument
3490 em_if_vlan_filter_disable(struct e1000_softc *sc) argument
3501 em_if_vlan_filter_write(struct e1000_softc *sc) argument
3529 struct e1000_softc *sc = iflib_get_softc(ctx); local
3570 struct e1000_softc *sc = iflib_get_softc(ctx); local
3585 struct e1000_softc *sc = iflib_get_softc(ctx); local
3597 struct e1000_softc *sc = iflib_get_softc(ctx); local
3615 struct e1000_softc *sc = iflib_get_softc(ctx); local
3632 em_init_manageability(struct e1000_softc *sc) argument
3659 em_release_manageability(struct e1000_softc *sc) argument
3679 em_get_hw_control(struct e1000_softc *sc) argument
3705 em_release_hw_control(struct e1000_softc *sc) argument
3745 struct e1000_softc *sc = iflib_get_softc(ctx); local
3867 struct e1000_softc *sc = iflib_get_softc(ctx); local
3945 em_enable_phy_wakeup(struct e1000_softc *sc) argument
4017 struct e1000_softc *sc = iflib_get_softc(ctx); local
4032 em_disable_aspm(struct e1000_softc *sc) argument
4065 em_update_stats_counters(struct e1000_softc *sc) argument
4165 struct e1000_softc *sc = iflib_get_softc(ctx); local
4208 struct e1000_softc *sc; local
4221 em_add_hw_stats(struct e1000_softc *sc) argument
4505 struct e1000_softc *sc = iflib_get_softc(ctx); local
4596 struct e1000_softc *sc = (struct e1000_softc *)arg1; local
4628 struct e1000_softc *sc = (struct e1000_softc *)arg1; local
4650 em_print_nvm_info(struct e1000_softc *sc) argument
4681 struct e1000_softc *sc; local
4720 em_add_int_delay_sysctl(struct e1000_softc *sc, const char *name, const char *description, struct em_int_delay_info *info, int offset, int value) argument
4746 struct e1000_softc *sc = (struct e1000_softc *) arg1; local
4782 struct e1000_softc *sc = (struct e1000_softc *) arg1; local
4798 struct e1000_softc *sc; local
4819 struct e1000_softc *sc = (struct e1000_softc *) arg1; local
4844 em_print_debug_info(struct e1000_softc *sc) argument
4884 struct e1000_softc *sc = iflib_get_softc(ctx); local
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/usb/
H A Drtwn_usb_attach.c107 rtwn_usb_alloc_list(struct rtwn_softc *sc, struct rtwn_data data[], argument
117 device_printf(sc->sc_dev,
127 rtwn_usb_free_list(sc, data, ndata);
132 rtwn_usb_alloc_rx_list(struct rtwn_softc *sc) argument
134 struct rtwn_usb_softc *uc = RTWN_USB_SOFTC(sc);
137 error = rtwn_usb_alloc_list(sc, uc->uc_rx, RTWN_USB_RX_LIST_COUNT,
152 rtwn_usb_alloc_tx_list(struct rtwn_softc *sc) argument
154 struct rtwn_usb_softc *uc = RTWN_USB_SOFTC(sc);
157 error = rtwn_usb_alloc_list(sc, uc->uc_tx, RTWN_USB_TX_LIST_COUNT,
173 rtwn_usb_free_list(struct rtwn_softc *sc, struc argument
196 rtwn_usb_free_rx_list(struct rtwn_softc *sc) argument
210 rtwn_usb_free_tx_list(struct rtwn_softc *sc) argument
222 rtwn_usb_reset_lists(struct rtwn_softc *sc, struct ieee80211vap *vap) argument
284 rtwn_usb_start_xfers(struct rtwn_softc *sc) argument
292 rtwn_usb_abort_xfers(struct rtwn_softc *sc) argument
307 rtwn_usb_fw_write_block(struct rtwn_softc *sc, const uint8_t *buf, uint16_t reg, int mlen) argument
320 rtwn_usb_drop_incorrect_tx(struct rtwn_softc *sc) argument
328 rtwn_usb_attach_methods(struct rtwn_softc *sc) argument
353 rtwn_usb_sysctlattach(struct rtwn_softc *sc) argument
382 struct rtwn_softc *sc = &uc->uc_sc; local
428 struct rtwn_softc *sc = &uc->uc_sc; local
[all...]
H A Drtwn_usb_reg.c62 rtwn_do_request(struct rtwn_softc *sc, struct usb_device_request *req, argument
65 struct rtwn_usb_softc *uc = RTWN_USB_SOFTC(sc);
69 RTWN_ASSERT_LOCKED(sc);
72 err = usbd_do_request_flags(uc->uc_udev, &sc->sc_mtx,
77 RTWN_DPRINTF(sc, RTWN_DEBUG_USB,
83 usb_pause_mtx(&sc->sc_mtx, hz / 100);
90 rtwn_usb_write_region_1(struct rtwn_softc *sc, uint16_t addr, uint8_t *buf, argument
100 return (rtwn_do_request(sc, &req, buf));
104 rtwn_usb_write_1(struct rtwn_softc *sc, uint16_t addr, uint8_t val) argument
106 return (rtwn_usb_write_region_1(sc, add
110 rtwn_usb_write_2(struct rtwn_softc *sc, uint16_t addr, uint16_t val) argument
117 rtwn_usb_write_4(struct rtwn_softc *sc, uint16_t addr, uint32_t val) argument
124 rtwn_usb_read_region_1(struct rtwn_softc *sc, uint16_t addr, uint8_t *buf, int len) argument
138 rtwn_usb_read_1(struct rtwn_softc *sc, uint16_t addr) argument
148 rtwn_usb_read_2(struct rtwn_softc *sc, uint16_t addr) argument
158 rtwn_usb_read_4(struct rtwn_softc *sc, uint16_t addr) argument
168 rtwn_usb_delay(struct rtwn_softc *sc, int usec) argument
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8192e/
H A Dr92e_rf.c60 r92e_rf_read(struct rtwn_softc *sc, int chain, uint8_t addr) argument
64 val = rtwn_bb_read(sc, R92C_HSSI_PARAM2(chain));
65 rtwn_bb_write(sc, R92C_HSSI_PARAM2(chain),
69 rtwn_bb_setbits(sc, R92C_HSSI_PARAM2(0), R92C_HSSI_PARAM2_READ_EDGE, 0);
70 rtwn_bb_setbits(sc, R92C_HSSI_PARAM2(0), 0, R92C_HSSI_PARAM2_READ_EDGE);
71 rtwn_delay(sc, 20);
73 if (rtwn_bb_read(sc, R92C_HSSI_PARAM1(chain)) & R92C_HSSI_PARAM1_PI)
74 val = rtwn_bb_read(sc, R92C_HSPI_READBACK(chain));
76 val = rtwn_bb_read(sc, R92C_LSSI_READBACK(chain));
81 r92e_rf_write(struct rtwn_softc *sc, in argument
[all...]
H A Dr92e_chan.c67 r92e_get_power_group(struct rtwn_softc *sc, struct ieee80211_channel *c) argument
92 r92e_get_txpower(struct rtwn_softc *sc, int chain, struct ieee80211_channel *c, argument
95 struct r92e_softc *rs = sc->sc_priv;
99 group = r92e_get_power_group(sc, c);
101 device_printf(sc->sc_dev, "%s: incorrect channel\n", __func__);
105 max_mcs = RTWN_RIDX_HT_MCS(sc->ntxchains * 8 - 1);
118 for (i = 0; i < sc->ntxchains; i++) {
139 if (sc->sc_debug & RTWN_DEBUG_TXPWR) {
149 r92e_set_txpower(struct rtwn_softc *sc, struct ieee80211_channel *c) argument
154 for (i = 0; i < sc
164 r92e_set_bw40(struct rtwn_softc *sc, uint8_t chan, int prichlo) argument
193 r92e_set_bw20(struct rtwn_softc *sc, uint8_t chan) argument
212 r92e_set_chan(struct rtwn_softc *sc, struct ieee80211_channel *c) argument
[all...]
/haiku/src/add-ons/kernel/drivers/network/ether/pcnet/dev/le/
H A Dif_le_pci.c164 le_pci_wrbcr(struct lance_softc *sc, uint16_t port, uint16_t val) argument
166 struct le_pci_softc *lesc = (struct le_pci_softc *)sc;
174 le_pci_rdbcr(struct lance_softc *sc, uint16_t port) argument
176 struct le_pci_softc *lesc = (struct le_pci_softc *)sc;
184 le_pci_wrcsr(struct lance_softc *sc, uint16_t port, uint16_t val) argument
186 struct le_pci_softc *lesc = (struct le_pci_softc *)sc;
203 le_pci_rdcsr(struct lance_softc *sc, uint16_t port) argument
205 struct le_pci_softc *lesc = (struct le_pci_softc *)sc;
226 le_pci_mediachange(struct lance_softc *sc) argument
228 struct ifmedia *ifm = &sc
272 le_pci_hwreset(struct lance_softc *sc) argument
290 struct lance_softc *sc = (struct lance_softc *)xsc; local
323 struct lance_softc *sc; local
483 struct lance_softc *sc; local
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8192c/
H A Dr92c_chan.c59 r92c_get_power_group(struct rtwn_softc *sc, struct ieee80211_channel *c) argument
83 r92c_get_txpower(struct rtwn_softc *sc, int chain, argument
86 struct r92c_softc *rs = sc->sc_priv;
93 group = r92c_get_power_group(sc, c);
95 device_printf(sc->sc_dev, "%s: incorrect channel\n", __func__);
101 max_mcs = RTWN_RIDX_HT_MCS(sc->ntxchains * 8 - 1);
130 if (sc->ntxchains > 1) {
158 r92c_write_txpower(struct rtwn_softc *sc, int chain, argument
165 reg = rtwn_bb_read(sc, R92C_TXAGC_A_CCK1_MCS32);
167 rtwn_bb_write(sc, R92C_TXAGC_A_CCK1_MCS3
220 r92c_set_txpower(struct rtwn_softc *sc, struct ieee80211_channel *c) argument
247 r92c_set_bw40(struct rtwn_softc *sc, uint8_t chan, int prichlo) argument
275 r92c_set_bw20(struct rtwn_softc *sc, uint8_t chan) argument
293 r92c_set_chan(struct rtwn_softc *sc, struct ieee80211_channel *c) argument
315 r92c_set_gain(struct rtwn_softc *sc, uint8_t gain) argument
327 struct rtwn_softc *sc = ic->ic_softc; local
341 struct rtwn_softc *sc = ic->ic_softc; local
[all...]

Completed in 153 milliseconds

1234567891011>>