ldio 1487 drivers/scsi/megaraid/megaraid_sas_base.c struct megasas_io_frame *ldio; ldio 1490 drivers/scsi/megaraid/megaraid_sas_base.c ldio = (struct megasas_io_frame *)cmd->frame; ldio 1504 drivers/scsi/megaraid/megaraid_sas_base.c ldio->cmd = (sc & 0x02) ? MFI_CMD_LD_WRITE : MFI_CMD_LD_READ; ldio 1505 drivers/scsi/megaraid/megaraid_sas_base.c ldio->cmd_status = 0x0; ldio 1506 drivers/scsi/megaraid/megaraid_sas_base.c ldio->scsi_status = 0x0; ldio 1507 drivers/scsi/megaraid/megaraid_sas_base.c ldio->target_id = device_id; ldio 1508 drivers/scsi/megaraid/megaraid_sas_base.c ldio->timeout = 0; ldio 1509 drivers/scsi/megaraid/megaraid_sas_base.c ldio->reserved_0 = 0; ldio 1510 drivers/scsi/megaraid/megaraid_sas_base.c ldio->pad_0 = 0; ldio 1511 drivers/scsi/megaraid/megaraid_sas_base.c ldio->flags = cpu_to_le16(flags); ldio 1512 drivers/scsi/megaraid/megaraid_sas_base.c ldio->start_lba_hi = 0; ldio 1513 drivers/scsi/megaraid/megaraid_sas_base.c ldio->access_byte = (scp->cmd_len != 6) ? scp->cmnd[1] : 0; ldio 1519 drivers/scsi/megaraid/megaraid_sas_base.c ldio->lba_count = cpu_to_le32((u32) scp->cmnd[4]); ldio 1520 drivers/scsi/megaraid/megaraid_sas_base.c ldio->start_lba_lo = cpu_to_le32(((u32) scp->cmnd[1] << 16) | ldio 1524 drivers/scsi/megaraid/megaraid_sas_base.c ldio->start_lba_lo &= cpu_to_le32(0x1FFFFF); ldio 1531 drivers/scsi/megaraid/megaraid_sas_base.c ldio->lba_count = cpu_to_le32((u32) scp->cmnd[8] | ldio 1533 drivers/scsi/megaraid/megaraid_sas_base.c ldio->start_lba_lo = cpu_to_le32(((u32) scp->cmnd[2] << 24) | ldio 1543 drivers/scsi/megaraid/megaraid_sas_base.c ldio->lba_count = cpu_to_le32(((u32) scp->cmnd[6] << 24) | ldio 1548 drivers/scsi/megaraid/megaraid_sas_base.c ldio->start_lba_lo = cpu_to_le32(((u32) scp->cmnd[2] << 24) | ldio 1558 drivers/scsi/megaraid/megaraid_sas_base.c ldio->lba_count = cpu_to_le32(((u32) scp->cmnd[10] << 24) | ldio 1563 drivers/scsi/megaraid/megaraid_sas_base.c ldio->start_lba_lo = cpu_to_le32(((u32) scp->cmnd[6] << 24) | ldio 1568 drivers/scsi/megaraid/megaraid_sas_base.c ldio->start_lba_hi = cpu_to_le32(((u32) scp->cmnd[2] << 24) | ldio 1579 drivers/scsi/megaraid/megaraid_sas_base.c ldio->flags |= cpu_to_le16(MFI_FRAME_SGL64); ldio 1580 drivers/scsi/megaraid/megaraid_sas_base.c ldio->sge_count = megasas_make_sgl_skinny(instance, scp, ldio 1581 drivers/scsi/megaraid/megaraid_sas_base.c &ldio->sgl); ldio 1583 drivers/scsi/megaraid/megaraid_sas_base.c ldio->flags |= cpu_to_le16(MFI_FRAME_SGL64); ldio 1584 drivers/scsi/megaraid/megaraid_sas_base.c ldio->sge_count = megasas_make_sgl64(instance, scp, &ldio->sgl); ldio 1586 drivers/scsi/megaraid/megaraid_sas_base.c ldio->sge_count = megasas_make_sgl32(instance, scp, &ldio->sgl); ldio 1588 drivers/scsi/megaraid/megaraid_sas_base.c if (ldio->sge_count > instance->max_num_sge) { ldio 1590 drivers/scsi/megaraid/megaraid_sas_base.c ldio->sge_count); ldio 1597 drivers/scsi/megaraid/megaraid_sas_base.c ldio->sense_len = SCSI_SENSE_BUFFERSIZE; ldio 1598 drivers/scsi/megaraid/megaraid_sas_base.c ldio->sense_buf_phys_addr_hi = 0; ldio 1599 drivers/scsi/megaraid/megaraid_sas_base.c ldio->sense_buf_phys_addr_lo = cpu_to_le32(cmd->sense_phys_addr); ldio 1606 drivers/scsi/megaraid/megaraid_sas_base.c ldio->sge_count, IO_FRAME); ldio 1651 drivers/scsi/megaraid/megaraid_sas_base.c struct megasas_io_frame *ldio; ldio 1670 drivers/scsi/megaraid/megaraid_sas_base.c ldio = (struct megasas_io_frame *)cmd->frame; ldio 1671 drivers/scsi/megaraid/megaraid_sas_base.c mfi_sgl = &ldio->sgl; ldio 1672 drivers/scsi/megaraid/megaraid_sas_base.c sgcount = ldio->sge_count; ldio 1675 drivers/scsi/megaraid/megaraid_sas_base.c instance->host->host_no, cmd->frame_count, ldio->cmd, ldio->target_id, ldio 1676 drivers/scsi/megaraid/megaraid_sas_base.c le32_to_cpu(ldio->start_lba_lo), le32_to_cpu(ldio->start_lba_hi), ldio 1677 drivers/scsi/megaraid/megaraid_sas_base.c le32_to_cpu(ldio->sense_buf_phys_addr_lo), sgcount);