TianoCore EDK2 master
|
Go to the source code of this file.
UfsPassThruDxe driver is used to produce EFI_EXT_SCSI_PASS_THRU protocol interface for upper layer application to execute UFS-supported SCSI cmds.
Copyright (c) 2014 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file UfsPassThruHci.h.
#define QUERY_FUNC_STD_READ_REQ 0x01 |
Definition at line 905 of file UfsPassThruHci.h.
#define QUERY_FUNC_STD_WRITE_REQ 0x81 |
Definition at line 906 of file UfsPassThruHci.h.
#define UFS_HC_AHIT_OFFSET 0x0018 |
Definition at line 20 of file UfsPassThruHci.h.
#define UFS_HC_CAP_64ADDR BIT24 |
Definition at line 67 of file UfsPassThruHci.h.
#define UFS_HC_CAP_NUTMRS (BIT16 | BIT17 | BIT18) |
Definition at line 68 of file UfsPassThruHci.h.
#define UFS_HC_CAP_NUTRS (BIT0 | BIT1 | BIT2 | BIT3 | BIT4) |
Definition at line 69 of file UfsPassThruHci.h.
#define UFS_HC_CAP_OFFSET 0x0000 |
Definition at line 16 of file UfsPassThruHci.h.
#define UFS_HC_DDID_OFFSET 0x0010 |
Definition at line 18 of file UfsPassThruHci.h.
#define UFS_HC_ENABLE_OFFSET 0x0034 |
Definition at line 27 of file UfsPassThruHci.h.
#define UFS_HC_HCE_EN BIT0 |
Definition at line 62 of file UfsPassThruHci.h.
#define UFS_HC_HCS_DP BIT0 |
Definition at line 63 of file UfsPassThruHci.h.
#define UFS_HC_HCS_UCRDY BIT3 |
Definition at line 64 of file UfsPassThruHci.h.
#define UFS_HC_IE_OFFSET 0x0024 |
Definition at line 25 of file UfsPassThruHci.h.
#define UFS_HC_IS_OFFSET 0x0020 |
Definition at line 24 of file UfsPassThruHci.h.
#define UFS_HC_IS_UCCS BIT10 |
Definition at line 66 of file UfsPassThruHci.h.
#define UFS_HC_IS_ULSS BIT8 |
Definition at line 65 of file UfsPassThruHci.h.
#define UFS_HC_MID UINT32 |
Definition at line 144 of file UfsPassThruHci.h.
#define UFS_HC_PID UINT32 |
Definition at line 139 of file UfsPassThruHci.h.
#define UFS_HC_PMID_OFFSET 0x0014 |
Definition at line 19 of file UfsPassThruHci.h.
#define UFS_HC_STATUS_OFFSET 0x0030 |
Definition at line 26 of file UfsPassThruHci.h.
#define UFS_HC_TRD_OCS_INIT_VALUE 0x0F |
Definition at line 77 of file UfsPassThruHci.h.
#define UFS_HC_UCMD_ARG1_OFFSET 0x0094 |
Definition at line 54 of file UfsPassThruHci.h.
#define UFS_HC_UCMD_ARG2_OFFSET 0x0098 |
Definition at line 55 of file UfsPassThruHci.h.
#define UFS_HC_UCMD_ARG3_OFFSET 0x009c |
Definition at line 56 of file UfsPassThruHci.h.
#define UFS_HC_UECDL_OFFSET 0x003c |
Definition at line 29 of file UfsPassThruHci.h.
#define UFS_HC_UECDME_OFFSET 0x0048 |
Definition at line 32 of file UfsPassThruHci.h.
#define UFS_HC_UECN_OFFSET 0x0040 |
Definition at line 30 of file UfsPassThruHci.h.
#define UFS_HC_UECPA_OFFSET 0x0038 |
Definition at line 28 of file UfsPassThruHci.h.
#define UFS_HC_UECT_OFFSET 0x0044 |
Definition at line 31 of file UfsPassThruHci.h.
#define UFS_HC_UIC_CMD_OFFSET 0x0090 |
Definition at line 53 of file UfsPassThruHci.h.
#define UFS_HC_UICCMD_ARG1 UINT32 |
Definition at line 382 of file UfsPassThruHci.h.
#define UFS_HC_UICCMD_ARG2 UINT32 |
Definition at line 387 of file UfsPassThruHci.h.
#define UFS_HC_UICCMD_ARG3 UINT32 |
Definition at line 392 of file UfsPassThruHci.h.
#define UFS_HC_UMA_OFFSET 0x00b0 |
Definition at line 60 of file UfsPassThruHci.h.
#define UFS_HC_UTMRLBA_OFFSET 0x0070 |
Definition at line 45 of file UfsPassThruHci.h.
#define UFS_HC_UTMRLBAU UINT32 |
Definition at line 343 of file UfsPassThruHci.h.
#define UFS_HC_UTMRLBAU_OFFSET 0x0074 |
Definition at line 46 of file UfsPassThruHci.h.
#define UFS_HC_UTMRLCLR_OFFSET 0x007c |
Definition at line 48 of file UfsPassThruHci.h.
#define UFS_HC_UTMRLDBR_OFFSET 0x0078 |
Definition at line 47 of file UfsPassThruHci.h.
#define UFS_HC_UTMRLRSR BIT0 |
Definition at line 70 of file UfsPassThruHci.h.
#define UFS_HC_UTMRLRSR_OFFSET 0x0080 |
Definition at line 49 of file UfsPassThruHci.h.
#define UFS_HC_UTRIACR_OFFSET 0x004c |
Definition at line 33 of file UfsPassThruHci.h.
#define UFS_HC_UTRLBA_OFFSET 0x0050 |
Definition at line 37 of file UfsPassThruHci.h.
#define UFS_HC_UTRLBAU UINT32 |
Definition at line 310 of file UfsPassThruHci.h.
#define UFS_HC_UTRLBAU_OFFSET 0x0054 |
Definition at line 38 of file UfsPassThruHci.h.
#define UFS_HC_UTRLCLR UINT32 |
Definition at line 320 of file UfsPassThruHci.h.
#define UFS_HC_UTRLCLR_OFFSET 0x005c |
Definition at line 40 of file UfsPassThruHci.h.
#define UFS_HC_UTRLDBR UINT32 |
Definition at line 315 of file UfsPassThruHci.h.
#define UFS_HC_UTRLDBR_OFFSET 0x0058 |
Definition at line 39 of file UfsPassThruHci.h.
#define UFS_HC_UTRLRSR BIT0 |
Definition at line 71 of file UfsPassThruHci.h.
#define UFS_HC_UTRLRSR_OFFSET 0x0060 |
Definition at line 41 of file UfsPassThruHci.h.
#define UFS_HC_VER_OFFSET 0x0008 |
Definition at line 17 of file UfsPassThruHci.h.
#define UFS_INTERRUPT_COMMAND 0x01 |
Definition at line 87 of file UfsPassThruHci.h.
#define UFS_LUN_0 0x00 |
Definition at line 89 of file UfsPassThruHci.h.
#define UFS_LUN_1 0x01 |
Definition at line 90 of file UfsPassThruHci.h.
#define UFS_LUN_2 0x02 |
Definition at line 91 of file UfsPassThruHci.h.
#define UFS_LUN_3 0x03 |
Definition at line 92 of file UfsPassThruHci.h.
#define UFS_LUN_4 0x04 |
Definition at line 93 of file UfsPassThruHci.h.
#define UFS_LUN_5 0x05 |
Definition at line 94 of file UfsPassThruHci.h.
#define UFS_LUN_6 0x06 |
Definition at line 95 of file UfsPassThruHci.h.
#define UFS_LUN_7 0x07 |
Definition at line 96 of file UfsPassThruHci.h.
#define UFS_MAX_DATA_LEN_PER_PRD 0x40000 |
Definition at line 82 of file UfsPassThruHci.h.
#define UFS_REGULAR_COMMAND 0x00 |
Definition at line 86 of file UfsPassThruHci.h.
#define UFS_STORAGE_COMMAND_TYPE 0x01 |
Definition at line 84 of file UfsPassThruHci.h.
#define UFS_WLUN_BOOT 0xB0 |
Definition at line 99 of file UfsPassThruHci.h.
#define UFS_WLUN_REPORT_LUNS 0x81 |
Definition at line 97 of file UfsPassThruHci.h.
#define UFS_WLUN_RPMB 0xC4 |
Definition at line 100 of file UfsPassThruHci.h.
#define UFS_WLUN_UFS_DEV 0xD0 |
Definition at line 98 of file UfsPassThruHci.h.
enum UFS_ATTR_IDN |
Definition at line 1307 of file UfsPassThruHci.h.
enum UFS_DATA_DIRECTION |
Definition at line 1327 of file UfsPassThruHci.h.
enum UFS_DESC_IDN |
Definition at line 1090 of file UfsPassThruHci.h.
enum UFS_FLAGS_IDN |
Definition at line 1293 of file UfsPassThruHci.h.
enum UFS_UIC_OPCODE |
Definition at line 397 of file UfsPassThruHci.h.
enum UTP_QUERY_FUNC_OPCODE |
Definition at line 908 of file UfsPassThruHci.h.
enum UTP_QUERY_RESP_CODE |
Definition at line 965 of file UfsPassThruHci.h.