/Linux-v6.6/drivers/scsi/arm/ |
D | acornscsi.h | 261 #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/ |
D | bfa_cs.h | 116 #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 …]
|
D | bfi.h | 538 #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/ |
D | reg.h | 560 #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/ |
D | mpi-internal.h | 118 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/ |
D | op-1.h | 191 _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/ |
D | bfa_msgq.h | 20 #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/ |
D | feature.h | 83 #define BRCMF_QUIRK_DEF(_q) \ argument 84 BRCMF_FEAT_QUIRK_ ## _q,
|
D | feature.c | 52 #define BRCMF_QUIRK_DEF(_q) \ argument 53 #_q,
|
/Linux-v6.6/drivers/net/wireless/mediatek/mt76/ |
D | dma.c | 12 #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/ |
D | rsi_main.h | 105 #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/ |
D | nfp_arm.h | 12 #define NFP_ARM_QUEUE(_q) (0x100000 + (0x800 * ((_q) & 0xff))) argument
|
/Linux-v6.6/drivers/s390/net/ |
D | qeth_core.h | 438 #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/ |
D | videobuf2-core.c | 61 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); \
|