Lines Matching refs:q1

314 	ASC_SCSIQ_1 q1;  member
2494 q->q2.target_ix, q->q1.target_lun, q->q2.srb_tag, in asc_prt_asc_scsi_q()
2499 (ulong)le32_to_cpu(q->q1.data_addr), in asc_prt_asc_scsi_q()
2500 (ulong)le32_to_cpu(q->q1.data_cnt), in asc_prt_asc_scsi_q()
2501 (ulong)le32_to_cpu(q->q1.sense_addr), q->q1.sense_len); in asc_prt_asc_scsi_q()
2505 (ulong)q->sg_head, q->q1.sg_queue_cnt); in asc_prt_asc_scsi_q()
7443 asc_scsi_q->q1.target_id = ASC_TID_TO_TARGET_ID(scp->device->id); in asc_build_req()
7444 asc_scsi_q->q1.target_lun = scp->device->lun; in asc_build_req()
7447 asc_scsi_q->q1.sense_addr = asc_get_sense_buffer_dma(scp); in asc_build_req()
7448 asc_scsi_q->q1.sense_len = SCSI_SENSE_BUFFERSIZE; in asc_build_req()
7449 if (!asc_scsi_q->q1.sense_addr) in asc_build_req()
7497 asc_scsi_q->q1.cntl |= QC_SG_HEAD; in asc_build_req()
7499 asc_scsi_q->q1.data_cnt = 0; in asc_build_req()
7500 asc_scsi_q->q1.data_addr = 0; in asc_build_req()
7502 asc_sg_head->entry_cnt = asc_scsi_q->q1.sg_queue_cnt = use_sg; in asc_build_req()
7881 if (((asc_dvc->init_sdtr & scsiq->q1.target_id) != 0) && in AscPutReadyQueue()
7882 ((asc_dvc->sdtr_done & scsiq->q1.target_id) == 0)) { in AscPutReadyQueue()
7891 scsiq->q1.cntl |= QC_MSG_OUT; in AscPutReadyQueue()
7894 if ((scsiq->q1.target_id & asc_dvc->use_tagged_qng) == 0) { in AscPutReadyQueue()
7897 scsiq->q1.status = QS_FREE; in AscPutReadyQueue()
7904 (uchar *)&scsiq->q1.cntl, in AscPutReadyQueue()
7908 (ushort)(((ushort)scsiq->q1. in AscPutReadyQueue()
7931 saved_data_addr = scsiq->q1.data_addr; in AscPutReadySgListQueue()
7932 saved_data_cnt = scsiq->q1.data_cnt; in AscPutReadySgListQueue()
7933 scsiq->q1.data_addr = cpu_to_le32(sg_head->sg_list[0].addr); in AscPutReadySgListQueue()
7934 scsiq->q1.data_cnt = cpu_to_le32(sg_head->sg_list[0].bytes); in AscPutReadySgListQueue()
7943 scsiq->q1.cntl |= QC_SG_HEAD; in AscPutReadySgListQueue()
7946 scsiq->q1.sg_queue_cnt = sg_head->queue_cnt; in AscPutReadySgListQueue()
7998 scsiq->q1.cntl &= ~QC_SG_HEAD; in AscPutReadySgListQueue()
8001 scsiq->q1.data_addr = saved_data_addr; in AscPutReadySgListQueue()
8002 scsiq->q1.data_cnt = saved_data_cnt; in AscPutReadySgListQueue()
8027 scsiq->q1.q_no = free_q_head; in AscSendScsiQueue()
8034 scsiq->q1.q_no = free_q_head; in AscSendScsiQueue()
8089 scsiq->q1.q_no = 0; in AscExeScsiQueue()
8091 scsiq->q1.extra_bytes = 0; in AscExeScsiQueue()
8098 if ((asc_dvc->init_sdtr & scsiq->q1.target_id) != 0) { in AscExeScsiQueue()
8099 asc_dvc->sdtr_done &= ~scsiq->q1.target_id; in AscExeScsiQueue()
8109 scsiq->q1.cntl |= (QC_MSG_OUT | QC_URGENT); in AscExeScsiQueue()
8117 if ((scsiq->q1.cntl & QC_SG_HEAD) != 0) { in AscExeScsiQueue()
8127 scsiq->q1.data_addr = cpu_to_le32(sg_head->sg_list[0].addr); in AscExeScsiQueue()
8128 scsiq->q1.data_cnt = cpu_to_le32(sg_head->sg_list[0].bytes); in AscExeScsiQueue()
8129 scsiq->q1.cntl &= ~(QC_SG_HEAD | QC_SG_SWAP_QUEUE); in AscExeScsiQueue()
8135 if ((asc_dvc->pci_fix_asyn_xfer & scsiq->q1.target_id) && in AscExeScsiQueue()
8136 !(asc_dvc->pci_fix_asyn_xfer_always & scsiq->q1.target_id)) { in AscExeScsiQueue()
8137 if (scsiq->q1.cntl & QC_SG_HEAD) { in AscExeScsiQueue()
8144 data_cnt = le32_to_cpu(scsiq->q1.data_cnt); in AscExeScsiQueue()
8173 if ((scsiq->q1.cntl & QC_SG_HEAD) != 0) { in AscExeScsiQueue()
8196 scsiq->q1.extra_bytes = in AscExeScsiQueue()
8217 || ((scsiq->q1.cntl & QC_URGENT) != 0)) { in AscExeScsiQueue()
8231 le32_to_cpu(scsiq->q1.data_addr) + in AscExeScsiQueue()
8232 le32_to_cpu(scsiq->q1.data_cnt); in AscExeScsiQueue()
8242 le32_to_cpu(scsiq->q1. in AscExeScsiQueue()
8249 scsiq->q1.data_cnt = in AscExeScsiQueue()
8252 scsiq->q1.extra_bytes = in AscExeScsiQueue()
8261 ((scsiq->q1.cntl & QC_URGENT) != 0)) { in AscExeScsiQueue()