class UicCommand
Defined at line 79 of file ../../src/devices/block/drivers/ufs/uic/uic_commands.h
UFS Specification Version 3.1, section 9.4 "UniPro/UFS Control Interface (Control Plane)".
Public Methods
zx::result<std::optional<uint32_t>> SendCommand ()
Among the UIC commands, the DME_GET and DME_PEER_GET commands return the value of the attribute
requested in the UICCMDARG3 register. The other commands do not return a value.
Defined at line 12 of file ../../src/devices/block/drivers/ufs/uic/uic_commands.cc
void ~UicCommand ()
Defined at line 81 of file ../../src/devices/block/drivers/ufs/uic/uic_commands.h
void UicCommand ()
Defined at line 82 of file ../../src/devices/block/drivers/ufs/uic/uic_commands.h
void UicCommand (const UicCommand & )
Defined at line 83 of file ../../src/devices/block/drivers/ufs/uic/uic_commands.h
UicCommand & operator= (const UicCommand & )
Defined at line 84 of file ../../src/devices/block/drivers/ufs/uic/uic_commands.h
void UicCommand (UicCommand && )
Defined at line 85 of file ../../src/devices/block/drivers/ufs/uic/uic_commands.h
UicCommand & operator= (UicCommand && )
Defined at line 86 of file ../../src/devices/block/drivers/ufs/uic/uic_commands.h
UicCommandOpcode GetOpcode ()
Defined at line 91 of file ../../src/devices/block/drivers/ufs/uic/uic_commands.h
void SetTimeoutUsec (uint32_t time)
For testing
Defined at line 94 of file ../../src/devices/block/drivers/ufs/uic/uic_commands.h
Protected Methods
zx::result<> SendUicCommand ()
Defined at line 28 of file ../../src/devices/block/drivers/ufs/uic/uic_commands.cc
zx::result<> UicPostProcess ()
Among the UIC commands, the DME_RESET command does nothing on |UicPostProcess()|.
Defined at line 76 of file ../../src/devices/block/drivers/ufs/uic/uic_commands.cc
void UicCommand (Ufs & ufs, UicCommandOpcode opcode, uint16_t mib_attribute, uint16_t gen_selector_index)
Defined at line 97 of file ../../src/devices/block/drivers/ufs/uic/uic_commands.h
Ufs & GetController ()
Defined at line 106 of file ../../src/devices/block/drivers/ufs/uic/uic_commands.h
uint16_t GetMibAttribute ()
Defined at line 107 of file ../../src/devices/block/drivers/ufs/uic/uic_commands.h
uint16_t GetGenSelectorIndex ()
Defined at line 108 of file ../../src/devices/block/drivers/ufs/uic/uic_commands.h
uint32_t GetTimeoutUsec ()
Defined at line 109 of file ../../src/devices/block/drivers/ufs/uic/uic_commands.h
zx::result<> UicPreProcess ()
Defined at line 111 of file ../../src/devices/block/drivers/ufs/uic/uic_commands.h
std::tuple<uint32_t, uint32_t, uint32_t> Arguments ()
Defined at line 112 of file ../../src/devices/block/drivers/ufs/uic/uic_commands.h
std::optional<uint32_t> ReturnValue ()
Defined at line 117 of file ../../src/devices/block/drivers/ufs/uic/uic_commands.h