ufs_device.cc (12087:0e082672ac6b) ufs_device.cc (13025:0b8a9dea2b25)
1/*
2 * Copyright (c) 2013-2015 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 147 unchanged lines hidden (view full) ---

156 * http://www.jedec.org/standards-documents/results/jesd220
157 * (a JEDEC acount may be required {free of charge})
158 */
159
160struct UFSHostDevice::SCSIReply
161UFSHostDevice::UFSSCSIDevice::SCSICMDHandle(uint32_t* SCSI_msg)
162{
163 struct SCSIReply scsi_out;
1/*
2 * Copyright (c) 2013-2015 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 147 unchanged lines hidden (view full) ---

156 * http://www.jedec.org/standards-documents/results/jesd220
157 * (a JEDEC acount may be required {free of charge})
158 */
159
160struct UFSHostDevice::SCSIReply
161UFSHostDevice::UFSSCSIDevice::SCSICMDHandle(uint32_t* SCSI_msg)
162{
163 struct SCSIReply scsi_out;
164 memset(&scsi_out, 0, sizeof(struct SCSIReply));
164 scsi_out.reset();
165
166 /**
167 * Create the standard SCSI reponse information
168 * These values might changes over the course of a transfer
169 */
170 scsi_out.message.header.dWord0 = UPIUHeaderDataIndWord0 |
171 lunID << 16;
172 scsi_out.message.header.dWord1 = UPIUHeaderDataIndWord1;

--- 2188 unchanged lines hidden ---
165
166 /**
167 * Create the standard SCSI reponse information
168 * These values might changes over the course of a transfer
169 */
170 scsi_out.message.header.dWord0 = UPIUHeaderDataIndWord0 |
171 lunID << 16;
172 scsi_out.message.header.dWord1 = UPIUHeaderDataIndWord1;

--- 2188 unchanged lines hidden ---