Home
last modified time | relevance | path

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

12345678910>>...17

/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.c184 static void sata_dwc_bmdma_start_by_tag(struct ata_queued_cmd *qc, u8 tag);
189 static void sata_dwc_clear_dmacr(struct sata_dwc_device_port *hsdevp, u8 tag);
336 u8 tag = 0; in dma_dwc_xfer_done() local
342 tag = ap->link.active_tag; in dma_dwc_xfer_done()
350 sata_dwc_clear_dmacr(hsdevp, tag); in dma_dwc_xfer_done()
352 if (hsdevp->dma_pending[tag] == SATA_DWC_DMA_PENDING_NONE) { in dma_dwc_xfer_done()
354 tag, hsdevp->dma_pending[tag]); in dma_dwc_xfer_done()
446 static u32 qcmd_tag_to_mask(u8 tag) in qcmd_tag_to_mask() argument
448 return 0x00000001 << (tag & 0x1f); in qcmd_tag_to_mask()
460 u8 status, tag; in sata_dwc_error_intr() local
[all …]
/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_ste.c21 #define DR_STE_SET_VAL(lookup_type, tag, t_fname, spec, s_fname, value) do { \ argument
23 MLX5_SET(ste_##lookup_type, tag, t_fname, value); \
29 #define DR_STE_SET_TAG(lookup_type, tag, t_fname, spec, s_fname) \ argument
30 DR_STE_SET_VAL(lookup_type, tag, t_fname, spec, s_fname, spec->s_fname)
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))); \
44 MLX5_SET(ste_##lookup_type, tag, tcp_urg, !!((spec)->tcp_flags & (1 << 5))); \
45 MLX5_SET(ste_##lookup_type, tag, tcp_ack, !!((spec)->tcp_flags & (1 << 4))); \
[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()
124 unsigned int tag = 0; in mgmt_open_connection() local
148 wrb = alloc_mcc_wrb(phba, &tag); in mgmt_open_connection()
207 be_mcc_notify(phba, tag); in mgmt_open_connection()
209 return tag; in mgmt_open_connection()
230 unsigned int tag; in beiscsi_exec_nemb_cmd() local
234 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/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.h349 __le32 tag; member
361 __le32 tag; member
411 __le32 tag; member
446 __le32 tag; member
462 __le32 tag; member
472 __le32 tag; member
483 __le32 tag; member
493 __le32 tag; member
508 __le32 tag; member
520 __le32 tag; member
[all …]
Dpm8001_hwi.c1525 u32 tag; in pm8001_work_fn() local
1547 tag = ccb->ccb_tag; in pm8001_work_fn()
1548 if ((tag != 0xFFFFFFFF) && (ccb->task == t)) in pm8001_work_fn()
1572 pm8001_ccb_task_free(pm8001_ha, t, ccb, tag); in pm8001_work_fn()
1576 pm8001_ccb_task_free(pm8001_ha, t, ccb, tag); in pm8001_work_fn()
1585 u32 tag; in pm8001_work_fn() local
1628 tag = ccb->ccb_tag; in pm8001_work_fn()
1629 if ((tag != 0xFFFFFFFF) && (ccb->task == t)) in pm8001_work_fn()
1759 task_abort.tag = cpu_to_le32(ccb_tag); in pm8001_send_abort_all()
1829 sata_cmd.tag = cpu_to_le32(ccb_tag); in pm8001_send_read_log()
[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->DialogToken; in rtllib_ADDBA()
106 put_unaligned_le16(StatusCode, tag); in rtllib_ADDBA()
107 tag += 2; in rtllib_ADDBA()
110 put_unaligned_le16(pBA->BaParamSet.shortData, tag); in rtllib_ADDBA()
111 tag += 2; in rtllib_ADDBA()
113 put_unaligned_le16(pBA->BaTimeoutValue, 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/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()
111 void zfcp_dbf_hba_fsf_uss(char *tag, struct zfcp_fsf_req *req) in zfcp_dbf_hba_fsf_uss() argument
125 memcpy(rec->tag, tag, ZFCP_DBF_TAG_LEN); in zfcp_dbf_hba_fsf_uss()
158 void zfcp_dbf_hba_bit_err(char *tag, struct zfcp_fsf_req *req) in zfcp_dbf_hba_bit_err() argument
172 memcpy(rec->tag, tag, ZFCP_DBF_TAG_LEN); in zfcp_dbf_hba_bit_err()
229 void zfcp_dbf_hba_basic(char *tag, struct zfcp_adapter *adapter) in zfcp_dbf_hba_basic() argument
242 memcpy(rec->tag, tag, ZFCP_DBF_TAG_LEN); in zfcp_dbf_hba_basic()
278 void zfcp_dbf_rec_trig(char *tag, struct zfcp_adapter *adapter, in zfcp_dbf_rec_trig() argument
297 memcpy(rec->tag, tag, ZFCP_DBF_TAG_LEN); in zfcp_dbf_rec_trig()
[all …]
Dzfcp_dbf.h82 char tag[ZFCP_DBF_TAG_LEN]; member
116 char tag[ZFCP_DBF_TAG_LEN]; member
190 char tag[ZFCP_DBF_TAG_LEN]; member
230 char tag[ZFCP_DBF_TAG_LEN]; member
322 void zfcp_dbf_hba_fsf_resp(char *tag, int level, struct zfcp_fsf_req *req) in zfcp_dbf_hba_fsf_resp() argument
325 zfcp_dbf_hba_fsf_res(tag, level, req); in zfcp_dbf_hba_fsf_resp()
363 void _zfcp_dbf_scsi(char *tag, int level, struct scsi_cmnd *scmd, in _zfcp_dbf_scsi() argument
370 zfcp_dbf_scsi_common(tag, level, scmd->device, scmd, req); in _zfcp_dbf_scsi()
406 void zfcp_dbf_scsi_abort(char *tag, struct scsi_cmnd *scmd, in zfcp_dbf_scsi_abort() argument
409 _zfcp_dbf_scsi(tag, 1, scmd, fsf_req); in zfcp_dbf_scsi_abort()
[all …]
/drivers/net/wireless/mediatek/mt76/mt7615/
Dmcu.h160 __le16 tag; member
171 __le16 tag; member
187 __le16 tag; member
196 __le16 tag; member
232 __le16 tag; member
247 __le16 tag; member
257 __le16 tag; member
267 __le16 tag; member
277 __le16 tag; member
284 __le16 tag; member
[all …]
/drivers/mmc/host/
Dcqhci.c34 static inline u8 *get_desc(struct cqhci_host *cq_host, u8 tag) in get_desc() argument
36 return cq_host->desc_base + (tag * cq_host->slot_sz); in get_desc()
39 static inline u8 *get_link_desc(struct cqhci_host *cq_host, u8 tag) in get_link_desc() argument
41 u8 *desc = get_desc(cq_host, tag); in get_link_desc()
46 static inline dma_addr_t get_trans_desc_dma(struct cqhci_host *cq_host, u8 tag) in get_trans_desc_dma() argument
49 (cq_host->mmc->max_segs * tag * in get_trans_desc_dma()
53 static inline u8 *get_trans_desc(struct cqhci_host *cq_host, u8 tag) in get_trans_desc() argument
56 (cq_host->trans_desc_len * cq_host->mmc->max_segs * tag); in get_trans_desc()
59 static void setup_trans_desc(struct cqhci_host *cq_host, u8 tag) in setup_trans_desc() argument
64 link_temp = get_link_desc(cq_host, tag); in setup_trans_desc()
[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 …]
Dfnic_scsi.c109 u32 hash = sc->request->tag & (FNIC_IO_LOCKS - 1); in fnic_io_lock_hash()
115 int tag) in fnic_io_lock_tag() argument
117 return &fnic->io_req_lock[tag & (FNIC_IO_LOCKS - 1)]; in fnic_io_lock_tag()
392 fnic_queue_wq_copy_desc_icmnd_16(wq, sc->request->tag, in fnic_queue_wq_copy_desc()
510 sc->request->tag, sc, 0, sc->cmnd[0], in fnic_queuecommand_lck()
570 sc->request->tag, sc, 0, 0, 0, in fnic_queuecommand_lck()
602 sc->request->tag, sc, io_req, in fnic_queuecommand_lck()
627 struct fcpio_tag tag; in DEF_SCSI_QCMD() local
632 fcpio_header_dec(&desc->hdr, &type, &hdr_status, &tag); in DEF_SCSI_QCMD()
711 struct fcpio_tag tag; in fnic_fcpio_flogi_reg_cmpl_handler() local
[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) (((struct scsi_cmnd *) sc)->request->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/
Damd_iommu_v2.c76 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 …]
/drivers/pnp/pnpbios/
Drsparser.c84 unsigned int len, tag; in pnpbios_parse_allocated_resource_data() local
99 tag = p[0]; in pnpbios_parse_allocated_resource_data()
102 tag = ((p[0] >> 3) & 0x0f); in pnpbios_parse_allocated_resource_data()
105 switch (tag) { in pnpbios_parse_allocated_resource_data()
197 tag, len); in pnpbios_parse_allocated_resource_data()
320 unsigned int len, tag; in pnpbios_parse_resource_option_data() local
334 tag = p[0]; in pnpbios_parse_resource_option_data()
337 tag = ((p[0] >> 3) & 0x0f); in pnpbios_parse_resource_option_data()
340 switch (tag) { in pnpbios_parse_resource_option_data()
411 tag, len); in pnpbios_parse_resource_option_data()
[all …]
/drivers/scsi/
Dscsi_logging.c36 const char *name, int tag) in sdev_format_header() argument
47 if (tag >= 0) in sdev_format_header()
49 "tag#%d ", tag); in sdev_format_header()
94 scmd->request->tag); in scmd_printk()
191 scmd_name(cmd), cmd->request->tag); in scsi_print_command()
217 cmd->request->tag); in scsi_print_command()
296 scsi_log_dump_sense(const struct scsi_device *sdev, const char *name, int tag, in scsi_log_dump_sense() argument
312 name, tag); in scsi_log_dump_sense()
323 int tag, const struct scsi_sense_hdr *sshdr) in scsi_log_print_sense_hdr() argument
331 off = sdev_format_header(logbuf, logbuf_len, name, tag); in scsi_log_print_sense_hdr()
[all …]
/drivers/char/
Dps3flash.c27 int tag; /* Start sector of buffer, -1 if invalid */ member
53 if (!priv->dirty || priv->tag < 0) in ps3flash_writeback()
56 res = ps3flash_read_write_sectors(dev, priv->tag, 1); in ps3flash_writeback()
69 if (start_sector == priv->tag) in ps3flash_fetch()
76 priv->tag = -1; in ps3flash_fetch()
82 priv->tag = start_sector; in ps3flash_fetch()
199 else if (sector != priv->tag) in ps3flash_write()
219 priv->tag = sector; in ps3flash_write()
291 u64 tag, status; in ps3flash_interrupt() local
293 res = lv1_storage_get_async_status(dev->sbd.dev_id, &tag, &status); in ps3flash_interrupt()
[all …]

12345678910>>...17