template <>
class WireSyncClientImpl
Defined at line 2427 of file fidling/gen/sdk/fidl/fuchsia.hardware.ufs/fuchsia.hardware.ufs/cpp/fidl/fuchsia.hardware.ufs/cpp/wire_messaging.h
Methods to make a sync FIDL call directly on an unowned handle or a
const reference to a |::fidl::ClientEnd
<
::fuchsia_hardware_ufs::Ufs>|,
avoiding setting up a client.
Public Methods
::fidl::WireResult< ::fuchsia_hardware_ufs::Ufs::ReadBuffer> ReadBuffer (uint16_t lun, ::fuchsia_hardware_scsi::wire::ReadBufferMode mode, uint8_t buffer_id, uint32_t buffer_offset, uint32_t length, ::zx::vmo && data)
The VMO used in the method is not owned by the protocol implementation.
In the case of ReadBuffer, the client provides an empty VMO for the server to fill,
while in the case of WriteBuffer, the client must fill the VMO with data before making
the request.
Allocates 64 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::WireResult< ::fuchsia_hardware_ufs::Ufs::WriteBuffer> WriteBuffer (uint16_t lun, ::fuchsia_hardware_scsi::wire::WriteBufferMode mode, uint8_t buffer_id, uint32_t buffer_offset, uint32_t length, ::zx::vmo && data)
Allocates 64 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::WireResult< ::fuchsia_hardware_ufs::Ufs::ReadDescriptor> ReadDescriptor (::fuchsia_hardware_ufs::wire::Descriptor descriptor)
Retrieves and returns the UFS Descriptor.
Allocates 392 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::WireResult< ::fuchsia_hardware_ufs::Ufs::WriteDescriptor> WriteDescriptor (::fuchsia_hardware_ufs::wire::Descriptor descriptor, ::fidl::VectorView<uint8_t> data)
Writes a UFS Descriptor.
Allocates 392 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::WireResult< ::fuchsia_hardware_ufs::Ufs::ReadFlag> ReadFlag (::fuchsia_hardware_ufs::wire::Flag flag)
Reads a flag. A flag is a fixed size single byte value that represents a Boolean value.
Allocates 112 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::WireResult< ::fuchsia_hardware_ufs::Ufs::SetFlag> SetFlag (::fuchsia_hardware_ufs::wire::Flag flag)
Sets a flag.
Allocates 112 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::WireResult< ::fuchsia_hardware_ufs::Ufs::ClearFlag> ClearFlag (::fuchsia_hardware_ufs::wire::Flag flag)
Clears a flag.
Allocates 112 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::WireResult< ::fuchsia_hardware_ufs::Ufs::ToggleFlag> ToggleFlag (::fuchsia_hardware_ufs::wire::Flag flag)
Toggles a flag.
Allocates 112 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::WireResult< ::fuchsia_hardware_ufs::Ufs::ReadAttribute> ReadAttribute (::fuchsia_hardware_ufs::wire::Attribute attr)
Reads an attribute.
Allocates 112 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::WireResult< ::fuchsia_hardware_ufs::Ufs::WriteAttribute> WriteAttribute (::fuchsia_hardware_ufs::wire::Attribute attr, uint32_t value)
Writes an attribute.
Allocates 120 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::WireResult< ::fuchsia_hardware_ufs::Ufs::SendUicCommand> SendUicCommand (::fuchsia_hardware_ufs::wire::UicCommandOpcode opcode, const ::fidl::Array<uint32_t, 3> & argument)
Sends a UIC command to the UFS device.
Allocates 64 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::WireResult< ::fuchsia_hardware_ufs::Ufs::Request> Request (::fidl::VectorView<uint8_t> request)
UFS transactions use UPIU packets with a fixed 12-byte header, transaction-specific fields,
possibly one or more extended header segments and zero or more data segments.
For direct construction and usage of UPIU packets, use this function.
The UPIU format is defined in UFS 3.1, section 10.6.
Request is heap-allocated. Response is heap-allocated.