Home
last modified time | relevance | path

Searched refs:_sc (Results 1 – 7 of 7) sorted by relevance

/drivers/net/wireless/ath5k/
Ddebug.h122 #define ATH5K_TRACE(_sc) do { \ argument
123 if (unlikely((_sc)->debug.level & ATH5K_DEBUG_TRACE)) \
127 #define ATH5K_DBG(_sc, _m, _fmt, ...) do { \ argument
128 if (unlikely((_sc)->debug.level & (_m) && net_ratelimit())) \
129 ATH5K_PRINTK(_sc, KERN_DEBUG, "(%s:%d): " _fmt, \
133 #define ATH5K_DBG_UNLIMIT(_sc, _m, _fmt, ...) do { \ argument
134 if (unlikely((_sc)->debug.level & (_m))) \
135 ATH5K_PRINTK(_sc, KERN_DEBUG, "(%s:%d): " _fmt, \
168 #define ATH5K_TRACE(_sc) typecheck(struct ath5k_softc *, (_sc)) argument
Dath5k.h75 #define ATH5K_PRINTK(_sc, _level, _fmt, ...) \ argument
77 ((_sc) && (_sc)->hw) ? wiphy_name((_sc)->hw->wiphy) : "", \
80 #define ATH5K_PRINTK_LIMIT(_sc, _level, _fmt, ...) do { \ argument
82 ATH5K_PRINTK(_sc, _level, _fmt, ##__VA_ARGS__); \
85 #define ATH5K_INFO(_sc, _fmt, ...) \ argument
86 ATH5K_PRINTK(_sc, KERN_INFO, _fmt, ##__VA_ARGS__)
88 #define ATH5K_WARN(_sc, _fmt, ...) \ argument
89 ATH5K_PRINTK_LIMIT(_sc, KERN_WARNING, _fmt, ##__VA_ARGS__)
91 #define ATH5K_ERR(_sc, _fmt, ...) \ argument
92 ATH5K_PRINTK_LIMIT(_sc, KERN_ERR, _fmt, ##__VA_ARGS__)
/drivers/net/fs_enet/
Dfs_enet.h174 #define CBDW_SC(_cbd, _sc) __cbd_out16(&(_cbd)->cbd_sc, (_sc)) argument
184 #define CBDS_SC(_cbd, _sc) CBDW_SC(_cbd, CBDR_SC(_cbd) | (_sc)) argument
187 #define CBDC_SC(_cbd, _sc) CBDW_SC(_cbd, CBDR_SC(_cbd) & ~(_sc)) argument
/drivers/scsi/libsas/
Dsas_internal.h43 #define ASSIGN_SAS_TASK(_sc, _t) do { (_sc)->host_scribble = (void *) _t; } while (0) argument
/drivers/net/wireless/ath9k/
Drecv.c444 #define PA2DESC(_sc, _pa) \ in ath_rx_tasklet() argument
445 ((struct ath_desc *)((caddr_t)(_sc)->rx.rxdma.dd_desc + \ in ath_rx_tasklet()
446 ((_pa) - (_sc)->rx.rxdma.dd_desc_paddr))) in ath_rx_tasklet()
/drivers/staging/rt2870/
Drt_linux.h800 #define GET_SG_LIST_FROM_PACKET(_p, _sc) \ argument
801 rt_get_sg_list_from_packet(_p, _sc)
/drivers/staging/rt2860/
Drt_linux.h803 #define GET_SG_LIST_FROM_PACKET(_p, _sc) \ argument
804 rt_get_sg_list_from_packet(_p, _sc)