Lines Matching refs:pthru

1100 	struct megasas_pthru_frame *pthru;  in megasas_build_dcdb()  local
1104 pthru = (struct megasas_pthru_frame *)cmd->frame; in megasas_build_dcdb()
1120 pthru->cmd = (is_logical) ? MFI_CMD_LD_SCSI_IO : MFI_CMD_PD_SCSI_IO; in megasas_build_dcdb()
1121 pthru->cmd_status = 0x0; in megasas_build_dcdb()
1122 pthru->scsi_status = 0x0; in megasas_build_dcdb()
1123 pthru->target_id = device_id; in megasas_build_dcdb()
1124 pthru->lun = scp->device->lun; in megasas_build_dcdb()
1125 pthru->cdb_len = scp->cmd_len; in megasas_build_dcdb()
1126 pthru->timeout = 0; in megasas_build_dcdb()
1127 pthru->pad_0 = 0; in megasas_build_dcdb()
1128 pthru->flags = flags; in megasas_build_dcdb()
1129 pthru->data_xfer_len = scsi_bufflen(scp); in megasas_build_dcdb()
1131 memcpy(pthru->cdb, scp->cmnd, scp->cmd_len); in megasas_build_dcdb()
1139 pthru->timeout = 0xFFFF; in megasas_build_dcdb()
1141 pthru->timeout = scp->request->timeout / HZ; in megasas_build_dcdb()
1148 pthru->flags |= MFI_FRAME_SGL64; in megasas_build_dcdb()
1149 pthru->sge_count = megasas_make_sgl_skinny(instance, scp, in megasas_build_dcdb()
1150 &pthru->sgl); in megasas_build_dcdb()
1152 pthru->flags |= MFI_FRAME_SGL64; in megasas_build_dcdb()
1153 pthru->sge_count = megasas_make_sgl64(instance, scp, in megasas_build_dcdb()
1154 &pthru->sgl); in megasas_build_dcdb()
1156 pthru->sge_count = megasas_make_sgl32(instance, scp, in megasas_build_dcdb()
1157 &pthru->sgl); in megasas_build_dcdb()
1159 if (pthru->sge_count > instance->max_num_sge) { in megasas_build_dcdb()
1161 pthru->sge_count); in megasas_build_dcdb()
1168 pthru->sense_len = SCSI_SENSE_BUFFERSIZE; in megasas_build_dcdb()
1169 pthru->sense_buf_phys_addr_hi = 0; in megasas_build_dcdb()
1170 pthru->sense_buf_phys_addr_lo = cmd->sense_phys_addr; in megasas_build_dcdb()
1176 cmd->frame_count = megasas_get_frame_count(instance, pthru->sge_count, in megasas_build_dcdb()
1352 struct megasas_pthru_frame *pthru; in megasas_dump_pending_frames() local
1376 pthru = (struct megasas_pthru_frame *) cmd->frame; in megasas_dump_pending_frames()
1377 mfi_sgl = &pthru->sgl; in megasas_dump_pending_frames()
1378 sgcount = pthru->sge_count; in megasas_dump_pending_frames()
1379 …ce->host->host_no,cmd->frame_count,pthru->cmd,pthru->target_id,pthru->lun,pthru->cdb_len , pthru->… in megasas_dump_pending_frames()