Lines Matching refs:q1
1342 ASC_SCSIQ_1 q1; member
6728 asc_scsi_q.q1.target_id = ASC_TID_TO_TARGET_ID(scp->target); in asc_build_req()
6729 asc_scsi_q.q1.target_lun = scp->lun; in asc_build_req()
6731 asc_scsi_q.q1.sense_addr = cpu_to_le32(virt_to_bus(&scp->sense_buffer[0])); in asc_build_req()
6732 asc_scsi_q.q1.sense_len = sizeof(scp->sense_buffer); in asc_build_req()
6761 asc_scsi_q.q1.data_addr = in asc_build_req()
6763 asc_scsi_q.q1.data_cnt = cpu_to_le32(scp->request_bufflen); in asc_build_req()
6766 asc_scsi_q.q1.sg_queue_cnt = 0; in asc_build_req()
6792 asc_scsi_q.q1.cntl |= QC_SG_HEAD; in asc_build_req()
6794 asc_scsi_q.q1.data_cnt = 0; in asc_build_req()
6795 asc_scsi_q.q1.data_addr = 0; in asc_build_req()
6797 asc_sg_head.entry_cnt = asc_scsi_q.q1.sg_queue_cnt = scp->use_sg; in asc_build_req()
9638 q->q2.target_ix, q->q1.target_lun, in asc_prt_asc_scsi_q()
9643 (ulong) le32_to_cpu(q->q1.data_addr), in asc_prt_asc_scsi_q()
9644 (ulong) le32_to_cpu(q->q1.data_cnt), in asc_prt_asc_scsi_q()
9645 (ulong) le32_to_cpu(q->q1.sense_addr), q->q1.sense_len); in asc_prt_asc_scsi_q()
9650 (ulong) q->sg_head, q->q1.sg_queue_cnt); in asc_prt_asc_scsi_q()
11168 scsiq->q1.q_no = 0; in AscExeScsiQueue()
11170 scsiq->q1.extra_bytes = 0; in AscExeScsiQueue()
11177 if ((asc_dvc->init_sdtr & scsiq->q1.target_id) != 0) { in AscExeScsiQueue()
11178 asc_dvc->sdtr_done &= ~scsiq->q1.target_id; in AscExeScsiQueue()
11184 scsiq->q1.cntl |= (QC_MSG_OUT | QC_URGENT); in AscExeScsiQueue()
11194 if ((scsiq->q1.cntl & QC_SG_HEAD) != 0) { in AscExeScsiQueue()
11209 scsiq->q1.data_addr = (ADV_PADDR) sg_head->sg_list[0].addr; in AscExeScsiQueue()
11210 scsiq->q1.data_cnt = (ADV_DCNT) sg_head->sg_list[0].bytes; in AscExeScsiQueue()
11211 scsiq->q1.cntl &= ~(QC_SG_HEAD | QC_SG_SWAP_QUEUE); in AscExeScsiQueue()
11217 if ((asc_dvc->pci_fix_asyn_xfer & scsiq->q1.target_id) && in AscExeScsiQueue()
11218 !(asc_dvc->pci_fix_asyn_xfer_always & scsiq->q1.target_id)) { in AscExeScsiQueue()
11219 if (scsiq->q1.cntl & QC_SG_HEAD) { in AscExeScsiQueue()
11225 data_cnt = le32_to_cpu(scsiq->q1.data_cnt); in AscExeScsiQueue()
11251 if ((scsiq->q1.cntl & QC_SG_HEAD) != 0) { in AscExeScsiQueue()
11266 scsiq->q1.extra_bytes = extra_bytes; in AscExeScsiQueue()
11290 (uint) n_q_required) || ((scsiq->q1.cntl & QC_URGENT) != 0)) { in AscExeScsiQueue()
11306 addr = le32_to_cpu(scsiq->q1.data_addr) + in AscExeScsiQueue()
11307 le32_to_cpu(scsiq->q1.data_cnt); in AscExeScsiQueue()
11312 data_cnt = le32_to_cpu(scsiq->q1.data_cnt); in AscExeScsiQueue()
11316 scsiq->q1.data_cnt = cpu_to_le32(data_cnt); in AscExeScsiQueue()
11317 scsiq->q1.extra_bytes = extra_bytes; in AscExeScsiQueue()
11325 ((scsiq->q1.cntl & QC_URGENT) != 0)) { in AscExeScsiQueue()
11367 scsiq->q1.q_no = free_q_head; in AscSendScsiQueue()
11379 scsiq->q1.q_no = free_q_head; in AscSendScsiQueue()
11463 if (((asc_dvc->init_sdtr & scsiq->q1.target_id) != 0) && in AscPutReadyQueue()
11464 ((asc_dvc->sdtr_done & scsiq->q1.target_id) == 0)) { in AscPutReadyQueue()
11472 scsiq->q1.cntl |= QC_MSG_OUT; in AscPutReadyQueue()
11475 if ((scsiq->q1.target_id & asc_dvc->use_tagged_qng) == 0) { in AscPutReadyQueue()
11478 scsiq->q1.status = QS_FREE; in AscPutReadyQueue()
11486 (uchar *) &scsiq->q1.cntl, in AscPutReadyQueue()
11490 (ushort) (((ushort) scsiq->q1.q_no << 8) | (ushort) QS_READY)); in AscPutReadyQueue()
11516 saved_data_addr = scsiq->q1.data_addr; in AscPutReadySgListQueue()
11517 saved_data_cnt = scsiq->q1.data_cnt; in AscPutReadySgListQueue()
11518 scsiq->q1.data_addr = (ASC_PADDR) sg_head->sg_list[0].addr; in AscPutReadySgListQueue()
11519 scsiq->q1.data_cnt = (ASC_DCNT) sg_head->sg_list[0].bytes; in AscPutReadySgListQueue()
11556 scsiq->q1.cntl |= QC_SG_HEAD; in AscPutReadySgListQueue()
11559 scsiq->q1.sg_queue_cnt = sg_head->queue_cnt; in AscPutReadySgListQueue()
11618 scsiq->q1.cntl &= ~QC_SG_HEAD; in AscPutReadySgListQueue()
11621 scsiq->q1.data_addr = saved_data_addr; in AscPutReadySgListQueue()
11622 scsiq->q1.data_cnt = saved_data_cnt; in AscPutReadySgListQueue()