template <>
class WireWeakAsyncClientImpl
Defined at line 3235 of file fidling/gen/sdk/fidl/fuchsia.hardware.ufs/fuchsia.hardware.ufs/cpp/fidl/fuchsia.hardware.ufs/cpp/wire_messaging.h
Public Methods
::fidl::internal::WireThenable< ::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 32 bytes of request buffer on the stack. The callback is stored on the heap.
::fidl::internal::WireThenable< ::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 32 bytes of request buffer on the stack. The callback is stored on the heap.
::fidl::internal::WireThenable< ::fuchsia_hardware_ufs::Ufs::ReadDescriptor> ReadDescriptor (::fuchsia_hardware_ufs::wire::Descriptor descriptor)
Retrieves and returns the UFS Descriptor.
Allocates 88 bytes of request buffer on the stack. The callback is stored on the heap.
::fidl::internal::WireThenable< ::fuchsia_hardware_ufs::Ufs::WriteDescriptor> WriteDescriptor (::fuchsia_hardware_ufs::wire::Descriptor descriptor, ::fidl::VectorView<uint8_t> data)
Writes a UFS Descriptor.
Allocates 360 bytes of request buffer on the stack. The callback is stored on the heap.
::fidl::internal::WireThenable< ::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 80 bytes of request buffer on the stack. The callback is stored on the heap.
::fidl::internal::WireThenable< ::fuchsia_hardware_ufs::Ufs::SetFlag> SetFlag (::fuchsia_hardware_ufs::wire::Flag flag)
Sets a flag.
Allocates 80 bytes of request buffer on the stack. The callback is stored on the heap.
::fidl::internal::WireThenable< ::fuchsia_hardware_ufs::Ufs::ClearFlag> ClearFlag (::fuchsia_hardware_ufs::wire::Flag flag)
Clears a flag.
Allocates 80 bytes of request buffer on the stack. The callback is stored on the heap.
::fidl::internal::WireThenable< ::fuchsia_hardware_ufs::Ufs::ToggleFlag> ToggleFlag (::fuchsia_hardware_ufs::wire::Flag flag)
Toggles a flag.
Allocates 80 bytes of request buffer on the stack. The callback is stored on the heap.
::fidl::internal::WireThenable< ::fuchsia_hardware_ufs::Ufs::ReadAttribute> ReadAttribute (::fuchsia_hardware_ufs::wire::Attribute attr)
Reads an attribute.
Allocates 80 bytes of request buffer on the stack. The callback is stored on the heap.
::fidl::internal::WireThenable< ::fuchsia_hardware_ufs::Ufs::WriteAttribute> WriteAttribute (::fuchsia_hardware_ufs::wire::Attribute attr, uint32_t value)
Writes an attribute.
Allocates 88 bytes of request buffer on the stack. The callback is stored on the heap.
::fidl::internal::WireThenable< ::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 32 bytes of request buffer on the stack. The callback is stored on the heap.
::fidl::internal::WireThenable< ::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.
The request and callback are allocated on the heap.