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. */
383 UFSHCD_MILI_AMP = 2,
419 MASK_EE_URGENT_BKOPS = BIT(2),
453 REF_CLK_FREQ_38_4_MHZ = 2,
455 REF_CLK_FREQ_INVAL = -1,
496 /* UFS device power modes */
499 UFS_SLEEP_PWR_MODE = 2,
507 * struct utp_cmd_rsp - Response UPIU structure
508 * @residual_transfer_count: Residual transfer count DW-3
509 * @reserved: Reserved double words DW-4 to DW-7
510 * @sense_data_len: Sense data length DW-8 U16
511 * @sense_data: Sense data field DW-8 to DW-12
521 * struct utp_upiu_rsp - general upiu response structure
522 * @header: UPIU header structure DW-0 to DW-2
523 * @sr: fields structure for scsi command DW-3 to DW-12
524 * @qr: fields structure for query request DW-3 to DW-7
535 * VCCQ & VCCQ2 current requirement when UFS device is in sleep state
555 /* UFS device descriptor wPeriodicRTCUpdate bit9 defines RTC time baseline */
567 /* Maximum number of general LU supported by the UFS device */
570 /*UFS device Product Name */
574 /* Stores the depth of queue in UFS device */
577 /* UFS WB related flags */
588 /* UFS EXT_IID Enable */
591 /* UFS RTC */
598 * This enum is used in string mapping in include/trace/events/ufs.h.
608 * used in include/trace/events/ufs.h for UFS command trace.