Lines Matching refs:pthru

1343  * @frame_type		: type of frame- io or pthru frame
1368 * 2 SGEs for 32-bit SGLs for pthru frame
1416 struct megasas_pthru_frame *pthru;
1420 pthru = (struct megasas_pthru_frame *)cmd->frame;
1436 pthru->cmd = (is_logical) ? MFI_CMD_LD_SCSI_IO : MFI_CMD_PD_SCSI_IO;
1437 pthru->cmd_status = 0x0;
1438 pthru->scsi_status = 0x0;
1439 pthru->target_id = device_id;
1440 pthru->lun = scp->device->lun;
1441 pthru->cdb_len = scp->cmd_len;
1442 pthru->timeout = 0;
1443 pthru->pad_0 = 0;
1444 pthru->flags = cpu_to_le16(flags);
1445 pthru->data_xfer_len = cpu_to_le32(scsi_bufflen(scp));
1447 memcpy(pthru->cdb, scp->cmnd, scp->cmd_len);
1451 * pthru timeout to the os layer timeout value.
1455 pthru->timeout = cpu_to_le16(0xFFFF);
1457 pthru->timeout = cpu_to_le16(scsi_cmd_to_rq(scp)->timeout / HZ);
1464 pthru->flags |= cpu_to_le16(MFI_FRAME_SGL64);
1465 pthru->sge_count = megasas_make_sgl_skinny(instance, scp,
1466 &pthru->sgl);
1468 pthru->flags |= cpu_to_le16(MFI_FRAME_SGL64);
1469 pthru->sge_count = megasas_make_sgl64(instance, scp,
1470 &pthru->sgl);
1472 pthru->sge_count = megasas_make_sgl32(instance, scp,
1473 &pthru->sgl);
1475 if (pthru->sge_count > instance->max_num_sge) {
1477 pthru->sge_count);
1484 pthru->sense_len = SCSI_SENSE_BUFFERSIZE;
1485 pthru->sense_buf_phys_addr_hi =
1487 pthru->sense_buf_phys_addr_lo =
1494 cmd->frame_count = megasas_get_frame_count(instance, pthru->sge_count,
1680 struct megasas_pthru_frame *pthru;
1707 pthru = (struct megasas_pthru_frame *) cmd->frame;
1708 mfi_sgl = &pthru->sgl;
1709 sgcount = pthru->sge_count;
1712 instance->host->host_no, cmd->frame_count, pthru->cmd, pthru->target_id,
1713 pthru->lun, pthru->cdb_len, le32_to_cpu(pthru->data_xfer_len),
1714 le32_to_cpu(pthru->sense_buf_phys_addr_lo), sgcount);