• Home
  • Raw
  • Download

Lines Matching refs:tag

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()
574 u16 tag; in return_abnormal_state() local
577 for (tag = 0; tag < hba->host->can_queue; tag++) { in return_abnormal_state()
578 ccb = &hba->ccb[tag]; in return_abnormal_state()
608 u16 tag; in stex_queuecommand_lck() local
699 tag = cmd->request->tag; in stex_queuecommand_lck()
701 if (unlikely(tag >= host->can_queue)) in stex_queuecommand_lck()
719 hba->ccb[tag].cmd = cmd; in stex_queuecommand_lck()
720 hba->ccb[tag].sense_bufflen = SCSI_SENSE_BUFFERSIZE; in stex_queuecommand_lck()
721 hba->ccb[tag].sense_buffer = cmd->sense_buffer; in stex_queuecommand_lck()
723 if (!hba->map_sg(hba, req, &hba->ccb[tag])) { in stex_queuecommand_lck()
724 hba->ccb[tag].sg_count = 0; in stex_queuecommand_lck()
728 hba->send(hba, req, tag); in stex_queuecommand_lck()
806 u16 tag; in stex_mu_intr() local
836 tag = le16_to_cpu(resp->tag); in stex_mu_intr()
837 if (unlikely(tag >= hba->host->can_queue)) { in stex_mu_intr()
844 ccb = &hba->ccb[tag]; in stex_mu_intr()
923 u16 tag; in stex_ss_mu_intr() local
941 tag = (u16)value; in stex_ss_mu_intr()
942 if (unlikely(tag >= hba->host->can_queue)) { in stex_ss_mu_intr()
949 ccb = &hba->ccb[tag]; in stex_ss_mu_intr()
1255 u16 tag = cmd->request->tag; in stex_abort() local
1265 if (tag < host->can_queue && in stex_abort()
1266 hba->ccb[tag].req && hba->ccb[tag].cmd == cmd) in stex_abort()
1267 hba->wait_ccb = &hba->ccb[tag]; in stex_abort()
1873 u16 tag = 0; in stex_hba_stop() local
1910 hba->ccb[tag].cmd = NULL; in stex_hba_stop()
1911 hba->ccb[tag].sg_count = 0; in stex_hba_stop()
1912 hba->ccb[tag].sense_bufflen = 0; in stex_hba_stop()
1913 hba->ccb[tag].sense_buffer = NULL; in stex_hba_stop()
1914 hba->ccb[tag].req_type = PASSTHRU_REQ_TYPE; in stex_hba_stop()
1915 hba->send(hba, req, tag); in stex_hba_stop()
1918 while (hba->ccb[tag].req_type & PASSTHRU_REQ_TYPE) { in stex_hba_stop()
1920 hba->ccb[tag].req_type = 0; in stex_hba_stop()