• Home
  • Raw
  • Download

Lines Matching refs:q1

371 	ASC_SCSIQ_1 q1;  member
2621 q->q2.target_ix, q->q1.target_lun, (ulong)q->q2.srb_ptr, in asc_prt_asc_scsi_q()
2626 (ulong)le32_to_cpu(q->q1.data_addr), in asc_prt_asc_scsi_q()
2627 (ulong)le32_to_cpu(q->q1.data_cnt), in asc_prt_asc_scsi_q()
2628 (ulong)le32_to_cpu(q->q1.sense_addr), q->q1.sense_len); in asc_prt_asc_scsi_q()
2632 (ulong)q->sg_head, q->q1.sg_queue_cnt); in asc_prt_asc_scsi_q()
8402 asc_scsi_q->q1.target_id = ASC_TID_TO_TARGET_ID(scp->device->id); in asc_build_req()
8403 asc_scsi_q->q1.target_lun = scp->device->lun; in asc_build_req()
8406 asc_scsi_q->q1.sense_addr = advansys_get_sense_buffer_dma(scp); in asc_build_req()
8407 asc_scsi_q->q1.sense_len = SCSI_SENSE_BUFFERSIZE; in asc_build_req()
8451 asc_scsi_q->q1.cntl |= QC_SG_HEAD; in asc_build_req()
8453 asc_scsi_q->q1.data_cnt = 0; in asc_build_req()
8454 asc_scsi_q->q1.data_addr = 0; in asc_build_req()
8456 asc_sg_head->entry_cnt = asc_scsi_q->q1.sg_queue_cnt = use_sg; in asc_build_req()
8838 if (((asc_dvc->init_sdtr & scsiq->q1.target_id) != 0) && in AscPutReadyQueue()
8839 ((asc_dvc->sdtr_done & scsiq->q1.target_id) == 0)) { in AscPutReadyQueue()
8848 scsiq->q1.cntl |= QC_MSG_OUT; in AscPutReadyQueue()
8851 if ((scsiq->q1.target_id & asc_dvc->use_tagged_qng) == 0) { in AscPutReadyQueue()
8854 scsiq->q1.status = QS_FREE; in AscPutReadyQueue()
8861 (uchar *)&scsiq->q1.cntl, in AscPutReadyQueue()
8865 (ushort)(((ushort)scsiq->q1. in AscPutReadyQueue()
8888 saved_data_addr = scsiq->q1.data_addr; in AscPutReadySgListQueue()
8889 saved_data_cnt = scsiq->q1.data_cnt; in AscPutReadySgListQueue()
8890 scsiq->q1.data_addr = (ASC_PADDR) sg_head->sg_list[0].addr; in AscPutReadySgListQueue()
8891 scsiq->q1.data_cnt = (ASC_DCNT) sg_head->sg_list[0].bytes; in AscPutReadySgListQueue()
8927 scsiq->q1.cntl |= QC_SG_HEAD; in AscPutReadySgListQueue()
8930 scsiq->q1.sg_queue_cnt = sg_head->queue_cnt; in AscPutReadySgListQueue()
8996 scsiq->q1.cntl &= ~QC_SG_HEAD; in AscPutReadySgListQueue()
8999 scsiq->q1.data_addr = saved_data_addr; in AscPutReadySgListQueue()
9000 scsiq->q1.data_cnt = saved_data_cnt; in AscPutReadySgListQueue()
9025 scsiq->q1.q_no = free_q_head; in AscSendScsiQueue()
9032 scsiq->q1.q_no = free_q_head; in AscSendScsiQueue()
9087 scsiq->q1.q_no = 0; in AscExeScsiQueue()
9089 scsiq->q1.extra_bytes = 0; in AscExeScsiQueue()
9096 if ((asc_dvc->init_sdtr & scsiq->q1.target_id) != 0) { in AscExeScsiQueue()
9097 asc_dvc->sdtr_done &= ~scsiq->q1.target_id; in AscExeScsiQueue()
9107 scsiq->q1.cntl |= (QC_MSG_OUT | QC_URGENT); in AscExeScsiQueue()
9115 if ((scsiq->q1.cntl & QC_SG_HEAD) != 0) { in AscExeScsiQueue()
9127 scsiq->q1.data_addr = in AscExeScsiQueue()
9129 scsiq->q1.data_cnt = in AscExeScsiQueue()
9131 scsiq->q1.cntl &= ~(QC_SG_HEAD | QC_SG_SWAP_QUEUE); in AscExeScsiQueue()
9137 if ((asc_dvc->pci_fix_asyn_xfer & scsiq->q1.target_id) && in AscExeScsiQueue()
9138 !(asc_dvc->pci_fix_asyn_xfer_always & scsiq->q1.target_id)) { in AscExeScsiQueue()
9139 if (scsiq->q1.cntl & QC_SG_HEAD) { in AscExeScsiQueue()
9147 data_cnt = le32_to_cpu(scsiq->q1.data_cnt); in AscExeScsiQueue()
9176 if ((scsiq->q1.cntl & QC_SG_HEAD) != 0) { in AscExeScsiQueue()
9200 scsiq->q1.extra_bytes = in AscExeScsiQueue()
9232 || ((scsiq->q1.cntl & QC_URGENT) != 0)) { in AscExeScsiQueue()
9246 le32_to_cpu(scsiq->q1.data_addr) + in AscExeScsiQueue()
9247 le32_to_cpu(scsiq->q1.data_cnt); in AscExeScsiQueue()
9257 le32_to_cpu(scsiq->q1. in AscExeScsiQueue()
9265 scsiq->q1.data_cnt = in AscExeScsiQueue()
9268 scsiq->q1.extra_bytes = in AscExeScsiQueue()
9277 ((scsiq->q1.cntl & QC_URGENT) != 0)) { in AscExeScsiQueue()