Searched refs:_tag (Results 1 – 9 of 9) sorted by relevance
/linux-4.1.27/drivers/scsi/bfa/ |
D | bfa_fcpim.h | 49 #define BFA_IOTAG_FROM_TAG(_fcp, _tag) \ argument 50 (&(_fcp)->iotag_arr[(_tag & BFA_IOIM_IOTAG_MASK)]) 51 #define BFA_ITN_FROM_TAG(_fcp, _tag) \ argument 52 ((_fcp)->itn_arr + ((_tag) & ((_fcp)->num_itns - 1))) 53 #define BFA_SNSINFO_FROM_TAG(_fcp, _tag) \ argument 54 bfa_mem_get_dmabuf_kva(_fcp, (_tag & BFA_IOIM_IOTAG_MASK), \
|
D | bfi.h | 38 #define BFI_MEM_SEG_FROM_TAG(_tag, _rqsz) ((_tag) / BFI_MEM_NREQS_SEG(_rqsz)) argument 41 #define BFI_MEM_SEG_REQ_OFFSET(_tag, _sz) \ argument 42 ((_tag) - (BFI_MEM_SEG_FROM_TAG(_tag, _sz) * BFI_MEM_NREQS_SEG(_sz)))
|
D | bfa_ioc.h | 140 #define bfa_mem_get_dmabuf_kva(_mod, _tag, _rqsz) \ argument 141 (((u8 *)(_mod)->dma_seg[BFI_MEM_SEG_FROM_TAG(_tag, _rqsz)].kva_curp) +\ 142 BFI_MEM_SEG_REQ_OFFSET(_tag, _rqsz) * (_rqsz)) 145 #define bfa_mem_get_dmabuf_pa(_mod, _tag, _rqsz) \ argument 146 ((_mod)->dma_seg[BFI_MEM_SEG_FROM_TAG(_tag, _rqsz)].dma_curp + \ 147 BFI_MEM_SEG_REQ_OFFSET(_tag, _rqsz) * (_rqsz))
|
D | bfa_svc.h | 269 #define BFA_RPORT_FROM_TAG(__bfa, _tag) \ argument 271 ((_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))))
|
/linux-4.1.27/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))
|
/linux-4.1.27/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() 787 static void hptiop_host_request_callback_itl(struct hptiop_hba *hba, u32 _tag) in hptiop_host_request_callback_itl() argument [all …]
|
/linux-4.1.27/include/linux/ |
D | asn1_ber_bytecode.h | 82 #define _tag(CLASS, CP, TAG) ((ASN1_##CLASS << 6) | (ASN1_##CP << 5) | ASN1_##TAG) macro
|
/linux-4.1.27/drivers/acpi/ |
D | battery.c | 970 return acpi_battery_read(_name##_tag, seq); \
|