Lines Matching refs:asc_scsi_q
1341 typedef struct asc_scsi_q { struct
4197 STATIC ASC_SCSI_Q asc_scsi_q = { { 0 } }; variable
6567 switch (ret = AscExeScsiQueue(asc_dvc_varp, &asc_scsi_q)) { in asc_execute_scsi_cmnd()
6705 memset(&asc_scsi_q, 0, sizeof(ASC_SCSI_Q)); in asc_build_req()
6710 asc_scsi_q.q2.srb_ptr = ASC_VADDR_TO_U32(scp); in asc_build_req()
6726 asc_scsi_q.cdbptr = &scp->cmnd[0]; in asc_build_req()
6727 asc_scsi_q.q2.cdb_len = scp->cmd_len; in asc_build_req()
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()
6730 asc_scsi_q.q2.target_ix = ASC_TIDLUN_TO_IX(scp->target, 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()
6747 asc_scsi_q.q2.tag_code = M2_QTAG_MSG_ORDERED; in asc_build_req()
6749 asc_scsi_q.q2.tag_code = M2_QTAG_MSG_SIMPLE; 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()
6767 asc_scsi_q.sg_head = NULL; in asc_build_req()
6792 asc_scsi_q.q1.cntl |= QC_SG_HEAD; in asc_build_req()
6793 asc_scsi_q.sg_head = &asc_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()
6812 ASC_DBG_PRT_ASC_SCSI_Q(2, &asc_scsi_q); in asc_build_req()