Home
last modified time | relevance | path

Searched refs:tag (Results 1 – 25 of 451) sorted by relevance

12345678910>>...19

/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_ste_v1.c338 u8 *tag = hw_ste_p + DR_STE_SIZE_CTRL; in dr_ste_v1_prepare_for_postsend() local
339 u8 *mask = tag + DR_STE_SIZE_TAG; in dr_ste_v1_prepare_for_postsend()
348 memcpy(tmp_tag, tag, DR_STE_SIZE_TAG); in dr_ste_v1_prepare_for_postsend()
351 memcpy(tag, mask, DR_STE_SIZE_MASK); in dr_ste_v1_prepare_for_postsend()
943 u8 *tag) in dr_ste_v1_build_eth_l2_src_dst_tag() argument
947 DR_STE_SET_TAG(eth_l2_src_dst_v1, tag, dmac_47_16, spec, dmac_47_16); in dr_ste_v1_build_eth_l2_src_dst_tag()
948 DR_STE_SET_TAG(eth_l2_src_dst_v1, tag, dmac_15_0, spec, dmac_15_0); in dr_ste_v1_build_eth_l2_src_dst_tag()
950 DR_STE_SET_TAG(eth_l2_src_dst_v1, tag, smac_47_16, spec, smac_47_16); in dr_ste_v1_build_eth_l2_src_dst_tag()
951 DR_STE_SET_TAG(eth_l2_src_dst_v1, tag, smac_15_0, spec, smac_15_0); in dr_ste_v1_build_eth_l2_src_dst_tag()
954 MLX5_SET(ste_eth_l2_src_dst_v1, tag, l3_type, STE_IPV4); in dr_ste_v1_build_eth_l2_src_dst_tag()
[all …]
Ddr_ste_v0.c735 u8 *tag) in dr_ste_v0_build_eth_l2_src_dst_tag() argument
739 DR_STE_SET_TAG(eth_l2_src_dst, tag, dmac_47_16, spec, dmac_47_16); in dr_ste_v0_build_eth_l2_src_dst_tag()
740 DR_STE_SET_TAG(eth_l2_src_dst, tag, dmac_15_0, spec, dmac_15_0); in dr_ste_v0_build_eth_l2_src_dst_tag()
743 MLX5_SET(ste_eth_l2_src_dst, tag, smac_47_32, in dr_ste_v0_build_eth_l2_src_dst_tag()
745 MLX5_SET(ste_eth_l2_src_dst, tag, smac_31_0, in dr_ste_v0_build_eth_l2_src_dst_tag()
753 MLX5_SET(ste_eth_l2_src_dst, tag, l3_type, STE_IPV4); in dr_ste_v0_build_eth_l2_src_dst_tag()
756 MLX5_SET(ste_eth_l2_src_dst, tag, l3_type, STE_IPV6); in dr_ste_v0_build_eth_l2_src_dst_tag()
763 DR_STE_SET_TAG(eth_l2_src_dst, tag, first_vlan_id, spec, first_vid); in dr_ste_v0_build_eth_l2_src_dst_tag()
764 DR_STE_SET_TAG(eth_l2_src_dst, tag, first_cfi, spec, first_cfi); in dr_ste_v0_build_eth_l2_src_dst_tag()
765 DR_STE_SET_TAG(eth_l2_src_dst, tag, first_priority, spec, first_prio); in dr_ste_v0_build_eth_l2_src_dst_tag()
[all …]
Ddr_ste.h25 #define DR_STE_SET_VAL(lookup_type, tag, t_fname, spec, s_fname, value) do { \ argument
27 MLX5_SET(ste_##lookup_type, tag, t_fname, value); \
33 #define DR_STE_SET_TAG(lookup_type, tag, t_fname, spec, s_fname) \ argument
34 DR_STE_SET_VAL(lookup_type, tag, t_fname, spec, s_fname, spec->s_fname)
37 #define DR_STE_SET_ONES(lookup_type, tag, t_fname, spec, s_fname) \ argument
38 DR_STE_SET_VAL(lookup_type, tag, t_fname, spec, s_fname, -1)
40 #define DR_STE_SET_TCP_FLAGS(lookup_type, tag, spec) do { \ argument
41 MLX5_SET(ste_##lookup_type, tag, tcp_ns, !!((spec)->tcp_flags & (1 << 8))); \
42 MLX5_SET(ste_##lookup_type, tag, tcp_cwr, !!((spec)->tcp_flags & (1 << 7))); \
43 MLX5_SET(ste_##lookup_type, tag, tcp_ece, !!((spec)->tcp_flags & (1 << 6))); \
[all …]
/drivers/net/ethernet/netronome/nfp/
Dccm.c38 static void nfp_ccm_free_tag(struct nfp_ccm *ccm, u16 tag) in nfp_ccm_free_tag() argument
40 WARN_ON(!__test_and_clear_bit(tag, ccm->tag_allocator)); in nfp_ccm_free_tag()
47 static struct sk_buff *__nfp_ccm_reply(struct nfp_ccm *ccm, u16 tag) in __nfp_ccm_reply() argument
54 if (msg_tag == tag) { in __nfp_ccm_reply()
55 nfp_ccm_free_tag(ccm, tag); in __nfp_ccm_reply()
65 nfp_ccm_reply(struct nfp_ccm *ccm, struct nfp_app *app, u16 tag) in nfp_ccm_reply() argument
70 skb = __nfp_ccm_reply(ccm, tag); in nfp_ccm_reply()
77 nfp_ccm_reply_drop_tag(struct nfp_ccm *ccm, struct nfp_app *app, u16 tag) in nfp_ccm_reply_drop_tag() argument
82 skb = __nfp_ccm_reply(ccm, tag); in nfp_ccm_reply_drop_tag()
84 nfp_ccm_free_tag(ccm, tag); in nfp_ccm_reply_drop_tag()
[all …]
/drivers/ata/
Dsata_dwc_460ex.c188 static void sata_dwc_bmdma_start_by_tag(struct ata_queued_cmd *qc, u8 tag);
193 static void sata_dwc_clear_dmacr(struct sata_dwc_device_port *hsdevp, u8 tag);
340 u8 tag = 0; in dma_dwc_xfer_done() local
346 tag = ap->link.active_tag; in dma_dwc_xfer_done()
354 sata_dwc_clear_dmacr(hsdevp, tag); in dma_dwc_xfer_done()
356 if (hsdevp->dma_pending[tag] == SATA_DWC_DMA_PENDING_NONE) { in dma_dwc_xfer_done()
358 tag, hsdevp->dma_pending[tag]); in dma_dwc_xfer_done()
450 static u32 qcmd_tag_to_mask(u8 tag) in qcmd_tag_to_mask() argument
452 return 0x00000001 << (tag & 0x1f); in qcmd_tag_to_mask()
464 u8 status, tag; in sata_dwc_error_intr() local
[all …]
/drivers/scsi/be2iscsi/
Dbe_mgmt.c40 unsigned int tag = 0; in mgmt_vendor_specific_fw_cmd() local
79 wrb = alloc_mcc_wrb(phba, &tag); in mgmt_vendor_specific_fw_cmd()
92 be_mcc_notify(phba, tag); in mgmt_vendor_specific_fw_cmd()
95 return tag; in mgmt_vendor_specific_fw_cmd()
125 unsigned int tag = 0; in mgmt_open_connection() local
149 wrb = alloc_mcc_wrb(phba, &tag); in mgmt_open_connection()
208 be_mcc_notify(phba, tag); in mgmt_open_connection()
210 return tag; in mgmt_open_connection()
231 unsigned int tag; in beiscsi_exec_nemb_cmd() local
235 wrb = alloc_mcc_wrb(phba, &tag); in beiscsi_exec_nemb_cmd()
[all …]
Dbe_cmds.c93 unsigned int tag; in alloc_mcc_wrb() local
107 tag = phba->ctrl.mcc_tag[phba->ctrl.mcc_alloc_index]; in alloc_mcc_wrb()
108 if (!tag) { in alloc_mcc_wrb()
118 *ref_tag = tag; in alloc_mcc_wrb()
120 phba->ctrl.mcc_tag_status[tag] = 0; in alloc_mcc_wrb()
121 phba->ctrl.ptag_state[tag].tag_state = 0; in alloc_mcc_wrb()
122 phba->ctrl.ptag_state[tag].cbfn = NULL; in alloc_mcc_wrb()
131 wrb->tag0 = tag; in alloc_mcc_wrb()
141 void free_mcc_wrb(struct be_ctrl_info *ctrl, unsigned int tag) in free_mcc_wrb() argument
146 tag = tag & MCC_Q_CMD_TAG_MASK; in free_mcc_wrb()
[all …]
/drivers/staging/media/atomisp/pci/hive_isp_css_shared/host/
Dtag.c49 sh_css_encode_tag_descr(struct sh_css_tag_descr *tag) in sh_css_encode_tag_descr() argument
59 assert(tag); in sh_css_encode_tag_descr()
61 if (tag->num_captures < 0) { in sh_css_encode_tag_descr()
62 num_captures = -tag->num_captures; in sh_css_encode_tag_descr()
65 num_captures = tag->num_captures; in sh_css_encode_tag_descr()
68 skip = tag->skip; in sh_css_encode_tag_descr()
69 if (tag->offset < 0) { in sh_css_encode_tag_descr()
70 offset = -tag->offset; in sh_css_encode_tag_descr()
73 offset = tag->offset; in sh_css_encode_tag_descr()
76 exp_id = tag->exp_id; in sh_css_encode_tag_descr()
/drivers/scsi/pm8001/
Dpm8001_hwi.h154 __le32 tag; member
166 __le32 tag; member
217 __le32 tag; member
243 __le32 tag; member
260 __le32 tag; member
272 __le32 tag; member
284 __le32 tag; member
295 __le32 tag; member
311 __le32 tag; member
325 __le32 tag; member
[all …]
Dpm80xx_hwi.h352 __le32 tag; member
364 __le32 tag; member
414 __le32 tag; member
449 __le32 tag; member
465 __le32 tag; member
475 __le32 tag; member
486 __le32 tag; member
496 __le32 tag; member
511 __le32 tag; member
523 __le32 tag; member
[all …]
Dpm8001_hwi.c1520 u32 tag; in pm8001_work_fn() local
1542 tag = ccb->ccb_tag; in pm8001_work_fn()
1543 if ((tag != 0xFFFFFFFF) && (ccb->task == t)) in pm8001_work_fn()
1565 pm8001_ccb_task_free(pm8001_ha, t, ccb, tag); in pm8001_work_fn()
1569 pm8001_ccb_task_free(pm8001_ha, t, ccb, tag); in pm8001_work_fn()
1578 u32 tag; in pm8001_work_fn() local
1612 tag = ccb->ccb_tag; in pm8001_work_fn()
1613 if ((tag != 0xFFFFFFFF) && (ccb->task == t)) in pm8001_work_fn()
1684 u32 tag, device_id; in pm8001_work_fn() local
1690 tag = ccb->ccb_tag; in pm8001_work_fn()
[all …]
/drivers/staging/rtl8192u/ieee80211/
Dieee80211_softmac.c59 u8 *tag = *tag_p; in ieee80211_MFIE_Brate() local
62 *tag++ = MFIE_TYPE_RATES; in ieee80211_MFIE_Brate()
63 *tag++ = 4; in ieee80211_MFIE_Brate()
64 *tag++ = IEEE80211_BASIC_RATE_MASK | IEEE80211_CCK_RATE_1MB; in ieee80211_MFIE_Brate()
65 *tag++ = IEEE80211_BASIC_RATE_MASK | IEEE80211_CCK_RATE_2MB; in ieee80211_MFIE_Brate()
66 *tag++ = IEEE80211_BASIC_RATE_MASK | IEEE80211_CCK_RATE_5MB; in ieee80211_MFIE_Brate()
67 *tag++ = IEEE80211_BASIC_RATE_MASK | IEEE80211_CCK_RATE_11MB; in ieee80211_MFIE_Brate()
71 *tag_p = tag; in ieee80211_MFIE_Brate()
76 u8 *tag = *tag_p; in ieee80211_MFIE_Grate() local
79 *tag++ = MFIE_TYPE_RATES_EX; in ieee80211_MFIE_Grate()
[all …]
Drtl819x_BAProc.c112 u8 *tag = NULL; in ieee80211_ADDBA() local
137 tag = skb_put(skb, 9); in ieee80211_ADDBA()
138 *tag++ = ACT_CAT_BA; in ieee80211_ADDBA()
139 *tag++ = type; in ieee80211_ADDBA()
141 *tag++ = pBA->dialog_token; in ieee80211_ADDBA()
147 put_unaligned_le16(StatusCode, tag); in ieee80211_ADDBA()
148 tag += 2; in ieee80211_ADDBA()
152 put_unaligned_le16(pBA->param_set.short_data, tag); in ieee80211_ADDBA()
153 tag += 2; in ieee80211_ADDBA()
156 put_unaligned_le16(pBA->timeout_value, tag); in ieee80211_ADDBA()
[all …]
/drivers/staging/rtl8192e/
Drtl819x_BAProc.c72 u8 *tag = NULL; in rtllib_ADDBA() local
98 tag = skb_put(skb, 9); in rtllib_ADDBA()
99 *tag++ = ACT_CAT_BA; in rtllib_ADDBA()
100 *tag++ = type; in rtllib_ADDBA()
101 *tag++ = pBA->dialog_token; in rtllib_ADDBA()
106 put_unaligned_le16(StatusCode, tag); in rtllib_ADDBA()
107 tag += 2; in rtllib_ADDBA()
110 put_unaligned_le16(pBA->ba_param_set.short_data, tag); in rtllib_ADDBA()
111 tag += 2; in rtllib_ADDBA()
113 put_unaligned_le16(pBA->ba_timeout_value, tag); in rtllib_ADDBA()
[all …]
Drtllib_softmac.c55 u8 *tag = *tag_p; in rtllib_MFIE_Brate() local
58 *tag++ = MFIE_TYPE_RATES; in rtllib_MFIE_Brate()
59 *tag++ = 4; in rtllib_MFIE_Brate()
60 *tag++ = RTLLIB_BASIC_RATE_MASK | RTLLIB_CCK_RATE_1MB; in rtllib_MFIE_Brate()
61 *tag++ = RTLLIB_BASIC_RATE_MASK | RTLLIB_CCK_RATE_2MB; in rtllib_MFIE_Brate()
62 *tag++ = RTLLIB_BASIC_RATE_MASK | RTLLIB_CCK_RATE_5MB; in rtllib_MFIE_Brate()
63 *tag++ = RTLLIB_BASIC_RATE_MASK | RTLLIB_CCK_RATE_11MB; in rtllib_MFIE_Brate()
69 *tag_p = tag; in rtllib_MFIE_Brate()
74 u8 *tag = *tag_p; in rtllib_MFIE_Grate() local
77 *tag++ = MFIE_TYPE_RATES_EX; in rtllib_MFIE_Grate()
[all …]
/drivers/mmc/host/
Dcqhci-core.c36 static inline u8 *get_desc(struct cqhci_host *cq_host, u8 tag) in get_desc() argument
38 return cq_host->desc_base + (tag * cq_host->slot_sz); in get_desc()
41 static inline u8 *get_link_desc(struct cqhci_host *cq_host, u8 tag) in get_link_desc() argument
43 u8 *desc = get_desc(cq_host, tag); in get_link_desc()
48 static inline size_t get_trans_desc_offset(struct cqhci_host *cq_host, u8 tag) in get_trans_desc_offset() argument
50 return cq_host->trans_desc_len * cq_host->mmc->max_segs * tag; in get_trans_desc_offset()
53 static inline dma_addr_t get_trans_desc_dma(struct cqhci_host *cq_host, u8 tag) in get_trans_desc_dma() argument
55 size_t offset = get_trans_desc_offset(cq_host, tag); in get_trans_desc_dma()
60 static inline u8 *get_trans_desc(struct cqhci_host *cq_host, u8 tag) in get_trans_desc() argument
62 size_t offset = get_trans_desc_offset(cq_host, tag); in get_trans_desc()
[all …]
/drivers/s390/scsi/
Dzfcp_dbf.c70 void zfcp_dbf_hba_fsf_res(char *tag, int level, struct zfcp_fsf_req *req) in zfcp_dbf_hba_fsf_res() argument
81 memcpy(rec->tag, tag, ZFCP_DBF_TAG_LEN); in zfcp_dbf_hba_fsf_res()
115 void zfcp_dbf_hba_fsf_fces(char *tag, const struct zfcp_fsf_req *req, u64 wwpn, in zfcp_dbf_hba_fsf_fces() argument
131 memcpy(rec->tag, tag, ZFCP_DBF_TAG_LEN); in zfcp_dbf_hba_fsf_fces()
153 void zfcp_dbf_hba_fsf_uss(char *tag, struct zfcp_fsf_req *req) in zfcp_dbf_hba_fsf_uss() argument
167 memcpy(rec->tag, tag, ZFCP_DBF_TAG_LEN); in zfcp_dbf_hba_fsf_uss()
200 void zfcp_dbf_hba_bit_err(char *tag, struct zfcp_fsf_req *req) in zfcp_dbf_hba_bit_err() argument
214 memcpy(rec->tag, tag, ZFCP_DBF_TAG_LEN); in zfcp_dbf_hba_bit_err()
295 void zfcp_dbf_rec_trig(char *tag, struct zfcp_adapter *adapter, in zfcp_dbf_rec_trig() argument
314 memcpy(rec->tag, tag, ZFCP_DBF_TAG_LEN); in zfcp_dbf_rec_trig()
[all …]
Dzfcp_dbf.h83 char tag[ZFCP_DBF_TAG_LEN]; member
117 char tag[ZFCP_DBF_TAG_LEN]; member
213 char tag[ZFCP_DBF_TAG_LEN]; member
254 char tag[ZFCP_DBF_TAG_LEN]; member
346 void zfcp_dbf_hba_fsf_resp(char *tag, int level, struct zfcp_fsf_req *req) in zfcp_dbf_hba_fsf_resp() argument
349 zfcp_dbf_hba_fsf_res(tag, level, req); in zfcp_dbf_hba_fsf_resp()
387 void _zfcp_dbf_scsi(char *tag, int level, struct scsi_cmnd *scmd, in _zfcp_dbf_scsi() argument
394 zfcp_dbf_scsi_common(tag, level, scmd->device, scmd, req); in _zfcp_dbf_scsi()
430 void zfcp_dbf_scsi_abort(char *tag, struct scsi_cmnd *scmd, in zfcp_dbf_scsi_abort() argument
433 _zfcp_dbf_scsi(tag, 1, scmd, fsf_req); in zfcp_dbf_scsi_abort()
[all …]
/drivers/net/wireless/mediatek/mt76/
Dmt76_connac_mcu.h10 __le16 tag; member
32 __le16 tag; member
45 __le16 tag; member
52 __le16 tag; member
63 __le16 tag; member
74 __le16 tag; member
85 __le16 tag; member
109 __le16 tag; member
118 __le16 tag; member
131 __le16 tag; member
[all …]
/drivers/net/ethernet/cavium/liquidio/
Docteon_nic.h121 union octnic_cmd_setup *setup, u32 tag) in octnet_prepare_pci_cmd_o2() argument
142 if (tag) in octnet_prepare_pci_cmd_o2()
143 ih2->tag = tag; in octnet_prepare_pci_cmd_o2()
145 ih2->tag = LIO_DATA(port); in octnet_prepare_pci_cmd_o2()
175 union octnic_cmd_setup *setup, u32 tag) in octnet_prepare_pci_cmd_o3() argument
210 if (tag) in octnet_prepare_pci_cmd_o3()
211 pki_ih3->tag = tag; in octnet_prepare_pci_cmd_o3()
213 pki_ih3->tag = LIO_DATA(port); in octnet_prepare_pci_cmd_o3()
244 union octnic_cmd_setup *setup, u32 tag) in octnet_prepare_pci_cmd() argument
247 octnet_prepare_pci_cmd_o2(oct, cmd, setup, tag); in octnet_prepare_pci_cmd()
[all …]
/drivers/scsi/fnic/
Dfcpio.h137 fcpio_tag_id_enc(struct fcpio_tag *tag, u32 id) in fcpio_tag_id_enc() argument
139 tag->u.req_id = id; in fcpio_tag_id_enc()
143 fcpio_tag_id_dec(struct fcpio_tag *tag, u32 *id) in fcpio_tag_id_dec() argument
145 *id = tag->u.req_id; in fcpio_tag_id_dec()
149 fcpio_tag_exid_enc(struct fcpio_tag *tag, u16 ox_id, u16 rx_id) in fcpio_tag_exid_enc() argument
151 tag->u.ex_id.rx_id = rx_id; in fcpio_tag_exid_enc()
152 tag->u.ex_id.ox_id = ox_id; in fcpio_tag_exid_enc()
156 fcpio_tag_exid_dec(struct fcpio_tag *tag, u16 *ox_id, u16 *rx_id) in fcpio_tag_exid_dec() argument
158 *rx_id = tag->u.ex_id.rx_id; in fcpio_tag_exid_dec()
159 *ox_id = tag->u.ex_id.ox_id; in fcpio_tag_exid_dec()
[all …]
/drivers/net/wireless/mediatek/mt76/mt7915/
Dmcu.h446 __le16 tag; member
451 __le16 tag; member
462 __le16 tag; member
481 __le16 tag; member
493 __le16 tag; member
500 __le16 tag; member
509 __le16 tag; member
539 __le16 tag; member
549 __le16 tag; member
559 __le16 tag; member
[all …]
/drivers/gpu/drm/
Ddrm_vma_manager.c263 int drm_vma_node_allow(struct drm_vma_offset_node *node, struct drm_file *tag) in drm_vma_node_allow() argument
284 if (tag == entry->vm_tag) { in drm_vma_node_allow()
287 } else if (tag > entry->vm_tag) { in drm_vma_node_allow()
299 new->vm_tag = tag; in drm_vma_node_allow()
326 struct drm_file *tag) in drm_vma_node_revoke() argument
336 if (tag == entry->vm_tag) { in drm_vma_node_revoke()
342 } else if (tag > entry->vm_tag) { in drm_vma_node_revoke()
367 struct drm_file *tag) in drm_vma_node_is_allowed() argument
377 if (tag == entry->vm_tag) in drm_vma_node_is_allowed()
379 else if (tag > entry->vm_tag) in drm_vma_node_is_allowed()
/drivers/scsi/snic/
Dsnic_scsi.c36 #define snic_cmd_tag(sc) (scsi_cmd_to_rq(sc)->tag)
120 snic_io_lock_tag(struct snic *snic, int tag) in snic_io_lock_tag() argument
122 return &snic->io_req_lock[tag & (SNIC_IO_LOCKS - 1)]; in snic_io_lock_tag()
247 u32 tag = snic_cmd_tag(sc); in snic_issue_scsi_req() local
256 SNIC_TRC((u16)snic->shost->host_no, tag, (ulong) sc, 0, in snic_issue_scsi_req()
300 SNIC_TRC(snic->shost->host_no, tag, (ulong) sc, 0, 0, 0, in snic_issue_scsi_req()
315 sc, tag); in snic_issue_scsi_req()
317 SNIC_TRC(snic->shost->host_no, tag, (ulong) sc, (ulong) rqi, in snic_issue_scsi_req()
1362 int req_id = 0, tag = snic_cmd_tag(sc); in snic_issue_tm_req() local
1372 tmf, rqi, tag); in snic_issue_tm_req()
[all …]
/drivers/iommu/amd/
Diommu_v2.c75 u16 tag; member
401 u16 tag, int status) in set_pri_tag_status() argument
406 pasid_state->pri[tag].status = status; in set_pri_tag_status()
412 u16 tag) in finish_pri_tag() argument
417 if (atomic_dec_and_test(&pasid_state->pri[tag].inflight) && in finish_pri_tag()
418 pasid_state->pri[tag].finish) { in finish_pri_tag()
420 pasid_state->pri[tag].status, tag); in finish_pri_tag()
421 pasid_state->pri[tag].finish = false; in finish_pri_tag()
422 pasid_state->pri[tag].status = PPR_SUCCESS; in finish_pri_tag()
432 set_pri_tag_status(fault->state, fault->tag, PPR_INVALID); in handle_fault_error()
[all …]

12345678910>>...19