Searched refs:scsiqp (Results 1 - 1 of 1) sorted by relevance
/linux-4.4.14/drivers/scsi/ |
H A D | advansys.c | 2148 #define ASC_DBG_PRT_ASC_SCSI_Q(lvl, scsiqp) 2149 #define ASC_DBG_PRT_ADV_SCSI_REQ_Q(lvl, scsiqp) 2151 #define ADV_DBG_PRT_ADV_SCSI_REQ_Q(lvl, scsiqp) 2179 #define ASC_DBG_PRT_ASC_SCSI_Q(lvl, scsiqp) \ 2182 asc_prt_asc_scsi_q(scsiqp); \ 2193 #define ASC_DBG_PRT_ADV_SCSI_REQ_Q(lvl, scsiqp) \ 2196 asc_prt_adv_scsi_req_q(scsiqp); \ 5949 static void adv_isr_callback(ADV_DVC_VAR *adv_dvc_varp, ADV_SCSI_REQ_Q *scsiqp) adv_isr_callback() argument 5959 ASC_DBG(1, "adv_dvc_varp 0x%p, scsiqp 0x%p\n", adv_isr_callback() 5960 adv_dvc_varp, scsiqp); adv_isr_callback() 5961 ASC_DBG_PRT_ADV_SCSI_REQ_Q(2, scsiqp); adv_isr_callback() 5968 srb_tag = le32_to_cpu(scsiqp->srb_tag); adv_isr_callback() 5969 scp = scsi_host_find_tag(boardp->shost, scsiqp->srb_tag); adv_isr_callback() 5995 sense_addr = le32_to_cpu(scsiqp->sense_addr); adv_isr_callback() 6002 switch (scsiqp->done_status) { adv_isr_callback() 6013 resid_cnt = le32_to_cpu(scsiqp->data_cnt); adv_isr_callback() 6024 switch (scsiqp->host_status) { adv_isr_callback() 6026 if (scsiqp->scsi_status == SAM_STAT_CHECK_CONDITION) { adv_isr_callback() 6043 STATUS_BYTE(scsiqp->scsi_status); adv_isr_callback() 6045 scp->result = STATUS_BYTE(scsiqp->scsi_status); adv_isr_callback() 6051 ASC_DBG(1, "host_status 0x%x\n", scsiqp->host_status); adv_isr_callback() 6060 HOST_BYTE(DID_ABORT) | STATUS_BYTE(scsiqp->scsi_status); adv_isr_callback() 6064 ASC_DBG(1, "done_status 0x%x\n", scsiqp->done_status); adv_isr_callback() 6066 HOST_BYTE(DID_ERROR) | STATUS_BYTE(scsiqp->scsi_status); adv_isr_callback() 6076 scsiqp->done_status == QD_NO_ERROR && adv_isr_callback() 6077 scsiqp->host_status == QHSTA_NO_ERROR) { adv_isr_callback() 7634 ADV_SCSI_REQ_Q *scsiqp, struct scsi_cmnd *scp, int use_sg) adv_get_sglist() 7691 scsiqp->sg_list_ptr = sg_block; adv_get_sglist() 7692 scsiqp->sg_real_addr = cpu_to_le32(sgblk_paddr); adv_get_sglist() 7744 ADV_SCSI_REQ_Q *scsiqp; adv_build_req() local 7762 scsiqp = &reqp->scsi_req_q; adv_build_req() 7767 scsiqp->cntl = scsiqp->scsi_cntl = scsiqp->done_status = 0; adv_build_req() 7772 scsiqp->srb_tag = srb_tag; adv_build_req() 7785 scsiqp->cdb_len = scp->cmd_len; adv_build_req() 7787 memcpy(scsiqp->cdb, scp->cmnd, scp->cmd_len < 12 ? scp->cmd_len : 12); adv_build_req() 7792 memcpy(scsiqp->cdb16, &scp->cmnd[12], cdb16_len); adv_build_req() 7795 scsiqp->target_id = scp->device->id; adv_build_req() 7796 scsiqp->target_lun = scp->device->lun; adv_build_req() 7805 scsiqp->sense_addr = cpu_to_le32(sense_addr); adv_build_req() 7806 scsiqp->sense_len = SCSI_SENSE_BUFFERSIZE; adv_build_req() 7818 scsiqp->data_cnt = 0; adv_build_req() 7820 scsiqp->data_addr = 0; adv_build_req() 7821 scsiqp->sg_list_ptr = NULL; adv_build_req() 7822 scsiqp->sg_real_addr = 0; adv_build_req() 7836 scsiqp->data_cnt = cpu_to_le32(scsi_bufflen(scp)); adv_build_req() 7838 ret = adv_get_sglist(boardp, reqp, scsiqp, scp, use_sg); adv_build_req() 7853 ASC_DBG_PRT_ADV_SCSI_REQ_Q(2, scsiqp); adv_build_req() 7633 adv_get_sglist(struct asc_board *boardp, adv_req_t *reqp, ADV_SCSI_REQ_Q *scsiqp, struct scsi_cmnd *scp, int use_sg) adv_get_sglist() argument
|
Completed in 136 milliseconds