/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
D | dr_ste_v0.c | 738 u8 *tag) in dr_ste_v0_build_eth_l2_src_dst_tag() argument 742 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() 743 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() 746 MLX5_SET(ste_eth_l2_src_dst, tag, smac_47_32, in dr_ste_v0_build_eth_l2_src_dst_tag() 748 MLX5_SET(ste_eth_l2_src_dst, tag, smac_31_0, in dr_ste_v0_build_eth_l2_src_dst_tag() 756 MLX5_SET(ste_eth_l2_src_dst, tag, l3_type, STE_IPV4); in dr_ste_v0_build_eth_l2_src_dst_tag() 759 MLX5_SET(ste_eth_l2_src_dst, tag, l3_type, STE_IPV6); in dr_ste_v0_build_eth_l2_src_dst_tag() 766 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() 767 DR_STE_SET_TAG(eth_l2_src_dst, tag, first_cfi, spec, first_cfi); in dr_ste_v0_build_eth_l2_src_dst_tag() 768 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 …]
|
D | dr_ste_v1.c | 353 u8 *tag = hw_ste_p + DR_STE_SIZE_CTRL; in dr_ste_v1_prepare_for_postsend() local 354 u8 *mask = tag + DR_STE_SIZE_TAG; in dr_ste_v1_prepare_for_postsend() 363 memcpy(tmp_tag, tag, DR_STE_SIZE_TAG); in dr_ste_v1_prepare_for_postsend() 366 memcpy(tag, mask, DR_STE_SIZE_MASK); in dr_ste_v1_prepare_for_postsend() 1128 u8 *tag) in dr_ste_v1_build_eth_l2_src_dst_tag() argument 1132 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() 1133 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() 1135 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() 1136 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() 1139 MLX5_SET(ste_eth_l2_src_dst_v1, tag, l3_type, STE_IPV4); in dr_ste_v1_build_eth_l2_src_dst_tag() [all …]
|
D | dr_ste.h | 25 #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/ |
D | ccm.c | 38 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/ |
D | sata_dwc_460ex.c | 175 static void sata_dwc_bmdma_start_by_tag(struct ata_queued_cmd *qc, u8 tag); 178 static void sata_dwc_clear_dmacr(struct sata_dwc_device_port *hsdevp, u8 tag); 295 u8 tag = 0; in dma_dwc_xfer_done() local 301 tag = ap->link.active_tag; in dma_dwc_xfer_done() 309 sata_dwc_clear_dmacr(hsdevp, tag); in dma_dwc_xfer_done() 311 if (hsdevp->dma_pending[tag] == SATA_DWC_DMA_PENDING_NONE) { in dma_dwc_xfer_done() 313 tag, hsdevp->dma_pending[tag]); in dma_dwc_xfer_done() 405 static u32 qcmd_tag_to_mask(u8 tag) in qcmd_tag_to_mask() argument 407 return 0x00000001 << (tag & 0x1f); in qcmd_tag_to_mask() 419 u8 status, tag; in sata_dwc_error_intr() local [all …]
|
/drivers/scsi/be2iscsi/ |
D | be_mgmt.c | 40 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 …]
|
D | be_cmds.c | 93 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/net/wireless/mediatek/mt76/mt7996/ |
D | mcu.h | 47 __le16 tag; member 103 __le16 tag; member 131 __le16 tag; member 150 __le16 tag; member 164 __le16 tag; member 216 __le16 tag; member 228 __le16 tag; member 242 __le16 tag; member 257 __le16 tag; member 265 __le16 tag; member [all …]
|
/drivers/staging/rtl8192e/ |
D | rtllib_softmac.c | 50 u8 *tag = *tag_p; in rtllib_MFIE_Brate() local 52 *tag++ = MFIE_TYPE_RATES; in rtllib_MFIE_Brate() 53 *tag++ = 4; in rtllib_MFIE_Brate() 54 *tag++ = RTLLIB_BASIC_RATE_MASK | RTLLIB_CCK_RATE_1MB; in rtllib_MFIE_Brate() 55 *tag++ = RTLLIB_BASIC_RATE_MASK | RTLLIB_CCK_RATE_2MB; in rtllib_MFIE_Brate() 56 *tag++ = RTLLIB_BASIC_RATE_MASK | RTLLIB_CCK_RATE_5MB; in rtllib_MFIE_Brate() 57 *tag++ = RTLLIB_BASIC_RATE_MASK | RTLLIB_CCK_RATE_11MB; in rtllib_MFIE_Brate() 62 *tag_p = tag; in rtllib_MFIE_Brate() 67 u8 *tag = *tag_p; in rtllib_MFIE_Grate() local 69 *tag++ = MFIE_TYPE_RATES_EX; in rtllib_MFIE_Grate() [all …]
|
D | rtl819x_BAProc.c | 72 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() 104 put_unaligned_le16(StatusCode, tag); in rtllib_ADDBA() 105 tag += 2; in rtllib_ADDBA() 108 put_unaligned_le16(pBA->ba_param_set.short_data, tag); in rtllib_ADDBA() 109 tag += 2; in rtllib_ADDBA() 111 put_unaligned_le16(pBA->ba_timeout_value, tag); in rtllib_ADDBA() [all …]
|
/drivers/scsi/pm8001/ |
D | pm8001_hwi.h | 154 __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 …]
|
D | pm80xx_hwi.h | 352 __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 …]
|
/drivers/staging/media/atomisp/pci/hive_isp_css_shared/host/ |
D | tag.c | 49 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/staging/rtl8192u/ieee80211/ |
D | ieee80211_softmac.c | 59 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 …]
|
D | rtl819x_BAProc.c | 112 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/mmc/host/ |
D | cqhci-core.c | 36 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 …]
|
D | mmc_hsq.c | 28 unsigned int tag, need_change = 0; in mmc_hsq_modify_threshold() local 31 for (tag = 0; tag < HSQ_NUM_SLOTS; tag++) { in mmc_hsq_modify_threshold() 32 mrq = hsq->slot[tag].mrq; in mmc_hsq_modify_threshold() 94 int tag; in mmc_hsq_update_next_tag() local 106 tag = hsq->tag_slot[hsq->next_tag]; in mmc_hsq_update_next_tag() 108 hsq->next_tag = tag; in mmc_hsq_update_next_tag() 215 int tag = mrq->tag; in mmc_hsq_request() local 230 hsq->slot[tag].mrq = mrq; in mmc_hsq_request() 237 hsq->next_tag = tag; in mmc_hsq_request() 238 hsq->tail_tag = tag; in mmc_hsq_request() [all …]
|
/drivers/gpu/drm/ |
D | drm_vma_manager.c | 244 struct drm_file *tag, bool ref_counted) in vma_node_allow() argument 265 if (tag == entry->vm_tag) { in vma_node_allow() 269 } else if (tag > entry->vm_tag) { in vma_node_allow() 281 new->vm_tag = tag; in vma_node_allow() 313 int drm_vma_node_allow(struct drm_vma_offset_node *node, struct drm_file *tag) in drm_vma_node_allow() argument 315 return vma_node_allow(node, tag, true); in drm_vma_node_allow() 338 int drm_vma_node_allow_once(struct drm_vma_offset_node *node, struct drm_file *tag) in drm_vma_node_allow_once() argument 340 return vma_node_allow(node, tag, false); in drm_vma_node_allow_once() 358 struct drm_file *tag) in drm_vma_node_revoke() argument 368 if (tag == entry->vm_tag) { in drm_vma_node_revoke() [all …]
|
/drivers/s390/scsi/ |
D | zfcp_dbf.c | 70 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() 155 void zfcp_dbf_hba_fsf_reqid(const char *const tag, const int level, in zfcp_dbf_hba_fsf_reqid() argument 170 memcpy(rec->tag, tag, ZFCP_DBF_TAG_LEN); in zfcp_dbf_hba_fsf_reqid() 195 void zfcp_dbf_hba_fsf_uss(char *tag, struct zfcp_fsf_req *req) in zfcp_dbf_hba_fsf_uss() argument 209 memcpy(rec->tag, tag, ZFCP_DBF_TAG_LEN); in zfcp_dbf_hba_fsf_uss() 242 void zfcp_dbf_hba_bit_err(char *tag, struct zfcp_fsf_req *req) in zfcp_dbf_hba_bit_err() argument 256 memcpy(rec->tag, tag, ZFCP_DBF_TAG_LEN); in zfcp_dbf_hba_bit_err() [all …]
|
D | zfcp_dbf.h | 83 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/ethernet/cavium/liquidio/ |
D | octeon_nic.h | 121 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/ |
D | fcpio.h | 125 fcpio_tag_id_enc(struct fcpio_tag *tag, u32 id) in fcpio_tag_id_enc() argument 127 tag->u.req_id = id; in fcpio_tag_id_enc() 131 fcpio_tag_id_dec(struct fcpio_tag *tag, u32 *id) in fcpio_tag_id_dec() argument 133 *id = tag->u.req_id; in fcpio_tag_id_dec() 137 fcpio_tag_exid_enc(struct fcpio_tag *tag, u16 ox_id, u16 rx_id) in fcpio_tag_exid_enc() argument 139 tag->u.ex_id.rx_id = rx_id; in fcpio_tag_exid_enc() 140 tag->u.ex_id.ox_id = ox_id; in fcpio_tag_exid_enc() 144 fcpio_tag_exid_dec(struct fcpio_tag *tag, u16 *ox_id, u16 *rx_id) in fcpio_tag_exid_dec() argument 146 *rx_id = tag->u.ex_id.rx_id; in fcpio_tag_exid_dec() 147 *ox_id = tag->u.ex_id.ox_id; in fcpio_tag_exid_dec() [all …]
|
/drivers/net/wireless/mediatek/mt76/ |
D | mt76_connac_mcu.h | 192 __le16 tag; member 197 __le16 tag; member 208 __le16 tag; member 227 __le16 tag; member 239 __le16 tag; member 284 __le16 tag; member 297 __le16 tag; member 304 __le16 tag; member 315 __le16 tag; member 326 __le16 tag; member [all …]
|
/drivers/scsi/snic/ |
D | snic_scsi.c | 22 #define snic_cmd_tag(sc) (scsi_cmd_to_rq(sc)->tag) 106 snic_io_lock_tag(struct snic *snic, int tag) in snic_io_lock_tag() argument 108 return &snic->io_req_lock[tag & (SNIC_IO_LOCKS - 1)]; in snic_io_lock_tag() 233 u32 tag = snic_cmd_tag(sc); in snic_issue_scsi_req() local 242 SNIC_TRC((u16)snic->shost->host_no, tag, (ulong) sc, 0, in snic_issue_scsi_req() 286 SNIC_TRC(snic->shost->host_no, tag, (ulong) sc, 0, 0, 0, in snic_issue_scsi_req() 301 sc, tag); in snic_issue_scsi_req() 303 SNIC_TRC(snic->shost->host_no, tag, (ulong) sc, (ulong) rqi, in snic_issue_scsi_req() 1340 int req_id = 0, tag = snic_cmd_tag(sc); in snic_issue_tm_req() local 1350 tmf, rqi, tag); in snic_issue_tm_req() [all …]
|
/drivers/iommu/amd/ |
D | iommu_v2.c | 74 u16 tag; member 402 u16 tag, int status) in set_pri_tag_status() argument 407 pasid_state->pri[tag].status = status; in set_pri_tag_status() 413 u16 tag) in finish_pri_tag() argument 418 if (atomic_dec_and_test(&pasid_state->pri[tag].inflight) && in finish_pri_tag() 419 pasid_state->pri[tag].finish) { in finish_pri_tag() 421 pasid_state->pri[tag].status, tag); in finish_pri_tag() 422 pasid_state->pri[tag].finish = false; in finish_pri_tag() 423 pasid_state->pri[tag].status = PPR_SUCCESS; in finish_pri_tag() 433 set_pri_tag_status(fault->state, fault->tag, PPR_INVALID); in handle_fault_error() [all …]
|