/haiku/src/add-ons/kernel/drivers/network/wlan/ralinkwifi/dev/ral/ |
H A D | rt2560var.h | 163 #define RAL_LOCK(sc) mtx_lock(&(sc)->sc_mtx) 164 #define RAL_LOCK_ASSERT(sc) mtx_assert(&(sc)->sc_mtx, MA_OWNED) 165 #define RAL_UNLOCK(sc) mtx_unlock(&(sc)->sc_mtx)
|
H A D | rt2860var.h | 212 #define RAL_LOCK(sc) mtx_lock(&(sc)->sc_mtx) 213 #define RAL_LOCK_ASSERT(sc) mtx_assert(&(sc)->sc_mtx, MA_OWNED) 214 #define RAL_UNLOCK(sc) mtx_unlock(&(sc)->sc_mtx)
|
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ |
H A D | if_ath_tsf.h | 75 ath_extend_tsf(struct ath_softc *sc, u_int32_t rstamp, u_int64_t tsf) argument 77 if (sc->sc_rxtsf32)
|
H A D | if_ath_tdma.h | 51 extern void ath_tdma_config(struct ath_softc *sc, struct ieee80211vap *vap); 54 extern void ath_tdma_beacon_send(struct ath_softc *sc,
|
H A D | if_athrate.h | 127 void ath_rate_getxtxrates(struct ath_softc *sc, struct ath_node *an, 174 int ath_rate_fetch_stats(struct ath_softc *sc, struct ath_rateioctl *rs); 179 int ath_rate_fetch_node_stats(struct ath_softc *sc, struct ath_node *an,
|
H A D | if_ath_debug.c | 101 ath_printrxbuf(struct ath_softc *sc, const struct ath_buf *bf, argument 105 struct ath_hal *ah = sc->sc_ah; 137 ath_printtxbuf_edma(struct ath_softc *sc, const struct ath_buf *first_bf, argument 161 i ++, ds += sc->sc_tx_desclen) { 200 ath_printtxbuf_legacy(struct ath_softc *sc, const struct ath_buf *first_bf, argument 205 struct ath_hal *ah = sc->sc_ah; 243 ath_printtxbuf(struct ath_softc *sc, const struct ath_buf *first_bf, argument 246 if (sc->sc_ah->ah_magic == 0x19741014) 247 ath_printtxbuf_edma(sc, first_bf, qnum, ix, done); 249 ath_printtxbuf_legacy(sc, first_b 253 ath_printtxstatbuf(struct ath_softc *sc, const struct ath_buf *first_bf, const uint32_t *ds, u_int qnum, u_int ix, int done) argument [all...] |
/haiku/src/add-ons/kernel/drivers/network/ether/rtl8139/dev/rl/ |
H A D | if_rlreg.h | 785 #define RL_TX_DESC_NXT(sc,x) ((x + 1) & ((sc)->rl_ldata.rl_tx_desc_cnt - 1)) 786 #define RL_TX_DESC_PRV(sc,x) ((x - 1) & ((sc)->rl_ldata.rl_tx_desc_cnt - 1)) 787 #define RL_RX_DESC_NXT(sc,x) ((x + 1) & ((sc)->rl_ldata.rl_rx_desc_cnt - 1)) 789 #define RL_RXBYTES(x) (le32toh((x)->rl_cmdstat) & sc->rl_rxlenmask) 946 #define CSR_WRITE_STREAM_4(sc, reg, val) \ 947 bus_space_write_stream_4(sc->rl_btag, sc [all...] |
/haiku/src/add-ons/kernel/drivers/network/ether/rtl81xx/dev/rl/ |
H A D | if_rlreg.h | 785 #define RL_TX_DESC_NXT(sc,x) ((x + 1) & ((sc)->rl_ldata.rl_tx_desc_cnt - 1)) 786 #define RL_TX_DESC_PRV(sc,x) ((x - 1) & ((sc)->rl_ldata.rl_tx_desc_cnt - 1)) 787 #define RL_RX_DESC_NXT(sc,x) ((x + 1) & ((sc)->rl_ldata.rl_rx_desc_cnt - 1)) 789 #define RL_RXBYTES(x) (le32toh((x)->rl_cmdstat) & sc->rl_rxlenmask) 946 #define CSR_WRITE_STREAM_4(sc, reg, val) \ 947 bus_space_write_stream_4(sc->rl_btag, sc [all...] |
/haiku/src/add-ons/kernel/drivers/network/ether/ipro1000/dev/e1000/ |
H A D | igb_txrx.c | 92 struct e1000_softc *sc = txr->sc; local 135 if (sc->hw.mac.type == e1000_82575) 157 struct e1000_softc *sc = txr->sc; local 226 if (sc->hw.mac.type == e1000_82575) 241 struct e1000_softc *sc = arg; local 242 if_softc_ctx_t scctx = sc->shared; 243 struct em_tx_queue *que = &sc->tx_queues[pi->ipi_qsidx]; 269 if (sc 304 struct e1000_softc *sc = arg; local 314 struct e1000_softc *sc = arg; local 366 struct e1000_softc *sc = arg; local 393 struct e1000_softc *sc = arg; local 403 struct e1000_softc *sc = arg; local 435 struct e1000_softc *sc = arg; local [all...] |
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/ |
H A D | compat.c | 224 int c, sc; local 233 if ((sc = *spanp++) == c) { 241 } while (sc != 0);
|
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8192c/pci/ |
H A D | r92ce_led.c | 59 r92ce_set_led(struct rtwn_softc *sc, int led, int on) argument 63 rtwn_setbits_1(sc, R92C_LEDCFG2, 0x0f, 65 sc->ledlink = on; /* Save LED state. */
|
H A D | r92ce_fw.c | 59 r92ce_fw_reset(struct rtwn_softc *sc, int reason) argument 65 r92c_fw_reset(sc, reason); 72 rtwn_delay(sc, 1000 * 1000);
|
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8812a/ |
H A D | r12a_led.c | 59 r12a_set_led(struct rtwn_softc *sc, int led, int on) argument 65 rtwn_setbits_1(sc, R92C_LEDCFG0, 0x8f, 67 sc->ledlink = on; /* Save LED state. */
|
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8821a/ |
H A D | r21a_led.c | 59 r21a_set_led(struct rtwn_softc *sc, int led, int on) argument 62 rtwn_write_1(sc, R92C_LEDCFG2, 64 sc->ledlink = on; /* Save LED state. */
|
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_rate/sample/ |
H A D | sample.c | 175 ath_rate_sample_find_min_pktlength(struct ath_softc *sc, argument 179 const HAL_RATE_TABLE *rt = sc->sc_currates; 192 if (! sc->sc_mrretry) { 284 ath_rate_node_init(struct ath_softc *sc, struct ath_node *an) argument 290 ath_rate_node_cleanup(struct ath_softc *sc, struct ath_node *an) argument 523 ath_rate_get_static_rix(struct ath_softc *sc, const struct ieee80211_node *ni) argument 534 return sc->sc_rixmap[tp->ucastrate]; 540 return sc->sc_rixmap[tp->ucastrate]; 549 ath_rate_update_static_rix(struct ath_softc *sc, struct ieee80211_node *ni) argument 563 sn->static_rix = ath_rate_get_static_rix(sc, n 573 ath_rate_pick_seed_rate_legacy(struct ath_softc *sc, struct ath_node *an, int frameLen) argument 614 ath_rate_pick_seed_rate_ht(struct ath_softc *sc, struct ath_node *an, int frameLen) argument 661 ath_rate_findrate(struct ath_softc *sc, struct ath_node *an, int shortPreamble, size_t frameLen, int tid, int is_aggr, u_int8_t *rix0, int *try0, u_int8_t *txrate, int *maxdur, int *maxpktlen) argument 899 ath_rate_getxtxrates(struct ath_softc *sc, struct ath_node *an, uint8_t rix0, int is_aggr, struct ath_rc_series *rc) argument 927 ath_rate_setupxtxdesc(struct ath_softc *sc, struct ath_node *an, struct ath_desc *ds, int shortPreamble, u_int8_t rix) argument 964 update_stats(struct ath_softc *sc, struct ath_node *an, int frame_size, int rix0, int tries0, int short_tries, int tries, int status, int nframes, int nbad) argument 1084 badrate(struct ath_softc *sc, int series, int hwrate, int tries, int status) argument 1093 ath_rate_tx_complete(struct ath_softc *sc, struct ath_node *an, const struct ath_rc_series *rc, const struct ath_tx_status *ts, int frame_size, int rc_framesize, int nframes, int nbad) argument 1266 ath_rate_newassoc(struct ath_softc *sc, struct ath_node *an, int isnew) argument 1273 ath_rate_update_rx_rssi(struct ath_softc *sc, struct ath_node *an, int rssi) argument 1296 ath_rate_ctl_reset(struct ath_softc *sc, struct ieee80211_node *ni) argument 1431 ath_rate_fetch_node_stats(struct ath_softc *sc, struct ath_node *an, struct ath_rateioctl *rs) argument 1510 struct ath_softc *sc = arg; local 1564 struct ath_softc *sc = arg1; local 1610 ath_rate_sysctlattach(struct ath_softc *sc, struct sample_softc *ssc) argument 1630 ath_rate_attach(struct ath_softc *sc) argument [all...] |
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8188e/ |
H A D | r88e_rom.c | 59 r88e_parse_rom(struct rtwn_softc *sc, uint8_t *buf) argument 61 struct r92c_softc *rs = sc->sc_priv; 79 RTWN_DPRINTF(sc, RTWN_DEBUG_ROM, "%s: regulatory type %d\n", 82 sc->thermal_meter = rom->thermal_meter; 84 rtwn_r92c_set_rom_opts(sc, buf);
|
/haiku/src/add-ons/kernel/drivers/network/ether/sis19x/ |
H A D | glue.c | 49 struct sge_softc *sc = device_get_softc(dev); local 52 status = CSR_READ_4(sc, IntrStatus); 59 CSR_WRITE_4(sc, IntrStatus, status); 61 CSR_WRITE_4(sc, IntrMask, 0); 63 sc->haiku_interrupt_status = status;
|
/haiku/src/add-ons/kernel/bus_managers/firewire/ |
H A D | fwmem.cpp | 54 caddr_t sc, 73 xfer->sc = sc; 83 caddr_t sc, 93 xfer = fwmem_xfer_req(fwdev, (char *)sc, spd, 0, 4, (void*)hand); 120 caddr_t sc, 130 xfer = fwmem_xfer_req(fwdev, sc, spd, 0, 0, (void*)hand); 156 caddr_t sc, 167 xfer = fwmem_xfer_req(fwdev, sc, spd, 0, roundup2(len, 4), (void*)hand); 194 caddr_t sc, 52 fwmem_xfer_req( struct fw_device *fwdev, caddr_t sc, int spd, int slen, int rlen, void *hand) argument 81 fwmem_read_quad( struct fw_device *fwdev, caddr_t sc, uint8_t spd, uint16_t dst_hi, uint32_t dst_lo, void *data, void (*hand)(struct fw_xfer *)) argument 118 fwmem_write_quad( struct fw_device *fwdev, caddr_t sc, uint8_t spd, uint16_t dst_hi, uint32_t dst_lo, void *data, void (*hand)(struct fw_xfer *)) argument 154 fwmem_read_block( struct fw_device *fwdev, caddr_t sc, uint8_t spd, uint16_t dst_hi, uint32_t dst_lo, int len, void *data, void (*hand)(struct fw_xfer *)) argument 192 fwmem_write_block( struct fw_device *fwdev, caddr_t sc, uint8_t spd, uint16_t dst_hi, uint32_t dst_lo, int len, void *data, void (*hand)(struct fw_xfer *)) argument [all...] |
/haiku/src/add-ons/kernel/drivers/network/wlan/broadcom43xx/dev/bwi/ |
H A D | bwirf.c | 201 struct bwi_softc *sc = mac->mac_sc; local 203 CSR_WRITE_2(sc, BWI_RF_CTRL, ctrl); 204 CSR_WRITE_2(sc, BWI_RF_DATA_LO, data); 211 struct bwi_softc *sc = mac->mac_sc; local 222 CSR_WRITE_2(sc, BWI_RF_CTRL, ctrl); 223 return CSR_READ_2(sc, BWI_RF_DATA_LO); 229 struct bwi_softc *sc = mac->mac_sc; local 238 if (sc->sc_bbp_id == BWI_BBPID_BCM4317) { 244 if (sc->sc_bbp_rev == 0) 246 else if (sc 344 struct bwi_softc *sc = mac->mac_sc; local 387 struct bwi_softc *sc = mac->mac_sc; local 570 struct bwi_softc *sc = mac->mac_sc; local 679 struct bwi_softc *sc = mac->mac_sc; local 770 struct bwi_softc *sc = mac->mac_sc; local 1087 struct bwi_softc *sc = mac->mac_sc; local 1260 struct bwi_softc *sc = mac->mac_sc; local 1462 struct bwi_softc *sc = mac->mac_sc; local 1647 struct bwi_softc *sc = mac->mac_sc; local 1920 struct bwi_softc *sc = mac->mac_sc; local 2294 struct bwi_softc *sc = mac->mac_sc; local 2573 struct bwi_softc *sc = mac->mac_sc; local [all...] |
/haiku/src/add-ons/kernel/drivers/network/ether/via_rhine/dev/vr/ |
H A D | if_vrreg.h | 653 #define VR_TX_RING_ADDR(sc, i) \ 654 ((sc)->vr_rdata.vr_tx_ring_paddr + sizeof(struct vr_desc) * (i)) 655 #define VR_RX_RING_ADDR(sc, i) \ 656 ((sc)->vr_rdata.vr_rx_ring_paddr + sizeof(struct vr_desc) * (i)) 753 #define CSR_WRITE_4(sc, reg, val) bus_write_4(sc->vr_res, reg, val) 754 #define CSR_WRITE_2(sc, reg, val) bus_write_2(sc->vr_res, reg, val) 755 #define CSR_WRITE_1(sc, reg, val) bus_write_1(sc [all...] |
/haiku/src/add-ons/kernel/drivers/network/ether/3com/dev/xl/ |
H A D | if_xlreg.h | 657 #define CSR_WRITE_4(sc, reg, val) \ 658 bus_space_write_4(sc->xl_btag, sc->xl_bhandle, reg, val) 659 #define CSR_WRITE_2(sc, reg, val) \ 660 bus_space_write_2(sc->xl_btag, sc->xl_bhandle, reg, val) 661 #define CSR_WRITE_1(sc, reg, val) \ 662 bus_space_write_1(sc->xl_btag, sc->xl_bhandle, reg, val) 664 #define CSR_READ_4(sc, re [all...] |
/haiku/src/add-ons/kernel/drivers/network/wlan/iprowifi3945/dev/wpi/ |
H A D | if_wpi_debug.h | 51 #define DPRINTF(sc, m, ...) do { \ 52 if (sc->sc_debug & (m)) \ 141 #define DPRINTF(sc, m, ...) do { (void) sc; } while (0)
|
/haiku/src/add-ons/kernel/drivers/network/ether/pcnet/dev/le/ |
H A D | lancevar.h | 138 #define LE_HTOLE16(v) (((sc)->sc_flags & LE_BSWAP) ? htole16(v) : (v)) 139 #define LE_HTOLE32(v) (((sc)->sc_flags & LE_BSWAP) ? htole32(v) : (v)) 140 #define LE_LE16TOH(v) (((sc)->sc_flags & LE_BSWAP) ? le16toh(v) : (v)) 141 #define LE_LE32TOH(v) (((sc)->sc_flags & LE_BSWAP) ? le32toh(v) : (v))
|
/haiku/src/add-ons/kernel/drivers/network/ether/sis19x/dev/sge/ |
H A D | if_sgereg.h | 376 #define CSR_WRITE_4(sc, reg, val) bus_write_4(sc->sge_res, reg, val) 377 #define CSR_WRITE_2(sc, reg, val) bus_write_2(sc->sge_res, reg, val) 378 #define CSR_WRITE_1(cs, reg, val) bus_write_1(sc->sge_res, reg, val) 380 #define CSR_READ_4(sc, reg) bus_read_4(sc->sge_res, reg) 381 #define CSR_READ_2(sc, reg) bus_read_2(sc->sge_res, reg) 382 #define CSR_READ_1(sc, re [all...] |
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/usb/ |
H A D | rtwn_usb_var.h | 83 #define RTWN_USB_SOFTC(sc) ((struct rtwn_usb_softc *)(sc))
|