Home
last modified time | relevance | path

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

12345678910>>...14

/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);
339 u8 tag = 0; in dma_dwc_xfer_done() local
345 tag = ap->link.active_tag; in dma_dwc_xfer_done()
353 sata_dwc_clear_dmacr(hsdevp, tag); in dma_dwc_xfer_done()
355 if (hsdevp->dma_pending[tag] == SATA_DWC_DMA_PENDING_NONE) { in dma_dwc_xfer_done()
357 tag, hsdevp->dma_pending[tag]); in dma_dwc_xfer_done()
449 static u32 qcmd_tag_to_mask(u8 tag) in qcmd_tag_to_mask() argument
451 return 0x00000001 << (tag & 0x1f); in qcmd_tag_to_mask()
463 u8 status, tag; in sata_dwc_error_intr() local
[all …]
Dsata_fsl.c393 static inline unsigned int sata_fsl_tag(unsigned int tag, in sata_fsl_tag() argument
399 if (ata_tag_internal(tag)) { in sata_fsl_tag()
404 if (unlikely(tag >= SATA_FSL_QUEUE_DEPTH)) { in sata_fsl_tag()
405 DPRINTK("tag %d invalid : out of range\n", tag); in sata_fsl_tag()
409 if (unlikely((ioread32(hcr_base + CQ)) & (1 << tag))) { in sata_fsl_tag()
410 DPRINTK("tag %d invalid : in use!!\n", tag); in sata_fsl_tag()
414 return tag; in sata_fsl_tag()
418 unsigned int tag, u32 desc_info, in sata_fsl_setup_cmd_hdr_entry() argument
425 tag * SATA_FSL_CMD_DESC_SIZE; in sata_fsl_setup_cmd_hdr_entry()
429 pp->cmdslot[tag].cda = cpu_to_le32(cmd_descriptor_address); in sata_fsl_setup_cmd_hdr_entry()
[all …]
/drivers/scsi/be2iscsi/
Dbe_mgmt.c34 unsigned int tag; in beiscsi_modify_eq_delay() local
38 wrb = alloc_mcc_wrb(phba, &tag); in beiscsi_modify_eq_delay()
58 set_bit(MCC_TAG_STATE_IGNORE, &ctrl->ptag_state[tag].tag_state); in beiscsi_modify_eq_delay()
59 be_mcc_notify(phba, tag); in beiscsi_modify_eq_delay()
61 return tag; in beiscsi_modify_eq_delay()
72 unsigned int tag = 0; in mgmt_vendor_specific_fw_cmd() local
112 wrb = alloc_mcc_wrb(phba, &tag); in mgmt_vendor_specific_fw_cmd()
125 be_mcc_notify(phba, tag); in mgmt_vendor_specific_fw_cmd()
128 return tag; in mgmt_vendor_specific_fw_cmd()
141 unsigned int i, tag; in mgmt_invalidate_icds() local
[all …]
Dbe_cmds.c101 unsigned int tag; in alloc_mcc_wrb() local
115 tag = phba->ctrl.mcc_tag[phba->ctrl.mcc_alloc_index]; in alloc_mcc_wrb()
116 if (!tag) { in alloc_mcc_wrb()
126 *ref_tag = tag; in alloc_mcc_wrb()
128 phba->ctrl.mcc_tag_status[tag] = 0; in alloc_mcc_wrb()
129 phba->ctrl.ptag_state[tag].tag_state = 0; in alloc_mcc_wrb()
130 phba->ctrl.ptag_state[tag].cbfn = NULL; in alloc_mcc_wrb()
139 wrb->tag0 = tag; in alloc_mcc_wrb()
149 void free_mcc_wrb(struct be_ctrl_info *ctrl, unsigned int tag) in free_mcc_wrb() argument
154 tag = tag & MCC_Q_CMD_TAG_MASK; in free_mcc_wrb()
[all …]
/drivers/scsi/pm8001/
Dpm80xx_hwi.h249 __le32 tag; member
261 __le32 tag; member
311 __le32 tag; member
346 __le32 tag; member
362 __le32 tag; member
372 __le32 tag; member
383 __le32 tag; member
393 __le32 tag; member
408 __le32 tag; member
420 __le32 tag; member
[all …]
Dpm8001_hwi.h158 __le32 tag; member
170 __le32 tag; member
221 __le32 tag; member
247 __le32 tag; member
264 __le32 tag; member
276 __le32 tag; member
288 __le32 tag; member
299 __le32 tag; member
315 __le32 tag; member
329 __le32 tag; member
[all …]
Dpm8001_hwi.c1517 u32 tag; in pm8001_work_fn() local
1539 tag = ccb->ccb_tag; in pm8001_work_fn()
1540 if ((tag != 0xFFFFFFFF) && (ccb->task == t)) in pm8001_work_fn()
1564 pm8001_ccb_task_free(pm8001_ha, t, ccb, tag); in pm8001_work_fn()
1568 pm8001_ccb_task_free(pm8001_ha, t, ccb, tag); in pm8001_work_fn()
1577 u32 tag; in pm8001_work_fn() local
1620 tag = ccb->ccb_tag; in pm8001_work_fn()
1621 if ((tag != 0xFFFFFFFF) && (ccb->task == t)) in pm8001_work_fn()
1751 task_abort.tag = cpu_to_le32(ccb_tag); in pm8001_send_abort_all()
1821 sata_cmd.tag = cpu_to_le32(ccb_tag); in pm8001_send_read_log()
[all …]
Dpm8001_sas.c49 static int pm8001_find_tag(struct sas_task *task, u32 *tag) in pm8001_find_tag() argument
54 *tag = ccb->ccb_tag; in pm8001_find_tag()
65 void pm8001_tag_free(struct pm8001_hba_info *pm8001_ha, u32 tag) in pm8001_tag_free() argument
68 clear_bit(tag, bitmap); in pm8001_tag_free()
78 unsigned int tag; in pm8001_tag_alloc() local
83 tag = find_first_zero_bit(bitmap, pm8001_ha->tags_num); in pm8001_tag_alloc()
84 if (tag >= pm8001_ha->tags_num) { in pm8001_tag_alloc()
88 set_bit(tag, bitmap); in pm8001_tag_alloc()
90 *tag_out = tag; in pm8001_tag_alloc()
278 u32 pm8001_get_ncq_tag(struct sas_task *task, u32 *tag) in pm8001_get_ncq_tag() argument
[all …]
/drivers/staging/rtl8192u/ieee80211/
Drtl819x_BAProc.c114 u8 *tag = NULL; in ieee80211_ADDBA() local
143 tag = (u8 *)skb_put(skb, 9); in ieee80211_ADDBA()
144 *tag ++= ACT_CAT_BA; in ieee80211_ADDBA()
145 *tag ++= type; in ieee80211_ADDBA()
147 *tag ++= pBA->DialogToken; in ieee80211_ADDBA()
154 put_unaligned_le16(StatusCode, tag); in ieee80211_ADDBA()
155 tag += 2; in ieee80211_ADDBA()
159 put_unaligned_le16(pBA->BaParamSet.shortData, tag); in ieee80211_ADDBA()
160 tag += 2; in ieee80211_ADDBA()
163 put_unaligned_le16(pBA->BaTimeoutValue, tag); in ieee80211_ADDBA()
[all …]
Dieee80211_softmac.c63 u8 *tag = *tag_p; in ieee80211_MFIE_Brate() local
66 *tag++ = MFIE_TYPE_RATES; in ieee80211_MFIE_Brate()
67 *tag++ = 4; in ieee80211_MFIE_Brate()
68 *tag++ = IEEE80211_BASIC_RATE_MASK | IEEE80211_CCK_RATE_1MB; in ieee80211_MFIE_Brate()
69 *tag++ = IEEE80211_BASIC_RATE_MASK | IEEE80211_CCK_RATE_2MB; in ieee80211_MFIE_Brate()
70 *tag++ = IEEE80211_BASIC_RATE_MASK | IEEE80211_CCK_RATE_5MB; in ieee80211_MFIE_Brate()
71 *tag++ = IEEE80211_BASIC_RATE_MASK | IEEE80211_CCK_RATE_11MB; in ieee80211_MFIE_Brate()
75 *tag_p = tag; in ieee80211_MFIE_Brate()
80 u8 *tag = *tag_p; in ieee80211_MFIE_Grate() local
84 *tag++ = MFIE_TYPE_RATES_EX; in ieee80211_MFIE_Grate()
[all …]
/drivers/staging/rtl8192e/
Drtl819x_BAProc.c80 u8 *tag = NULL; in rtllib_ADDBA() local
107 tag = (u8 *)skb_put(skb, 9); in rtllib_ADDBA()
108 *tag++ = ACT_CAT_BA; in rtllib_ADDBA()
109 *tag++ = type; in rtllib_ADDBA()
110 *tag++ = pBA->DialogToken; in rtllib_ADDBA()
115 put_unaligned_le16(StatusCode, tag); in rtllib_ADDBA()
116 tag += 2; in rtllib_ADDBA()
119 put_unaligned_le16(pBA->BaParamSet.shortData, tag); in rtllib_ADDBA()
120 tag += 2; in rtllib_ADDBA()
122 put_unaligned_le16(pBA->BaTimeoutValue, tag); in rtllib_ADDBA()
[all …]
Drtllib_softmac.c58 u8 *tag = *tag_p; in rtllib_MFIE_Brate() local
61 *tag++ = MFIE_TYPE_RATES; in rtllib_MFIE_Brate()
62 *tag++ = 4; in rtllib_MFIE_Brate()
63 *tag++ = RTLLIB_BASIC_RATE_MASK | RTLLIB_CCK_RATE_1MB; in rtllib_MFIE_Brate()
64 *tag++ = RTLLIB_BASIC_RATE_MASK | RTLLIB_CCK_RATE_2MB; in rtllib_MFIE_Brate()
65 *tag++ = RTLLIB_BASIC_RATE_MASK | RTLLIB_CCK_RATE_5MB; in rtllib_MFIE_Brate()
66 *tag++ = RTLLIB_BASIC_RATE_MASK | RTLLIB_CCK_RATE_11MB; in rtllib_MFIE_Brate()
72 *tag_p = tag; in rtllib_MFIE_Brate()
77 u8 *tag = *tag_p; in rtllib_MFIE_Grate() local
80 *tag++ = MFIE_TYPE_RATES_EX; in rtllib_MFIE_Grate()
[all …]
/drivers/s390/scsi/
Dzfcp_dbf.c68 void zfcp_dbf_hba_fsf_res(char *tag, int level, struct zfcp_fsf_req *req) in zfcp_dbf_hba_fsf_res() argument
79 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
121 memcpy(rec->tag, tag, ZFCP_DBF_TAG_LEN); in zfcp_dbf_hba_fsf_uss()
154 void zfcp_dbf_hba_bit_err(char *tag, struct zfcp_fsf_req *req) in zfcp_dbf_hba_bit_err() argument
164 memcpy(rec->tag, tag, ZFCP_DBF_TAG_LEN); in zfcp_dbf_hba_bit_err()
216 void zfcp_dbf_hba_basic(char *tag, struct zfcp_adapter *adapter) in zfcp_dbf_hba_basic() argument
225 memcpy(rec->tag, tag, ZFCP_DBF_TAG_LEN); in zfcp_dbf_hba_basic()
261 void zfcp_dbf_rec_trig(char *tag, struct zfcp_adapter *adapter, in zfcp_dbf_rec_trig() argument
274 memcpy(rec->tag, tag, ZFCP_DBF_TAG_LEN); in zfcp_dbf_rec_trig()
[all …]
Dzfcp_dbf.h79 char tag[ZFCP_DBF_TAG_LEN]; member
113 char tag[ZFCP_DBF_TAG_LEN]; member
181 char tag[ZFCP_DBF_TAG_LEN]; member
221 char tag[ZFCP_DBF_TAG_LEN]; member
313 void zfcp_dbf_hba_fsf_resp(char *tag, int level, struct zfcp_fsf_req *req) in zfcp_dbf_hba_fsf_resp() argument
316 zfcp_dbf_hba_fsf_res(tag, level, req); in zfcp_dbf_hba_fsf_resp()
354 void _zfcp_dbf_scsi(char *tag, int level, struct scsi_cmnd *scmd, in _zfcp_dbf_scsi() argument
361 zfcp_dbf_scsi(tag, level, scmd, req); in _zfcp_dbf_scsi()
397 void zfcp_dbf_scsi_abort(char *tag, struct scsi_cmnd *scmd, in zfcp_dbf_scsi_abort() argument
400 _zfcp_dbf_scsi(tag, 1, scmd, fsf_req); in zfcp_dbf_scsi_abort()
[all …]
/drivers/net/ethernet/cavium/liquidio/
Docteon_nic.h127 union octnic_cmd_setup *setup, u32 tag) in octnet_prepare_pci_cmd_o2() argument
148 if (tag) in octnet_prepare_pci_cmd_o2()
149 ih2->tag = tag; in octnet_prepare_pci_cmd_o2()
151 ih2->tag = LIO_DATA(port); in octnet_prepare_pci_cmd_o2()
181 union octnic_cmd_setup *setup, u32 tag) in octnet_prepare_pci_cmd_o3() argument
216 if (tag) in octnet_prepare_pci_cmd_o3()
217 pki_ih3->tag = tag; in octnet_prepare_pci_cmd_o3()
219 pki_ih3->tag = LIO_DATA(port); in octnet_prepare_pci_cmd_o3()
250 union octnic_cmd_setup *setup, u32 tag) in octnet_prepare_pci_cmd() argument
253 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()
399 fnic_queue_wq_copy_desc_icmnd_16(wq, sc->request->tag, in fnic_queue_wq_copy_desc()
497 sc->request->tag, sc, 0, sc->cmnd[0], in fnic_queuecommand_lck()
557 sc->request->tag, sc, 0, 0, 0, in fnic_queuecommand_lck()
589 sc->request->tag, sc, io_req, in fnic_queuecommand_lck()
614 struct fcpio_tag tag; in DEF_SCSI_QCMD() local
619 fcpio_header_dec(&desc->hdr, &type, &hdr_status, &tag); in DEF_SCSI_QCMD()
697 struct fcpio_tag tag; in fnic_fcpio_flogi_reg_cmpl_handler() local
[all …]
/drivers/gpu/drm/
Ddrm_vma_manager.c271 int drm_vma_node_allow(struct drm_vma_offset_node *node, struct drm_file *tag) in drm_vma_node_allow() argument
292 if (tag == entry->vm_tag) { in drm_vma_node_allow()
295 } else if (tag > entry->vm_tag) { in drm_vma_node_allow()
307 new->vm_tag = tag; in drm_vma_node_allow()
334 struct drm_file *tag) in drm_vma_node_revoke() argument
344 if (tag == entry->vm_tag) { in drm_vma_node_revoke()
350 } else if (tag > entry->vm_tag) { in drm_vma_node_revoke()
375 struct drm_file *tag) in drm_vma_node_is_allowed() argument
385 if (tag == entry->vm_tag) in drm_vma_node_is_allowed()
387 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()
248 u32 tag = snic_cmd_tag(sc); in snic_issue_scsi_req() local
257 SNIC_TRC((u16)snic->shost->host_no, tag, (ulong) sc, 0, in snic_issue_scsi_req()
301 SNIC_TRC(snic->shost->host_no, tag, (ulong) sc, 0, 0, 0, in snic_issue_scsi_req()
316 sc, tag); in snic_issue_scsi_req()
318 SNIC_TRC(snic->shost->host_no, tag, (ulong) sc, (ulong) rqi, in snic_issue_scsi_req()
1365 int req_id = 0, tag = snic_cmd_tag(sc); in snic_issue_tm_req() local
1375 tmf, rqi, tag); in snic_issue_tm_req()
[all …]
/drivers/iommu/
Damd_iommu_v2.c85 u16 tag; member
443 u16 tag, int status) in set_pri_tag_status() argument
448 pasid_state->pri[tag].status = status; in set_pri_tag_status()
454 u16 tag) in finish_pri_tag() argument
459 if (atomic_dec_and_test(&pasid_state->pri[tag].inflight) && in finish_pri_tag()
460 pasid_state->pri[tag].finish) { in finish_pri_tag()
462 pasid_state->pri[tag].status, tag); in finish_pri_tag()
463 pasid_state->pri[tag].finish = false; in finish_pri_tag()
464 pasid_state->pri[tag].status = PPR_SUCCESS; in finish_pri_tag()
474 set_pri_tag_status(fault->state, fault->tag, PPR_INVALID); in handle_fault_error()
[all …]
/drivers/scsi/
Dstex.c227 __le16 tag; member
239 __le16 tag; member
507 stex_send_cmd(struct st_hba *hba, struct req_msg *req, u16 tag) in stex_send_cmd() argument
509 req->tag = cpu_to_le16(tag); in stex_send_cmd()
511 hba->ccb[tag].req = req; in stex_send_cmd()
520 stex_ss_send_cmd(struct st_hba *hba, struct req_msg *req, u16 tag) in stex_ss_send_cmd() argument
526 req->tag = cpu_to_le16(tag); in stex_ss_send_cmd()
528 hba->ccb[tag].req = req; in stex_ss_send_cmd()
531 cmd = hba->ccb[tag].cmd; in stex_ss_send_cmd()
538 addr += (hba->ccb[tag].sg_count+4)/11; in stex_ss_send_cmd()
[all …]
/drivers/pnp/pnpbios/
Drsparser.c83 unsigned int len, tag; in pnpbios_parse_allocated_resource_data() local
98 tag = p[0]; in pnpbios_parse_allocated_resource_data()
101 tag = ((p[0] >> 3) & 0x0f); in pnpbios_parse_allocated_resource_data()
104 switch (tag) { in pnpbios_parse_allocated_resource_data()
196 tag, len); in pnpbios_parse_allocated_resource_data()
319 unsigned int len, tag; in pnpbios_parse_resource_option_data() local
333 tag = p[0]; in pnpbios_parse_resource_option_data()
336 tag = ((p[0] >> 3) & 0x0f); in pnpbios_parse_resource_option_data()
339 switch (tag) { in pnpbios_parse_resource_option_data()
410 tag, len); in pnpbios_parse_resource_option_data()
[all …]
/drivers/char/
Dps3flash.c39 int tag; /* Start sector of buffer, -1 if invalid */ member
65 if (!priv->dirty || priv->tag < 0) in ps3flash_writeback()
68 res = ps3flash_read_write_sectors(dev, priv->tag, 1); in ps3flash_writeback()
81 if (start_sector == priv->tag) in ps3flash_fetch()
88 priv->tag = -1; in ps3flash_fetch()
94 priv->tag = start_sector; in ps3flash_fetch()
211 else if (sector != priv->tag) in ps3flash_write()
231 priv->tag = sector; in ps3flash_write()
303 u64 tag, status; in ps3flash_interrupt() local
305 res = lv1_storage_get_async_status(dev->sbd.dev_id, &tag, &status); in ps3flash_interrupt()
[all …]
/drivers/block/rsxx/
Ddma.c48 u8 tag; member
62 u8 tag; member
139 int tag, in set_tracker_dma() argument
142 trackers->list[tag].dma = dma; in set_tracker_dma()
146 int tag) in get_tracker_dma() argument
148 return trackers->list[tag].dma; in get_tracker_dma()
153 int tag; in pop_tracker() local
156 tag = trackers->head; in pop_tracker()
157 if (tag != -1) { in pop_tracker()
158 trackers->head = trackers->list[tag].next_tag; in pop_tracker()
[all …]
/drivers/input/tablet/
Dgtco.c208 __u8 tag; in parse_hid_report_descriptor() local
260 tag = PREF_TAG(prefix); in parse_hid_report_descriptor()
265 switch (tag) { in parse_hid_report_descriptor()
389 indentstr, tag, maintype, size, globtype, data); in parse_hid_report_descriptor()
394 indentstr, tag, maintype, size, globtype, data16); in parse_hid_report_descriptor()
399 indentstr, tag, maintype, size, globtype, data32); in parse_hid_report_descriptor()
405 switch (tag) { in parse_hid_report_descriptor()
466 if (tag < TAG_GLOB_MAX) { in parse_hid_report_descriptor()
470 indentstr, globtype, tag, size, data); in parse_hid_report_descriptor()
471 globalval[tag] = data; in parse_hid_report_descriptor()
[all …]

12345678910>>...14