/drivers/scsi/snic/ |
D | snic_trc.h | 83 #define SNIC_TRC(_hno, _tag, d1, d2, d3, d4, d5) \ argument 88 (u32)(_tag), \ 97 #define SNIC_TRC(_hno, _tag, d1, d2, d3, d4, d5) \ argument 103 (u32)(_tag), \
|
/drivers/net/ethernet/qualcomm/emac/ |
D | emac.h | 282 #define EMAC_VLAN_TO_TAG(_vlan, _tag) \ argument 283 (_tag = ((((_vlan) >> 8) & 0xFF) | (((_vlan) & 0xFF) << 8))) 285 #define EMAC_TAG_TO_VLAN(_tag, _vlan) \ argument 286 (_vlan = ((((_tag) >> 8) & 0xFF) | (((_tag) & 0xFF) << 8)))
|
/drivers/scsi/bfa/ |
D | bfa_fcpim.h | 42 #define BFA_IOTAG_FROM_TAG(_fcp, _tag) \ argument 43 (&(_fcp)->iotag_arr[(_tag & BFA_IOIM_IOTAG_MASK)]) 44 #define BFA_ITN_FROM_TAG(_fcp, _tag) \ argument 45 ((_fcp)->itn_arr + ((_tag) & ((_fcp)->num_itns - 1))) 46 #define BFA_SNSINFO_FROM_TAG(_fcp, _tag) \ argument 47 bfa_mem_get_dmabuf_kva(_fcp, (_tag & BFA_IOIM_IOTAG_MASK), \
|
D | bfi.h | 31 #define BFI_MEM_SEG_FROM_TAG(_tag, _rqsz) ((_tag) / BFI_MEM_NREQS_SEG(_rqsz)) argument 34 #define BFI_MEM_SEG_REQ_OFFSET(_tag, _sz) \ argument 35 ((_tag) - (BFI_MEM_SEG_FROM_TAG(_tag, _sz) * BFI_MEM_NREQS_SEG(_sz)))
|
D | bfa_ioc.h | 137 #define bfa_mem_get_dmabuf_kva(_mod, _tag, _rqsz) \ argument 138 (((u8 *)(_mod)->dma_seg[BFI_MEM_SEG_FROM_TAG(_tag, _rqsz)].kva_curp) +\ 139 BFI_MEM_SEG_REQ_OFFSET(_tag, _rqsz) * (_rqsz)) 142 #define bfa_mem_get_dmabuf_pa(_mod, _tag, _rqsz) \ argument 143 ((_mod)->dma_seg[BFI_MEM_SEG_FROM_TAG(_tag, _rqsz)].dma_curp + \ 144 BFI_MEM_SEG_REQ_OFFSET(_tag, _rqsz) * (_rqsz))
|
D | bfa_svc.h | 262 #define BFA_RPORT_FROM_TAG(__bfa, _tag) \ argument 264 ((_tag) & (BFA_RPORT_MOD(__bfa)->num_rports - 1)))
|
D | bfa_fcpim.c | 21 #define BFA_ITNIM_FROM_TAG(_fcpim, _tag) \ argument 22 (((_fcpim)->itnim_arr + ((_tag) & ((_fcpim)->num_itnims - 1))))
|
/drivers/net/ethernet/atheros/atl1c/ |
D | atl1c.h | 49 #define AT_VLAN_TO_TAG(_vlan, _tag) \ argument 50 _tag = ((((_vlan) >> 8) & 0xFF) |\ 53 #define AT_TAG_TO_VLAN(_tag, _vlan) \ argument 54 _vlan = ((((_tag) >> 8) & 0xFF) |\ 55 (((_tag) & 0xFF) << 8))
|
/drivers/scsi/ |
D | hptiop.c | 230 static void hptiop_request_callback_mvfrey(struct hptiop_hba *hba, u32 _tag) in hptiop_request_callback_mvfrey() argument 232 u32 req_type = _tag & 0xf; in hptiop_request_callback_mvfrey() 242 req = hba->reqs[(_tag >> 4) & 0xff].req_virt; in hptiop_request_callback_mvfrey() 243 if (likely(_tag & IOPMU_QUEUE_REQUEST_RESULT_BIT)) in hptiop_request_callback_mvfrey() 245 hptiop_finish_scsi_req(hba, (_tag >> 4) & 0xff, req); in hptiop_request_callback_mvfrey() 255 u32 _tag, status, cptr, cur_rptr; in iop_intr_mvfrey() local 283 _tag = hba->u.mvfrey.outlist[cur_rptr].val; in iop_intr_mvfrey() 284 BUG_ON(!(_tag & IOPMU_QUEUE_MASK_HOST_BITS)); in iop_intr_mvfrey() 285 hptiop_request_callback_mvfrey(hba, _tag); in iop_intr_mvfrey() 777 static void hptiop_host_request_callback_itl(struct hptiop_hba *hba, u32 _tag) in hptiop_host_request_callback_itl() argument [all …]
|