Home
last modified time | relevance | path

Searched defs:_sc (Results 1 – 25 of 42) sorted by relevance

12

/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/
H A Dif_ath_rx.h39 #define ath_stoprecv(_sc, _dodelay) \ argument
41 #define ath_startrecv(_sc) \ argument
43 #define ath_rx_flush(_sc) \ argument
45 #define ath_rxbuf_init(_sc, _bf) \ argument
47 #define ath_rxdma_setup(_sc) \ argument
49 #define ath_rxdma_teardown(_sc) \ argument
H A Dif_ath_tx.h154 #define ath_txdma_setup(_sc) \ argument
156 #define ath_txdma_teardown(_sc) \ argument
158 #define ath_txq_restart_dma(_sc, _txq) \ argument
160 #define ath_tx_handoff(_sc, _txq, _bf) \ argument
162 #define ath_draintxq(_sc, _rtype) \ argument
H A Dif_athvar.h401 #define ATH_TXQ_LOCK_INIT(_sc, _tq) do { \ argument
937 #define ATH_LOCK_INIT(_sc) \ argument
940 #define ATH_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->sc_mtx) argument
941 #define ATH_LOCK(_sc) mtx_lock(&(_sc)->sc_mtx) argument
942 #define ATH_UNLOCK(_sc) mtx_unlock(&(_sc)->sc_mtx) argument
943 #define ATH_LOCK_ASSERT(_sc) mtx_assert(&(_sc)->sc_mtx, MA_OWNED) argument
944 #define ATH_UNLOCK_ASSERT(_sc) mtx_assert(&(_sc)->sc_mtx, MA_NOTOWNED) argument
950 #define ATH_TX_LOCK_INIT(_sc) do {\ argument
958 #define ATH_TX_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->sc_tx_mtx) argument
959 #define ATH_TX_LOCK(_sc) mtx_lock(&(_sc)->sc_tx_mtx) argument
[all …]
H A Dif_ath_debug.h89 #define ATH_KTR(_sc, _km, _kf, ...) do { \ argument
113 #define ATH_KTR(_sc, _km, _kf, ...) do { } while (0) argument
H A Dif_ath_rx.c1072 #define PA2DESC(_sc, _pa) \ in ath_rx_proc() argument
1390 #define PA2DESC(_sc, _pa) \ in ath_legacy_stoprecv() argument
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/
H A Dif_rtwnvar.h195 #define RTWN_CHIP_HAS_BCNQ1(_sc) \ argument
432 #define rtwn_write_1(_sc, _addr, _val) \ argument
434 #define rtwn_write_2(_sc, _addr, _val) \ argument
436 #define rtwn_write_4(_sc, _addr, _val) \ argument
438 #define rtwn_read_1(_sc, _addr) \ argument
440 #define rtwn_read_2(_sc, _addr) \ argument
442 #define rtwn_read_4(_sc, _addr) \ argument
444 #define rtwn_delay(_sc, _usec) \ argument
446 #define rtwn_tx_start(_sc, _ni, _m, _desc, _type, _id) \ argument
448 #define rtwn_start_xfers(_sc) \ argument
[all …]
H A Dif_rtwn_debug.h49 #define RTWN_DPRINTF(_sc, _m, ...) do { \ argument
55 #define RTWN_DPRINTF(_sc, _m, ...) do { (void) _sc; } while (0) argument
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8192c/
H A Dr92c_var.h65 #define R92C_SOFTC(_sc) ((struct r92c_softc *)((_sc)->sc_priv)) argument
67 #define rtwn_r92c_set_bw20(_sc, _chan) \ argument
69 #define rtwn_r92c_get_txpower(_sc, _chain, _c, _power) \ argument
71 #define rtwn_r92c_set_gain(_sc, _gain) \ argument
73 #define rtwn_r92c_tx_enable_ampdu(_sc, _buf, _enable) \ argument
75 #define rtwn_r92c_tx_setup_hwseq(_sc, _buf) \ argument
77 #define rtwn_r92c_tx_setup_macid(_sc, _buf, _id) \ argument
79 #define rtwn_r92c_set_rom_opts(_sc, _buf) \ argument
/haiku/src/add-ons/kernel/drivers/network/wlan/iprowifi3945/dev/wpi/
H A Dif_wpivar.h261 #define WPI_LOCK_INIT(_sc) \ argument
264 #define WPI_LOCK(_sc) mtx_lock(&(_sc)->sc_mtx) argument
265 #define WPI_UNLOCK(_sc) mtx_unlock(&(_sc)->sc_mtx) argument
266 #define WPI_LOCK_ASSERT(_sc) mtx_assert(&(_sc)->sc_mtx, MA_OWNED) argument
267 #define WPI_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->sc_mtx) argument
269 #define WPI_RXON_LOCK_INIT(_sc) \ argument
271 #define WPI_RXON_LOCK(_sc) mtx_lock(&(_sc)->rxon_mtx) argument
272 #define WPI_RXON_UNLOCK(_sc) mtx_unlock(&(_sc)->rxon_mtx) argument
273 #define WPI_RXON_LOCK_ASSERT(_sc) mtx_assert(&(_sc)->rxon_mtx, MA_OWNED) argument
274 #define WPI_RXON_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->rxon_mtx) argument
[all …]
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8812a/
H A Dr12a_var.h103 #define R12A_SOFTC(_sc) ((struct r12a_softc *)((_sc)->sc_priv)) argument
105 #define rtwn_r12a_fix_spur(_sc, _c) \ argument
107 #define rtwn_r12a_set_band_2ghz(_sc, _rates) \ argument
109 #define rtwn_r12a_set_band_5ghz(_sc, _rates) \ argument
111 #define rtwn_r12a_init_burstlen(_sc) \ argument
113 #define rtwn_r12a_init_ampdu_fwhw(_sc) \ argument
115 #define rtwn_r12a_crystalcap_write(_sc) \ argument
118 #define rtwn_r12a_iq_calib_fw_supported(_sc) \ argument
121 #define rtwn_r12a_iq_calib_sw(_sc) \ argument
/haiku/src/add-ons/kernel/drivers/network/ether/pcnet/dev/le/
H A Dlancevar.h122 #define LE_LOCK_INIT(_sc, _name) \ argument
124 #define LE_LOCK_INITIALIZED(_sc) mtx_initialized(&(_sc)->sc_mtx) argument
125 #define LE_LOCK(_sc) mtx_lock(&(_sc)->sc_mtx) argument
126 #define LE_UNLOCK(_sc) mtx_unlock(&(_sc)->sc_mtx) argument
127 #define LE_LOCK_ASSERT(_sc, _what) mtx_assert(&(_sc)->sc_mtx, (_what)) argument
128 #define LE_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->sc_mtx) argument
/haiku/src/add-ons/kernel/drivers/network/wlan/marvell88w8363/dev/mwl/
H A Dif_mwlvar.h131 #define MWL_TXQ_LOCK_INIT(_sc, _tq) do { \ argument
155 #define MWL_JUMBO_OFFSET(_sc, _data) \ argument
157 #define MWL_JUMBO_DMA_ADDR(_sc, _data) \ argument
345 #define MWL_LOCK_INIT(_sc) \ argument
348 #define MWL_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->sc_mtx) argument
349 #define MWL_LOCK(_sc) mtx_lock(&(_sc)->sc_mtx) argument
350 #define MWL_UNLOCK(_sc) mtx_unlock(&(_sc)->sc_mtx) argument
351 #define MWL_LOCK_ASSERT(_sc) mtx_assert(&(_sc)->sc_mtx, MA_OWNED) argument
353 #define MWL_RXFREE_INIT(_sc) \ argument
356 #define MWL_RXFREE_DESTROY(_sc) mtx_destroy(&(_sc)->sc_rxlock) argument
[all …]
/haiku/src/add-ons/kernel/drivers/network/ether/rdc/dev/vte/
H A Dif_vtevar.h149 #define CSR_WRITE_2(_sc, reg, val) \ argument
151 #define CSR_READ_2(_sc, reg) \ argument
154 #define VTE_LOCK(_sc) mtx_lock(&(_sc)->vte_mtx) argument
155 #define VTE_UNLOCK(_sc) mtx_unlock(&(_sc)->vte_mtx) argument
156 #define VTE_LOCK_ASSERT(_sc) mtx_assert(&(_sc)->vte_mtx, MA_OWNED) argument
/haiku/src/add-ons/kernel/drivers/network/ether/attansic_l1/dev/age/
H A Dif_agevar.h237 #define CSR_WRITE_4(_sc, reg, val) \ argument
239 #define CSR_WRITE_2(_sc, reg, val) \ argument
241 #define CSR_READ_2(_sc, reg) \ argument
243 #define CSR_READ_4(_sc, reg) \ argument
246 #define AGE_LOCK(_sc) mtx_lock(&(_sc)->age_mtx) argument
247 #define AGE_UNLOCK(_sc) mtx_unlock(&(_sc)->age_mtx) argument
248 #define AGE_LOCK_ASSERT(_sc) mtx_assert(&(_sc)->age_mtx, MA_OWNED) argument
250 #define AGE_COMMIT_MBOX(_sc) \ argument
261 #define AGE_RXCHAIN_RESET(_sc) \ argument
/haiku/src/add-ons/kernel/drivers/network/ether/atheros813x/dev/alc/
H A Dif_alcvar.h260 #define CSR_WRITE_4(_sc, reg, val) \ argument
262 #define CSR_WRITE_2(_sc, reg, val) \ argument
264 #define CSR_WRITE_1(_sc, reg, val) \ argument
266 #define CSR_READ_2(_sc, reg) \ argument
268 #define CSR_READ_4(_sc, reg) \ argument
271 #define ALC_RXCHAIN_RESET(_sc) \ argument
279 #define ALC_LOCK(_sc) mtx_lock(&(_sc)->alc_mtx) argument
280 #define ALC_UNLOCK(_sc) mtx_unlock(&(_sc)->alc_mtx) argument
281 #define ALC_LOCK_ASSERT(_sc) mtx_assert(&(_sc)->alc_mtx, MA_OWNED) argument
/haiku/src/add-ons/kernel/drivers/network/ether/atheros81xx/dev/ale/
H A Dif_alevar.h229 #define CSR_WRITE_4(_sc, reg, val) \ argument
231 #define CSR_WRITE_2(_sc, reg, val) \ argument
233 #define CSR_WRITE_1(_sc, reg, val) \ argument
235 #define CSR_READ_2(_sc, reg) \ argument
237 #define CSR_READ_4(_sc, reg) \ argument
240 #define ALE_LOCK(_sc) mtx_lock(&(_sc)->ale_mtx) argument
241 #define ALE_UNLOCK(_sc) mtx_unlock(&(_sc)->ale_mtx) argument
242 #define ALE_LOCK_ASSERT(_sc) mtx_assert(&(_sc)->ale_mtx, MA_OWNED) argument
/haiku/src/add-ons/kernel/drivers/network/ether/jmicron2x0/dev/jme/
H A Dif_jmevar.h230 #define CSR_WRITE_4(_sc, reg, val) \ argument
232 #define CSR_READ_4(_sc, reg) \ argument
235 #define JME_LOCK(_sc) mtx_lock(&(_sc)->jme_mtx) argument
236 #define JME_UNLOCK(_sc) mtx_unlock(&(_sc)->jme_mtx) argument
237 #define JME_LOCK_ASSERT(_sc) mtx_assert(&(_sc)->jme_mtx, MA_OWNED) argument
241 #define JME_RXCHAIN_RESET(_sc) \ argument
/haiku/src/add-ons/kernel/drivers/network/wlan/marvell88w8335/dev/malo/
H A Dif_malo.h494 #define MALO_TXQ_LOCK_INIT(_sc, _tq) do { \ argument
565 #define MALO_LOCK_INIT(_sc) \ argument
568 #define MALO_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->malo_mtx) argument
569 #define MALO_LOCK(_sc) mtx_lock(&(_sc)->malo_mtx) argument
570 #define MALO_UNLOCK(_sc) mtx_unlock(&(_sc)->malo_mtx) argument
571 #define MALO_LOCK_ASSERT(_sc) mtx_assert(&(_sc)->malo_mtx, MA_OWNED) argument
573 #define MALO_RXFREE_INIT(_sc) \ argument
576 #define MALO_RXFREE_DESTROY(_sc) mtx_destroy(&(_sc)->malo_rxlock) argument
577 #define MALO_RXFREE_LOCK(_sc) mtx_lock(&(_sc)->malo_rxlock) argument
578 #define MALO_RXFREE_UNLOCK(_sc) mtx_unlock(&(_sc)->malo_rxlock) argument
[all …]
/haiku/src/add-ons/kernel/drivers/network/ether/attansic_l2/dev/ae/
H A Dif_aevar.h156 #define AE_LOCK(_sc) mtx_lock(&(_sc)->mtx) argument
157 #define AE_UNLOCK(_sc) mtx_unlock(&(_sc)->mtx) argument
158 #define AE_LOCK_ASSERT(_sc) mtx_assert(&(_sc)->mtx, MA_OWNED) argument
/haiku/src/add-ons/kernel/drivers/network/ether/vt612x/dev/vge/
H A Dif_vgevar.h125 #define VGE_CHAIN_RESET(_sc) \ argument
208 #define VGE_LOCK(_sc) mtx_lock(&(_sc)->vge_mtx) argument
209 #define VGE_UNLOCK(_sc) mtx_unlock(&(_sc)->vge_mtx) argument
210 #define VGE_LOCK_ASSERT(_sc) mtx_assert(&(_sc)->vge_mtx, MA_OWNED) argument
/haiku/src/add-ons/kernel/drivers/network/ether/ipro100/dev/fxp/
H A Dif_fxpvar.h110 #define FXP_LOCK(_sc) mtx_lock(&(_sc)->sc_mtx) argument
111 #define FXP_UNLOCK(_sc) mtx_unlock(&(_sc)->sc_mtx) argument
112 #define FXP_LOCK_ASSERT(_sc, _what) mtx_assert(&(_sc)->sc_mtx, (_what)) argument
/haiku/src/add-ons/kernel/drivers/network/ether/pegasus/
H A Dif_auereg.h215 #define AUE_LOCK(_sc) argument
216 #define AUE_UNLOCK(_sc) argument
/haiku/src/add-ons/kernel/drivers/network/wlan/iprowifi4965/dev/iwn/
H A Dif_iwnvar.h439 #define IWN_LOCK_INIT(_sc) \ argument
442 #define IWN_LOCK(_sc) mtx_lock(&(_sc)->sc_mtx) argument
443 #define IWN_LOCK_ASSERT(_sc) mtx_assert(&(_sc)->sc_mtx, MA_OWNED) argument
444 #define IWN_UNLOCK(_sc) mtx_unlock(&(_sc)->sc_mtx) argument
445 #define IWN_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->sc_mtx) argument
/haiku/src/add-ons/kernel/drivers/network/ether/sis19x/dev/sge/
H A Dif_sgereg.h367 #define SGE_LOCK(_sc) mtx_lock(&(_sc)->sge_mtx) argument
368 #define SGE_UNLOCK(_sc) mtx_unlock(&(_sc)->sge_mtx) argument
369 #define SGE_LOCK_ASSERT(_sc) mtx_assert(&(_sc)->sge_mtx, MA_OWNED) argument
/haiku/src/add-ons/kernel/drivers/network/ether/sis900/dev/sis/
H A Dif_sis.c113 #define SIS_LOCK(_sc) mtx_lock(&(_sc)->sis_mtx) argument
114 #define SIS_UNLOCK(_sc) mtx_unlock(&(_sc)->sis_mtx) argument
115 #define SIS_LOCK_ASSERT(_sc) mtx_assert(&(_sc)->sis_mtx, MA_OWNED) argument

12