Lines Matching refs:q1

314 	ASC_SCSIQ_1 q1;  member
2485 q->q2.target_ix, q->q1.target_lun, q->q2.srb_tag, in asc_prt_asc_scsi_q()
2490 (ulong)le32_to_cpu(q->q1.data_addr), in asc_prt_asc_scsi_q()
2491 (ulong)le32_to_cpu(q->q1.data_cnt), in asc_prt_asc_scsi_q()
2492 (ulong)le32_to_cpu(q->q1.sense_addr), q->q1.sense_len); in asc_prt_asc_scsi_q()
2496 (ulong)q->sg_head, q->q1.sg_queue_cnt); in asc_prt_asc_scsi_q()
7434 asc_scsi_q->q1.target_id = ASC_TID_TO_TARGET_ID(scp->device->id); in asc_build_req()
7435 asc_scsi_q->q1.target_lun = scp->device->lun; in asc_build_req()
7438 asc_scsi_q->q1.sense_addr = asc_get_sense_buffer_dma(scp); in asc_build_req()
7439 asc_scsi_q->q1.sense_len = SCSI_SENSE_BUFFERSIZE; in asc_build_req()
7440 if (!asc_scsi_q->q1.sense_addr) in asc_build_req()
7488 asc_scsi_q->q1.cntl |= QC_SG_HEAD; in asc_build_req()
7490 asc_scsi_q->q1.data_cnt = 0; in asc_build_req()
7491 asc_scsi_q->q1.data_addr = 0; in asc_build_req()
7493 asc_sg_head->entry_cnt = asc_scsi_q->q1.sg_queue_cnt = use_sg; in asc_build_req()
7872 if (((asc_dvc->init_sdtr & scsiq->q1.target_id) != 0) && in AscPutReadyQueue()
7873 ((asc_dvc->sdtr_done & scsiq->q1.target_id) == 0)) { in AscPutReadyQueue()
7882 scsiq->q1.cntl |= QC_MSG_OUT; in AscPutReadyQueue()
7885 if ((scsiq->q1.target_id & asc_dvc->use_tagged_qng) == 0) { in AscPutReadyQueue()
7888 scsiq->q1.status = QS_FREE; in AscPutReadyQueue()
7895 (uchar *)&scsiq->q1.cntl, in AscPutReadyQueue()
7899 (ushort)(((ushort)scsiq->q1. in AscPutReadyQueue()
7922 saved_data_addr = scsiq->q1.data_addr; in AscPutReadySgListQueue()
7923 saved_data_cnt = scsiq->q1.data_cnt; in AscPutReadySgListQueue()
7924 scsiq->q1.data_addr = cpu_to_le32(sg_head->sg_list[0].addr); in AscPutReadySgListQueue()
7925 scsiq->q1.data_cnt = cpu_to_le32(sg_head->sg_list[0].bytes); in AscPutReadySgListQueue()
7934 scsiq->q1.cntl |= QC_SG_HEAD; in AscPutReadySgListQueue()
7937 scsiq->q1.sg_queue_cnt = sg_head->queue_cnt; in AscPutReadySgListQueue()
7989 scsiq->q1.cntl &= ~QC_SG_HEAD; in AscPutReadySgListQueue()
7992 scsiq->q1.data_addr = saved_data_addr; in AscPutReadySgListQueue()
7993 scsiq->q1.data_cnt = saved_data_cnt; in AscPutReadySgListQueue()
8018 scsiq->q1.q_no = free_q_head; in AscSendScsiQueue()
8025 scsiq->q1.q_no = free_q_head; in AscSendScsiQueue()
8080 scsiq->q1.q_no = 0; in AscExeScsiQueue()
8082 scsiq->q1.extra_bytes = 0; in AscExeScsiQueue()
8089 if ((asc_dvc->init_sdtr & scsiq->q1.target_id) != 0) { in AscExeScsiQueue()
8090 asc_dvc->sdtr_done &= ~scsiq->q1.target_id; in AscExeScsiQueue()
8100 scsiq->q1.cntl |= (QC_MSG_OUT | QC_URGENT); in AscExeScsiQueue()
8108 if ((scsiq->q1.cntl & QC_SG_HEAD) != 0) { in AscExeScsiQueue()
8118 scsiq->q1.data_addr = cpu_to_le32(sg_head->sg_list[0].addr); in AscExeScsiQueue()
8119 scsiq->q1.data_cnt = cpu_to_le32(sg_head->sg_list[0].bytes); in AscExeScsiQueue()
8120 scsiq->q1.cntl &= ~(QC_SG_HEAD | QC_SG_SWAP_QUEUE); in AscExeScsiQueue()
8126 if ((asc_dvc->pci_fix_asyn_xfer & scsiq->q1.target_id) && in AscExeScsiQueue()
8127 !(asc_dvc->pci_fix_asyn_xfer_always & scsiq->q1.target_id)) { in AscExeScsiQueue()
8128 if (scsiq->q1.cntl & QC_SG_HEAD) { in AscExeScsiQueue()
8135 data_cnt = le32_to_cpu(scsiq->q1.data_cnt); in AscExeScsiQueue()
8164 if ((scsiq->q1.cntl & QC_SG_HEAD) != 0) { in AscExeScsiQueue()
8187 scsiq->q1.extra_bytes = in AscExeScsiQueue()
8208 || ((scsiq->q1.cntl & QC_URGENT) != 0)) { in AscExeScsiQueue()
8222 le32_to_cpu(scsiq->q1.data_addr) + in AscExeScsiQueue()
8223 le32_to_cpu(scsiq->q1.data_cnt); in AscExeScsiQueue()
8233 le32_to_cpu(scsiq->q1. in AscExeScsiQueue()
8240 scsiq->q1.data_cnt = in AscExeScsiQueue()
8243 scsiq->q1.extra_bytes = in AscExeScsiQueue()
8252 ((scsiq->q1.cntl & QC_URGENT) != 0)) { in AscExeScsiQueue()