Home
last modified time | relevance | path

Searched refs:_q (Results 1 – 14 of 14) sorted by relevance

/linux/drivers/net/wireless/ath/ath5k/
A Dreg.h560 #define AR5K_QUEUE_REG(_r, _q) (((_q) << 2) + _r) argument
561 #define AR5K_QCU_GLOBAL_READ(_r, _q) (AR5K_REG_READ(_r) & (1 << _q)) argument
562 #define AR5K_QCU_GLOBAL_WRITE(_r, _q) AR5K_REG_WRITE(_r, (1 << _q)) argument
568 #define AR5K_QUEUE_TXDP(_q) AR5K_QUEUE_REG(AR5K_QCU_TXDP_BASE, _q) argument
574 #define AR5K_ENABLE_QUEUE(_q) AR5K_QCU_GLOBAL_WRITE(AR5K_QCU_TXE, _q) argument
575 #define AR5K_QUEUE_ENABLED(_q) AR5K_QCU_GLOBAL_READ(AR5K_QCU_TXE, _q) argument
581 #define AR5K_DISABLE_QUEUE(_q) AR5K_QCU_GLOBAL_WRITE(AR5K_QCU_TXD, _q) argument
582 #define AR5K_QUEUE_DISABLED(_q) AR5K_QCU_GLOBAL_READ(AR5K_QCU_TXD, _q) argument
592 #define AR5K_QUEUE_CBRCFG(_q) AR5K_QUEUE_REG(AR5K_QCU_CBRCFG_BASE, _q) argument
634 #define AR5K_QUEUE_MISC(_q) AR5K_QUEUE_REG(AR5K_QCU_MISC_BASE, _q) argument
[all …]
/linux/drivers/scsi/arm/
A Dacornscsi.h261 #define ADD_STATUS(_q,_ssr,_ph,_irq) \ argument
263 host->status[(_q)][host->status_ptr[(_q)]].when = jiffies; \
264 host->status[(_q)][host->status_ptr[(_q)]].ssr = (_ssr); \
265 host->status[(_q)][host->status_ptr[(_q)]].ph = (_ph); \
266 host->status[(_q)][host->status_ptr[(_q)]].irq = (_irq); \
267 host->status_ptr[(_q)] = (host->status_ptr[(_q)] + 1) & (STATUS_BUFFER_SIZE - 1); \
/linux/drivers/scsi/bfa/
A Dbfa_cs.h116 #define bfa_q_first(_q) ((void *)(((struct list_head *) (_q))->next)) argument
131 #define bfa_q_deq(_q, _qe) do { \ argument
132 if (!list_empty(_q)) { \
133 (*((struct list_head **) (_qe))) = bfa_q_next(_q); \
135 (struct list_head *) (_q); \
145 #define bfa_q_deq_tail(_q, _qe) { \ argument
146 if (!list_empty(_q)) { \
147 *((struct list_head **) (_qe)) = bfa_q_prev(_q); \
149 (struct list_head *) (_q); \
172 #define bfa_q_is_on_q(_q, _qe) \ argument
[all …]
A Dbfi.h538 #define BFI_MSGQ_FULL(_q) (((_q->pi + 1) % _q->q_depth) == _q->ci) argument
539 #define BFI_MSGQ_EMPTY(_q) (_q->pi == _q->ci) argument
540 #define BFI_MSGQ_UPDATE_CI(_q) (_q->ci = (_q->ci + 1) % _q->q_depth) argument
541 #define BFI_MSGQ_UPDATE_PI(_q) (_q->pi = (_q->pi + 1) % _q->q_depth) argument
544 #define BFI_MSGQ_FREE_CNT(_q) ((_q->ci - _q->pi - 1) & (_q->q_depth - 1)) argument
/linux/lib/mpi/
A Dmpi-internal.h118 mpi_limb_t _q, _r; \
120 umul_ppmm(_q, _ql, (nh), (di)); \
121 _q += (nh); /* DI is 2**BITS_PER_MPI_LIMB too small */ \
122 umul_ppmm(_xh, _xl, _q, (d)); \
126 _q++; \
129 _q++; \
134 _q++; \
137 (q) = _q; \
/linux/include/math-emu/
A Dop-1.h191 _FP_W_TYPE _q, _r; \
195 doit(_q, _r, X##_f, Y##_f); \
196 R##_f = _q | (_r != 0); \
206 _FP_W_TYPE _nh, _nl, _q, _r, _y; \
224 udiv_qrnnd(_q, _r, _nh, _nl, _y); \
225 R##_f = _q | (_r != 0); \
230 _FP_W_TYPE _nh, _nl, _q, _r; \
242 udiv_qrnnd(_q, _r, _nh, _nl, Y##_f); \
243 R##_f = _q | (_r != 0); \
/linux/drivers/net/ethernet/brocade/bna/
A Dbfa_msgq.h20 #define BFA_MSGQ_FREE_CNT(_q) \ argument
21 (((_q)->consumer_index - (_q)->producer_index - 1) & ((_q)->depth - 1))
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
A Dfeature.h77 #define BRCMF_QUIRK_DEF(_q) \ argument
78 BRCMF_FEAT_QUIRK_ ## _q,
A Dfeature.c52 #define BRCMF_QUIRK_DEF(_q) \ argument
53 #_q,
/linux/drivers/net/wireless/rsi/
A Drsi_main.h105 #define WME_AC(_q) ( \ argument
106 ((_q) == BK_Q) ? IEEE80211_AC_BK : \
107 ((_q) == BE_Q) ? IEEE80211_AC_BE : \
108 ((_q) == VI_Q) ? IEEE80211_AC_VI : \
/linux/drivers/net/ethernet/netronome/nfp/nfpcore/
A Dnfp_arm.h12 #define NFP_ARM_QUEUE(_q) (0x100000 + (0x800 * ((_q) & 0xff))) argument
/linux/drivers/s390/net/
A Dqeth_core.h438 #define QETH_TXQ_STAT_ADD(_q, _stat, _val) ((_q)->stats._stat += (_val)) argument
439 #define QETH_TXQ_STAT_INC(_q, _stat) QETH_TXQ_STAT_ADD(_q, _stat, 1) argument
/linux/drivers/media/common/videobuf2/
A Dvideobuf2-core.c61 struct vb2_queue *_q = (vb)->vb2_queue; \
65 err = _q->mem_ops->op ? _q->mem_ops->op(args) : 0; \
73 struct vb2_queue *_q = (vb)->vb2_queue; \
77 ptr = _q->mem_ops->op ? _q->mem_ops->op(vb, args) : NULL; \
85 struct vb2_queue *_q = (vb)->vb2_queue; \
88 if (_q->mem_ops->op) \
89 _q->mem_ops->op(args); \
/linux/drivers/net/ethernet/netronome/nfp/
A Dnfp_net.h780 #define NFP_PCIE_QUEUE(_q) (0x80000 + (NFP_QCP_QUEUE_ADDR_SZ * ((_q) & 0xff))) argument

Completed in 76 milliseconds