scsiqp           2144 drivers/scsi/advansys.c #define ASC_DBG_PRT_ASC_SCSI_Q(lvl, scsiqp)
scsiqp           2145 drivers/scsi/advansys.c #define ASC_DBG_PRT_ADV_SCSI_REQ_Q(lvl, scsiqp)
scsiqp           2147 drivers/scsi/advansys.c #define ADV_DBG_PRT_ADV_SCSI_REQ_Q(lvl, scsiqp)
scsiqp           2175 drivers/scsi/advansys.c #define ASC_DBG_PRT_ASC_SCSI_Q(lvl, scsiqp) \
scsiqp           2178 drivers/scsi/advansys.c             asc_prt_asc_scsi_q(scsiqp); \
scsiqp           2189 drivers/scsi/advansys.c #define ASC_DBG_PRT_ADV_SCSI_REQ_Q(lvl, scsiqp) \
scsiqp           2192 drivers/scsi/advansys.c             asc_prt_adv_scsi_req_q(scsiqp); \
scsiqp           5945 drivers/scsi/advansys.c static void adv_isr_callback(ADV_DVC_VAR *adv_dvc_varp, ADV_SCSI_REQ_Q *scsiqp)
scsiqp           5955 drivers/scsi/advansys.c 		adv_dvc_varp, scsiqp);
scsiqp           5956 drivers/scsi/advansys.c 	ASC_DBG_PRT_ADV_SCSI_REQ_Q(2, scsiqp);
scsiqp           5963 drivers/scsi/advansys.c 	scp = scsi_host_find_tag(boardp->shost, scsiqp->srb_tag);
scsiqp           5989 drivers/scsi/advansys.c 	sense_addr = le32_to_cpu(scsiqp->sense_addr);
scsiqp           5996 drivers/scsi/advansys.c 	switch (scsiqp->done_status) {
scsiqp           6007 drivers/scsi/advansys.c 		resid_cnt = le32_to_cpu(scsiqp->data_cnt);
scsiqp           6018 drivers/scsi/advansys.c 		switch (scsiqp->host_status) {
scsiqp           6020 drivers/scsi/advansys.c 			if (scsiqp->scsi_status == SAM_STAT_CHECK_CONDITION) {
scsiqp           6037 drivers/scsi/advansys.c 				    STATUS_BYTE(scsiqp->scsi_status);
scsiqp           6039 drivers/scsi/advansys.c 				scp->result = STATUS_BYTE(scsiqp->scsi_status);
scsiqp           6045 drivers/scsi/advansys.c 			ASC_DBG(1, "host_status 0x%x\n", scsiqp->host_status);
scsiqp           6054 drivers/scsi/advansys.c 		    HOST_BYTE(DID_ABORT) | STATUS_BYTE(scsiqp->scsi_status);
scsiqp           6058 drivers/scsi/advansys.c 		ASC_DBG(1, "done_status 0x%x\n", scsiqp->done_status);
scsiqp           6060 drivers/scsi/advansys.c 		    HOST_BYTE(DID_ERROR) | STATUS_BYTE(scsiqp->scsi_status);
scsiqp           6070 drivers/scsi/advansys.c 	    scsiqp->done_status == QD_NO_ERROR &&
scsiqp           6071 drivers/scsi/advansys.c 	    scsiqp->host_status == QHSTA_NO_ERROR) {
scsiqp           7627 drivers/scsi/advansys.c 	       ADV_SCSI_REQ_Q *scsiqp, struct scsi_cmnd *scp, int use_sg)
scsiqp           7684 drivers/scsi/advansys.c 			scsiqp->sg_list_ptr = sg_block;
scsiqp           7685 drivers/scsi/advansys.c 			scsiqp->sg_real_addr = cpu_to_le32(sgblk_paddr);
scsiqp           7737 drivers/scsi/advansys.c 	ADV_SCSI_REQ_Q *scsiqp;
scsiqp           7755 drivers/scsi/advansys.c 	scsiqp = &reqp->scsi_req_q;
scsiqp           7760 drivers/scsi/advansys.c 	scsiqp->cntl = scsiqp->scsi_cntl = scsiqp->done_status = 0;
scsiqp           7765 drivers/scsi/advansys.c 	scsiqp->srb_tag = srb_tag;
scsiqp           7778 drivers/scsi/advansys.c 	scsiqp->cdb_len = scp->cmd_len;
scsiqp           7780 drivers/scsi/advansys.c 	memcpy(scsiqp->cdb, scp->cmnd, scp->cmd_len < 12 ? scp->cmd_len : 12);
scsiqp           7785 drivers/scsi/advansys.c 		memcpy(scsiqp->cdb16, &scp->cmnd[12], cdb16_len);
scsiqp           7788 drivers/scsi/advansys.c 	scsiqp->target_id = scp->device->id;
scsiqp           7789 drivers/scsi/advansys.c 	scsiqp->target_lun = scp->device->lun;
scsiqp           7798 drivers/scsi/advansys.c 	scsiqp->sense_addr = cpu_to_le32(sense_addr);
scsiqp           7799 drivers/scsi/advansys.c 	scsiqp->sense_len = SCSI_SENSE_BUFFERSIZE;
scsiqp           7811 drivers/scsi/advansys.c 		scsiqp->data_cnt = 0;
scsiqp           7813 drivers/scsi/advansys.c 		scsiqp->data_addr = 0;
scsiqp           7814 drivers/scsi/advansys.c 		scsiqp->sg_list_ptr = NULL;
scsiqp           7815 drivers/scsi/advansys.c 		scsiqp->sg_real_addr = 0;
scsiqp           7829 drivers/scsi/advansys.c 		scsiqp->data_cnt = cpu_to_le32(scsi_bufflen(scp));
scsiqp           7831 drivers/scsi/advansys.c 		ret = adv_get_sglist(boardp, reqp, scsiqp, scp, use_sg);
scsiqp           7846 drivers/scsi/advansys.c 	ASC_DBG_PRT_ADV_SCSI_REQ_Q(2, scsiqp);