/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 | 290 #define EMAC_VLAN_TO_TAG(_vlan, _tag) \ argument 291 (_tag = ((((_vlan) >> 8) & 0xFF) | (((_vlan) & 0xFF) << 8))) 293 #define EMAC_TAG_TO_VLAN(_tag, _vlan) \ argument 294 (_vlan = ((((_tag) >> 8) & 0xFF) | (((_tag) & 0xFF) << 8)))
|
/drivers/scsi/bfa/ |
D | bfa_fcpim.h | 50 #define BFA_IOTAG_FROM_TAG(_fcp, _tag) \ argument 51 (&(_fcp)->iotag_arr[(_tag & BFA_IOIM_IOTAG_MASK)]) 52 #define BFA_ITN_FROM_TAG(_fcp, _tag) \ argument 53 ((_fcp)->itn_arr + ((_tag) & ((_fcp)->num_itns - 1))) 54 #define BFA_SNSINFO_FROM_TAG(_fcp, _tag) \ argument 55 bfa_mem_get_dmabuf_kva(_fcp, (_tag & BFA_IOIM_IOTAG_MASK), \
|
D | bfi.h | 39 #define BFI_MEM_SEG_FROM_TAG(_tag, _rqsz) ((_tag) / BFI_MEM_NREQS_SEG(_rqsz)) argument 42 #define BFI_MEM_SEG_REQ_OFFSET(_tag, _sz) \ argument 43 ((_tag) - (BFI_MEM_SEG_FROM_TAG(_tag, _sz) * BFI_MEM_NREQS_SEG(_sz)))
|
D | bfa_ioc.h | 145 #define bfa_mem_get_dmabuf_kva(_mod, _tag, _rqsz) \ argument 146 (((u8 *)(_mod)->dma_seg[BFI_MEM_SEG_FROM_TAG(_tag, _rqsz)].kva_curp) +\ 147 BFI_MEM_SEG_REQ_OFFSET(_tag, _rqsz) * (_rqsz)) 150 #define bfa_mem_get_dmabuf_pa(_mod, _tag, _rqsz) \ argument 151 ((_mod)->dma_seg[BFI_MEM_SEG_FROM_TAG(_tag, _rqsz)].dma_curp + \ 152 BFI_MEM_SEG_REQ_OFFSET(_tag, _rqsz) * (_rqsz))
|
D | bfa_svc.h | 270 #define BFA_RPORT_FROM_TAG(__bfa, _tag) \ argument 272 ((_tag) & (BFA_RPORT_MOD(__bfa)->num_rports - 1)))
|
D | bfa_fcpim.c | 29 #define BFA_ITNIM_FROM_TAG(_fcpim, _tag) \ argument 30 (((_fcpim)->itnim_arr + ((_tag) & ((_fcpim)->num_itnims - 1))))
|
/drivers/net/ethernet/atheros/atl1c/ |
D | atl1c.h | 62 #define AT_VLAN_TO_TAG(_vlan, _tag) \ argument 63 _tag = ((((_vlan) >> 8) & 0xFF) |\ 66 #define AT_TAG_TO_VLAN(_tag, _vlan) \ argument 67 _vlan = ((((_tag) >> 8) & 0xFF) |\ 68 (((_tag) & 0xFF) << 8))
|
/drivers/scsi/ |
D | hptiop.c | 238 static void hptiop_request_callback_mvfrey(struct hptiop_hba *hba, u32 _tag) in hptiop_request_callback_mvfrey() argument 240 u32 req_type = _tag & 0xf; in hptiop_request_callback_mvfrey() 250 req = hba->reqs[(_tag >> 4) & 0xff].req_virt; in hptiop_request_callback_mvfrey() 251 if (likely(_tag & IOPMU_QUEUE_REQUEST_RESULT_BIT)) in hptiop_request_callback_mvfrey() 253 hptiop_finish_scsi_req(hba, (_tag >> 4) & 0xff, req); in hptiop_request_callback_mvfrey() 263 u32 _tag, status, cptr, cur_rptr; in iop_intr_mvfrey() local 291 _tag = hba->u.mvfrey.outlist[cur_rptr].val; in iop_intr_mvfrey() 292 BUG_ON(!(_tag & IOPMU_QUEUE_MASK_HOST_BITS)); in iop_intr_mvfrey() 293 hptiop_request_callback_mvfrey(hba, _tag); in iop_intr_mvfrey() 785 static void hptiop_host_request_callback_itl(struct hptiop_hba *hba, u32 _tag) in hptiop_host_request_callback_itl() argument [all …]
|
/drivers/acpi/ |
D | battery.c | 997 return acpi_battery_read(_name##_tag, seq); \
|