Lines Matching +full:uapi +full:- +full:header
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
508 * ("include/uapi/scsi/scsi_bsg_ufs.h") and modified to fit the qemu style.
527 * struct UtpUpiuCmd - Command UPIU structure
528 * @data_transfer_len: Data Transfer Length DW-3
529 * @cdb: Command Descriptor Block CDB DW-4 to DW-7
537 * struct UtpUpiuReq - general upiu request structure
538 * @header:UPIU header structure DW-0 to DW-2
539 * @sc: fields structure for scsi command DW-3 to DW-7
540 * @qr: fields structure for query request DW-3 to DW-7
544 UtpUpiuHeader header; member
652 * struct UfshcdSgEntry - UFSHCI PRD Entry
653 * @addr: Physical address; DW-0 and DW-1.
654 * @reserved: Reserved for future use DW-2
655 * @size: size of physical segment DW-3
662 * followed by variant-specific fields if
668 * struct RequestDescHeader - Descriptor Header common to both UTRD and UTMRD
669 * @dword0: Descriptor Header DW0
670 * @dword1: Descriptor Header DW1
671 * @dword2: Descriptor Header DW2
672 * @dword3: Descriptor Header DW3
682 * struct UtpTransferReqDesc - UTP Transfer Request Descriptor (UTRD)
683 * @header: UTRD header DW-0 to DW-3
684 * @command_desc_base_addr_lo: UCD base address low DW-4
685 * @command_desc_base_addr_hi: UCD base address high DW-5
686 * @response_upiu_length: response UPIU length DW-6
687 * @response_upiu_offset: response UPIU offset DW-6
688 * @prd_table_length: Physical region descriptor length DW-7
689 * @prd_table_offset: Physical region descriptor offset DW-7
692 /* DW 0-3 */
693 RequestDescHeader header; member
695 /* DW 4-5*/
712 /* DW 0-3 */
713 RequestDescHeader header; member
715 /* DW 4-11 - Task request UPIU structure */
724 /* DW 12-19 - Task Management Response UPIU structure */
742 #define UFS_QUERY_OSF_SIZE (GENERAL_UPIU_REQUEST_SIZE - (sizeof(UtpUpiuHeader)))
748 * UFS device may also have the Well Known LUs (also referred as W-LU)
749 * which again could be from 0x00 to 0x7F. For W-LUs, device only use
750 * the "Extended Addressing Format" which means the W-LUNs would be
773 * In UFS Spec, the Extra Header Segment (EHS) starts from byte 32 in UPIU
1158 * struct UtpCmdRsp - Response UPIU structure
1159 * @residual_transfer_count: Residual transfer count DW-3
1160 * @reserved: Reserved double words DW-4 to DW-7
1161 * @sense_data_len: Sense data length DW-8 U16
1162 * @sense_data: Sense data field DW-8 to DW-12
1172 * struct UtpUpiuRsp - general upiu response structure
1173 * @header: UPIU header structure DW-0 to DW-2
1174 * @sr: fields structure for scsi command DW-3 to DW-12
1175 * @qr: fields structure for query request DW-3 to DW-7
1178 UtpUpiuHeader header; member