Lines Matching +full:ufs +full:- +full:disable +full:- +full:mcq
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
4 * Copyright (C) 2011-2013 Samsung India Software Operations
15 #include <ufs/ufs.h>
131 /* UFS Version 08h */
138 * - 2.x and newer use the following scheme:
140 * - 1.x has been converted to match this in
149 * HCDDID - Host Controller Identification Descriptor
150 * - Device ID and Device Class 10h
156 * HCPMID - Host Controller Identification Descriptor
157 * - Product/Manufacturer ID 14h
162 /* AHIT - Auto-Hibernate Idle Timer */
169 * IS - Interrupt Status - 20h
206 /* HCS - Host Controller Status 30h */
228 /* HCE - Host Controller Enable 34h */
233 /* UECPA - Host UIC Error Code PHY Adapter Layer 38h */
239 /* UECDL - Host UIC Error Code Data Link Layer 3Ch */
250 /* UECN - Host UIC Error Code Network Layer 40h */
257 /* UECT - Host UIC Error Code Transport Layer 44h */
268 /* UECDME - Host UIC Error Code DME 48h */
272 /* UTRIACR - Interrupt Aggregation control register - 0x4Ch */
280 /* UTRLRSR - UTP Transfer Request Run-Stop Register 60h */
283 /* UTMRLRSR - UTP Task Management Request Run-Stop Register 80h */
286 /* REG_UFS_MEM_CFG - Global Config Registers 300h */
289 /* CQISy - CQ y Interrupt Status Register */
292 /* UICCMD - UIC Command */
303 /* GenSelectorIndex calculation macros for M-PHY attributes */
357 /* Interrupt disable masks */
359 /* Interrupt disable mask for UFSHCI v1.1 */
362 /* Interrupt disable mask for UFSHCI v2.1 */
366 /* CCAP - Crypto Capability 100h */
392 /* x-CRYPTOCAP - Crypto Capability X */
405 /* x-CRYPTOCFG - Crypto Configuration X */
465 /* The granularity of the data byte count field in the PRDT is 32-bit */
469 * struct ufshcd_sg_entry - UFSHCI PRD Entry
470 * @addr: Physical address; DW-0 and DW-1.
471 * @reserved: Reserved for future use DW-2
472 * @size: size of physical segment DW-3
479 * followed by variant-specific fields if
485 * struct utp_transfer_cmd_desc - UTP Command Descriptor (UCD)
489 * ufshcd_sg_entry's. Variant-specific fields may be present after each.
498 * struct request_desc_header - Descriptor Header common to both UTRD and UTMRD
533 * struct utp_transfer_req_desc - UTP Transfer Request Descriptor (UTRD)
534 * @header: UTRD header DW-0 to DW-3
535 * @command_desc_base_addr: UCD base address DW 4-5
536 * @response_upiu_length: response UPIU length DW-6
537 * @response_upiu_offset: response UPIU offset DW-6
538 * @prd_table_length: Physical region descriptor length DW-7
539 * @prd_table_offset: Physical region descriptor offset DW-7
543 /* DW 0-3 */
546 /* DW 4-5*/
558 /* MCQ Completion Queue Entry */
560 /* DW 0-1 */
574 /* DW 5-7 */
584 /* DW 0-3 */
587 /* DW 4-11 - Task request UPIU structure */
596 /* DW 12-19 - Task Management Response UPIU structure */