/linux/drivers/net/wireless/ath/ath5k/ |
A 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 634 #define AR5K_QUEUE_MISC(_q) AR5K_QUEUE_REG(AR5K_QCU_MISC_BASE, _q) argument [all …]
|
/linux/drivers/scsi/arm/ |
A 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/drivers/scsi/bfa/ |
A 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); \ 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 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/lib/mpi/ |
A 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/include/math-emu/ |
A 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/drivers/net/ethernet/brocade/bna/ |
A D | bfa_msgq.h | 20 #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 D | feature.h | 77 #define BRCMF_QUIRK_DEF(_q) \ argument 78 BRCMF_FEAT_QUIRK_ ## _q,
|
A D | feature.c | 52 #define BRCMF_QUIRK_DEF(_q) \ argument 53 #_q,
|
/linux/drivers/net/wireless/rsi/ |
A 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/drivers/net/ethernet/netronome/nfp/nfpcore/ |
A D | nfp_arm.h | 12 #define NFP_ARM_QUEUE(_q) (0x100000 + (0x800 * ((_q) & 0xff))) argument
|
/linux/drivers/s390/net/ |
A 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/drivers/media/common/videobuf2/ |
A 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); \
|
/linux/drivers/net/ethernet/netronome/nfp/ |
A D | nfp_net.h | 780 #define NFP_PCIE_QUEUE(_q) (0x80000 + (NFP_QCP_QUEUE_ADDR_SZ * ((_q) & 0xff))) argument
|