Lines Matching +full:ufs +full:- +full:2
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
4 * Copyright (C) 2011-2013 Samsung India Software Operations
27 #define QUERY_DESC_MIN_SIZE 2
28 #define QUERY_DESC_HDR_SIZE 2
29 #define QUERY_OSF_SIZE (GENERAL_UPIU_REQUEST_SIZE - \
34 * UFS device may have standard LUs and LUN id could be from 0x00 to
36 * UFS device may also have the Well Known LUs (also referred as W-LU)
37 * which again could be from 0x00 to 0x7F. For W-LUs, device only use
38 * the "Extended Addressing Format" which means the W-LUNs would be
40 * This means max. LUN number reported from UFS device could be 0xC17F.
56 * In UFS Spec, the Extra Header Segment (EHS) starts from byte 32 in UPIU request/response packet
69 * UFS Protocol Information Unit related definitions
102 /* UPIU Read/Write flags. See also table "UPIU Flags" in the UFS standard. */
382 UFSHCD_MILI_AMP = 2,
417 MASK_EE_URGENT_BKOPS = BIT(2),
451 REF_CLK_FREQ_38_4_MHZ = 2,
453 REF_CLK_FREQ_INVAL = -1,
494 /* UFS device power modes */
497 UFS_SLEEP_PWR_MODE = 2,
505 * struct utp_cmd_rsp - Response UPIU structure
506 * @residual_transfer_count: Residual transfer count DW-3
507 * @reserved: Reserved double words DW-4 to DW-7
508 * @sense_data_len: Sense data length DW-8 U16
509 * @sense_data: Sense data field DW-8 to DW-12
519 * struct utp_upiu_rsp - general upiu response structure
520 * @header: UPIU header structure DW-0 to DW-2
521 * @sr: fields structure for scsi command DW-3 to DW-12
522 * @qr: fields structure for query request DW-3 to DW-7
533 * VCCQ & VCCQ2 current requirement when UFS device is in sleep state
553 /* UFS device descriptor wPeriodicRTCUpdate bit9 defines RTC time baseline */
565 /* Maximum number of general LU supported by the UFS device */
568 /*UFS device Product Name */
572 /* Stores the depth of queue in UFS device */
575 /* UFS WB related flags */
586 /* UFS RTC */
605 * used in ufs_trace.h for UFS command trace.