Lines Matching defs:srb_tag
261 u32 srb_tag;
1761 u32 srb_tag;
1769 * and microcode with the ADV_SCSI_REQ_Q field 'srb_tag' set to the
1960 * Abort an SRB in the chip's RISC Memory. The 'srb_tag' argument must
1961 * match the ADV_SCSI_REQ_Q 'srb_tag' field.
1971 #define AdvAbortQueue(asc_dvc, srb_tag) \
1973 (ADV_DCNT) (srb_tag))
2493 (" target_ix 0x%x, target_lun %u, srb_tag 0x%x, tag_code 0x%x,\n",
2494 q->q2.target_ix, q->q1.target_lun, q->q2.srb_tag,
2527 printk(" srb_tag 0x%x, target_ix %u, cdb_len %u, tag_code %u,\n",
2528 q->d2.srb_tag, q->d2.target_ix, q->d2.cdb_len,
2571 printk(" target_id %u, target_lun %u, srb_tag 0x%x\n",
2572 q->target_id, q->target_lun, q->srb_tag);
5914 scp = scsi_host_find_tag(boardp->shost, scsiqp->srb_tag);
6675 u32 srb_tag;
6682 * Decrease the srb_tag by 1 to find the SCSI command
6684 srb_tag = qdonep->d2.srb_tag - 1;
6685 scp = scsi_host_find_tag(boardp->shost, srb_tag);
6855 if ((scsiq->d2.srb_tag == 0UL) ||
7427 u32 srb_tag;
7432 * Set the srb_tag to the command tag + 1, as
7433 * srb_tag '0' is used internally by the chip.
7435 srb_tag = scsi_cmd_to_rq(scp)->tag + 1;
7436 asc_scsi_q->q2.srb_tag = srb_tag;
7649 u32 srb_tag = scsi_cmd_to_rq(scp)->tag;
7660 reqp = &boardp->adv_reqp[srb_tag];
7667 reqp->req_addr = boardp->adv_reqp_addr + (srb_tag * sizeof(adv_req_t));
7677 * Set the srb_tag to the command tag.
7679 scsiqp->srb_tag = srb_tag;
8324 scsiq->scsiq_ptr = cpu_to_le32(scsiq->srb_tag);