/drivers/ata/ |
D | sata_dwc_460ex.c | 188 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 …]
|
/drivers/scsi/be2iscsi/ |
D | be_mgmt.c | 29 unsigned int tag; in beiscsi_modify_eq_delay() local 33 wrb = alloc_mcc_wrb(phba, &tag); in beiscsi_modify_eq_delay() 53 set_bit(MCC_TAG_STATE_IGNORE, &ctrl->ptag_state[tag].tag_state); in beiscsi_modify_eq_delay() 54 be_mcc_notify(phba, tag); in beiscsi_modify_eq_delay() 56 return tag; in beiscsi_modify_eq_delay() 66 unsigned int tag = 0; in mgmt_vendor_specific_fw_cmd() local 105 wrb = alloc_mcc_wrb(phba, &tag); in mgmt_vendor_specific_fw_cmd() 118 be_mcc_notify(phba, tag); in mgmt_vendor_specific_fw_cmd() 121 return tag; in mgmt_vendor_specific_fw_cmd() 150 unsigned int tag = 0; in mgmt_open_connection() local [all …]
|
D | be_cmds.c | 98 unsigned int tag; in alloc_mcc_wrb() local 112 tag = phba->ctrl.mcc_tag[phba->ctrl.mcc_alloc_index]; in alloc_mcc_wrb() 113 if (!tag) { in alloc_mcc_wrb() 123 *ref_tag = tag; in alloc_mcc_wrb() 125 phba->ctrl.mcc_tag_status[tag] = 0; in alloc_mcc_wrb() 126 phba->ctrl.ptag_state[tag].tag_state = 0; in alloc_mcc_wrb() 127 phba->ctrl.ptag_state[tag].cbfn = NULL; in alloc_mcc_wrb() 136 wrb->tag0 = tag; in alloc_mcc_wrb() 146 void free_mcc_wrb(struct be_ctrl_info *ctrl, unsigned int tag) in free_mcc_wrb() argument 151 tag = tag & MCC_Q_CMD_TAG_MASK; in free_mcc_wrb() [all …]
|
/drivers/scsi/pm8001/ |
D | pm80xx_hwi.h | 249 __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 …]
|
D | pm8001_hwi.h | 158 __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 …]
|
D | pm8001_hwi.c | 1523 u32 tag; in pm8001_work_fn() local 1545 tag = ccb->ccb_tag; in pm8001_work_fn() 1546 if ((tag != 0xFFFFFFFF) && (ccb->task == t)) in pm8001_work_fn() 1570 pm8001_ccb_task_free(pm8001_ha, t, ccb, tag); in pm8001_work_fn() 1574 pm8001_ccb_task_free(pm8001_ha, t, ccb, tag); in pm8001_work_fn() 1583 u32 tag; in pm8001_work_fn() local 1626 tag = ccb->ccb_tag; in pm8001_work_fn() 1627 if ((tag != 0xFFFFFFFF) && (ccb->task == t)) in pm8001_work_fn() 1757 task_abort.tag = cpu_to_le32(ccb_tag); in pm8001_send_abort_all() 1827 sata_cmd.tag = cpu_to_le32(ccb_tag); in pm8001_send_read_log() [all …]
|
D | pm8001_sas.c | 49 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/media/atomisp/pci/atomisp2/css2400/hive_isp_css_shared/host/ |
D | tag.c | 48 sh_css_encode_tag_descr(struct sh_css_tag_descr *tag) in sh_css_encode_tag_descr() argument 58 assert(tag != NULL); in sh_css_encode_tag_descr() 60 if (tag->num_captures < 0) { in sh_css_encode_tag_descr() 61 num_captures = -tag->num_captures; in sh_css_encode_tag_descr() 64 num_captures = tag->num_captures; in sh_css_encode_tag_descr() 67 skip = tag->skip; in sh_css_encode_tag_descr() 68 if (tag->offset < 0) { in sh_css_encode_tag_descr() 69 offset = -tag->offset; in sh_css_encode_tag_descr() 72 offset = tag->offset; in sh_css_encode_tag_descr() 75 exp_id = tag->exp_id; in sh_css_encode_tag_descr()
|
/drivers/staging/rtl8192u/ieee80211/ |
D | rtl819x_BAProc.c | 112 u8 *tag = NULL; in ieee80211_ADDBA() local 139 tag = skb_put(skb, 9); in ieee80211_ADDBA() 140 *tag ++= ACT_CAT_BA; in ieee80211_ADDBA() 141 *tag ++= type; in ieee80211_ADDBA() 143 *tag ++= pBA->DialogToken; in ieee80211_ADDBA() 149 put_unaligned_le16(StatusCode, tag); in ieee80211_ADDBA() 150 tag += 2; in ieee80211_ADDBA() 154 put_unaligned_le16(pBA->BaParamSet.shortData, tag); in ieee80211_ADDBA() 155 tag += 2; in ieee80211_ADDBA() 158 put_unaligned_le16(pBA->BaTimeoutValue, tag); in ieee80211_ADDBA() [all …]
|
D | ieee80211_softmac.c | 63 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/ |
D | rtl819x_BAProc.c | 80 u8 *tag = NULL; in rtllib_ADDBA() local 106 tag = skb_put(skb, 9); in rtllib_ADDBA() 107 *tag++ = ACT_CAT_BA; in rtllib_ADDBA() 108 *tag++ = type; in rtllib_ADDBA() 109 *tag++ = pBA->DialogToken; in rtllib_ADDBA() 114 put_unaligned_le16(StatusCode, tag); in rtllib_ADDBA() 115 tag += 2; in rtllib_ADDBA() 118 put_unaligned_le16(pBA->BaParamSet.shortData, tag); in rtllib_ADDBA() 119 tag += 2; in rtllib_ADDBA() 121 put_unaligned_le16(pBA->BaTimeoutValue, tag); in rtllib_ADDBA() [all …]
|
D | rtllib_softmac.c | 58 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/ |
D | zfcp_dbf.c | 69 void zfcp_dbf_hba_fsf_res(char *tag, int level, struct zfcp_fsf_req *req) in zfcp_dbf_hba_fsf_res() argument 80 memcpy(rec->tag, tag, ZFCP_DBF_TAG_LEN); in zfcp_dbf_hba_fsf_res() 110 void zfcp_dbf_hba_fsf_uss(char *tag, struct zfcp_fsf_req *req) in zfcp_dbf_hba_fsf_uss() argument 124 memcpy(rec->tag, tag, ZFCP_DBF_TAG_LEN); in zfcp_dbf_hba_fsf_uss() 157 void zfcp_dbf_hba_bit_err(char *tag, struct zfcp_fsf_req *req) in zfcp_dbf_hba_bit_err() argument 171 memcpy(rec->tag, tag, ZFCP_DBF_TAG_LEN); in zfcp_dbf_hba_bit_err() 227 void zfcp_dbf_hba_basic(char *tag, struct zfcp_adapter *adapter) in zfcp_dbf_hba_basic() argument 240 memcpy(rec->tag, tag, ZFCP_DBF_TAG_LEN); in zfcp_dbf_hba_basic() 276 void zfcp_dbf_rec_trig(char *tag, struct zfcp_adapter *adapter, in zfcp_dbf_rec_trig() argument 295 memcpy(rec->tag, tag, ZFCP_DBF_TAG_LEN); in zfcp_dbf_rec_trig() [all …]
|
D | zfcp_dbf.h | 80 char tag[ZFCP_DBF_TAG_LEN]; member 114 char tag[ZFCP_DBF_TAG_LEN]; member 182 char tag[ZFCP_DBF_TAG_LEN]; member 222 char tag[ZFCP_DBF_TAG_LEN]; member 314 void zfcp_dbf_hba_fsf_resp(char *tag, int level, struct zfcp_fsf_req *req) in zfcp_dbf_hba_fsf_resp() argument 317 zfcp_dbf_hba_fsf_res(tag, level, req); in zfcp_dbf_hba_fsf_resp() 355 void _zfcp_dbf_scsi(char *tag, int level, struct scsi_cmnd *scmd, in _zfcp_dbf_scsi() argument 362 zfcp_dbf_scsi(tag, level, scmd, req); in _zfcp_dbf_scsi() 398 void zfcp_dbf_scsi_abort(char *tag, struct scsi_cmnd *scmd, in zfcp_dbf_scsi_abort() argument 401 _zfcp_dbf_scsi(tag, 1, scmd, fsf_req); in zfcp_dbf_scsi_abort() [all …]
|
/drivers/net/ethernet/cavium/liquidio/ |
D | octeon_nic.h | 128 union octnic_cmd_setup *setup, u32 tag) in octnet_prepare_pci_cmd_o2() argument 149 if (tag) in octnet_prepare_pci_cmd_o2() 150 ih2->tag = tag; in octnet_prepare_pci_cmd_o2() 152 ih2->tag = LIO_DATA(port); in octnet_prepare_pci_cmd_o2() 182 union octnic_cmd_setup *setup, u32 tag) in octnet_prepare_pci_cmd_o3() argument 217 if (tag) in octnet_prepare_pci_cmd_o3() 218 pki_ih3->tag = tag; in octnet_prepare_pci_cmd_o3() 220 pki_ih3->tag = LIO_DATA(port); in octnet_prepare_pci_cmd_o3() 251 union octnic_cmd_setup *setup, u32 tag) in octnet_prepare_pci_cmd() argument 254 octnet_prepare_pci_cmd_o2(oct, cmd, setup, tag); in octnet_prepare_pci_cmd() [all …]
|
/drivers/scsi/fnic/ |
D | fcpio.h | 137 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 …]
|
D | fnic_scsi.c | 109 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() 520 sc->request->tag, sc, 0, sc->cmnd[0], in fnic_queuecommand_lck() 580 sc->request->tag, sc, 0, 0, 0, in fnic_queuecommand_lck() 612 sc->request->tag, sc, io_req, in fnic_queuecommand_lck() 637 struct fcpio_tag tag; in DEF_SCSI_QCMD() local 642 fcpio_header_dec(&desc->hdr, &type, &hdr_status, &tag); in DEF_SCSI_QCMD() 721 struct fcpio_tag tag; in fnic_fcpio_flogi_reg_cmpl_handler() local [all …]
|
/drivers/gpu/drm/ |
D | drm_vma_manager.c | 270 int drm_vma_node_allow(struct drm_vma_offset_node *node, struct drm_file *tag) in drm_vma_node_allow() argument 291 if (tag == entry->vm_tag) { in drm_vma_node_allow() 294 } else if (tag > entry->vm_tag) { in drm_vma_node_allow() 306 new->vm_tag = tag; in drm_vma_node_allow() 333 struct drm_file *tag) in drm_vma_node_revoke() argument 343 if (tag == entry->vm_tag) { in drm_vma_node_revoke() 349 } else if (tag > entry->vm_tag) { in drm_vma_node_revoke() 374 struct drm_file *tag) in drm_vma_node_is_allowed() argument 384 if (tag == entry->vm_tag) in drm_vma_node_is_allowed() 386 else if (tag > entry->vm_tag) in drm_vma_node_is_allowed()
|
/drivers/scsi/snic/ |
D | snic_scsi.c | 36 #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() 1363 int req_id = 0, tag = snic_cmd_tag(sc); in snic_issue_tm_req() local 1373 tmf, rqi, tag); in snic_issue_tm_req() [all …]
|
/drivers/iommu/ |
D | amd_iommu_v2.c | 86 u16 tag; member 436 u16 tag, int status) in set_pri_tag_status() argument 441 pasid_state->pri[tag].status = status; in set_pri_tag_status() 447 u16 tag) in finish_pri_tag() argument 452 if (atomic_dec_and_test(&pasid_state->pri[tag].inflight) && in finish_pri_tag() 453 pasid_state->pri[tag].finish) { in finish_pri_tag() 455 pasid_state->pri[tag].status, tag); in finish_pri_tag() 456 pasid_state->pri[tag].finish = false; in finish_pri_tag() 457 pasid_state->pri[tag].status = PPR_SUCCESS; in finish_pri_tag() 467 set_pri_tag_status(fault->state, fault->tag, PPR_INVALID); in handle_fault_error() [all …]
|
/drivers/pnp/pnpbios/ |
D | rsparser.c | 84 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/ |
D | scsi_logging.c | 37 const char *name, int tag) in sdev_format_header() argument 48 if (tag >= 0) in sdev_format_header() 50 "tag#%d ", tag); in sdev_format_header() 95 scmd->request->tag); in scmd_printk() 192 scmd_name(cmd), cmd->request->tag); in scsi_print_command() 218 cmd->request->tag); in scsi_print_command() 297 scsi_log_dump_sense(const struct scsi_device *sdev, const char *name, int tag, in scsi_log_dump_sense() argument 313 name, tag); in scsi_log_dump_sense() 324 int tag, const struct scsi_sense_hdr *sshdr) in scsi_log_print_sense_hdr() argument 332 off = sdev_format_header(logbuf, logbuf_len, name, tag); in scsi_log_print_sense_hdr() [all …]
|
D | stex.c | 236 __le16 tag; member 248 __le16 tag; member 523 stex_send_cmd(struct st_hba *hba, struct req_msg *req, u16 tag) in stex_send_cmd() argument 525 req->tag = cpu_to_le16(tag); in stex_send_cmd() 527 hba->ccb[tag].req = req; in stex_send_cmd() 536 stex_ss_send_cmd(struct st_hba *hba, struct req_msg *req, u16 tag) in stex_ss_send_cmd() argument 542 req->tag = cpu_to_le16(tag); in stex_ss_send_cmd() 544 hba->ccb[tag].req = req; in stex_ss_send_cmd() 547 cmd = hba->ccb[tag].cmd; in stex_ss_send_cmd() 554 addr += (hba->ccb[tag].sg_count+4)/11; in stex_ss_send_cmd() [all …]
|
/drivers/char/ |
D | ps3flash.c | 39 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/ |
D | dma.c | 48 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 …]
|