Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/scsi/arm/
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-v6.6/drivers/scsi/bfa/
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); \
136 bfa_q_next(_q) = bfa_q_next(*((struct list_head **) _qe));\
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); \
[all …]
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-v6.6/drivers/net/wireless/ath/ath5k/
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
601 #define AR5K_QUEUE_RDYTIMECFG(_q) AR5K_QUEUE_REG(AR5K_QCU_RDYTIMECFG_BASE, _q) argument
[all …]
/Linux-v6.6/lib/crypto/mpi/
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-v6.6/include/math-emu/
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-v6.6/drivers/net/ethernet/brocade/bna/
Dbfa_msgq.h20 #define BFA_MSGQ_FREE_CNT(_q) \ argument
21 (((_q)->consumer_index - (_q)->producer_index - 1) & ((_q)->depth - 1))
/Linux-v6.6/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dfeature.h83 #define BRCMF_QUIRK_DEF(_q) \ argument
84 BRCMF_FEAT_QUIRK_ ## _q,
Dfeature.c52 #define BRCMF_QUIRK_DEF(_q) \ argument
53 #_q,
/Linux-v6.6/drivers/net/wireless/mediatek/mt76/
Ddma.c12 #define Q_READ(_dev, _q, _field) ({ \ argument
15 if ((_q)->flags & MT_QFLAG_WED) \
17 ((_q)->wed_regs + \
20 _val = readl(&(_q)->regs->_field); \
24 #define Q_WRITE(_dev, _q, _field, _val) do { \ argument
26 if ((_q)->flags & MT_QFLAG_WED) \
28 ((_q)->wed_regs + _offset), \
31 writel(_val, &(_q)->regs->_field); \
36 #define Q_READ(_dev, _q, _field) readl(&(_q)->regs->_field) argument
37 #define Q_WRITE(_dev, _q, _field, _val) writel(_val, &(_q)->regs->_field) argument
/Linux-v6.6/drivers/net/wireless/rsi/
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-v6.6/drivers/net/ethernet/netronome/nfp/nfpcore/
Dnfp_arm.h12 #define NFP_ARM_QUEUE(_q) (0x100000 + (0x800 * ((_q) & 0xff))) argument
/Linux-v6.6/drivers/s390/net/
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-v6.6/drivers/media/common/videobuf2/
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); \