template <>

class WireServer

Defined at line 1914 of file fidling/gen/sdk/fidl/fuchsia.hardware.sdhci/fuchsia.hardware.sdhci/cpp/fidl/fuchsia.hardware.sdhci/cpp/driver/wire_messaging.h

Pure-virtual interface to be implemented by a server.

This interface uses typed channels (i.e. |::fdf::ClientEnd

<

::fuchsia_hardware_sdhci::Device>|

and |::fdf::ServerEnd

<

::fuchsia_hardware_sdhci::Device>|).

Public Methods

void GetInterrupt (fdf::Arena & arena, GetInterruptCompleter::Sync & completer)
void GetSdhciMmio (fdf::Arena & arena, GetSdhciMmioCompleter::Sync & completer)

Mmio size minus offset must be at least 512 bytes as per the SDHCI specification.

void GetCqhciMmio (fdf::Arena & arena, GetCqhciMmioCompleter::Sync & completer)

Mmio size minus offset must be at least 260 bytes as per the CQHCI specification.

Returns

- ZX_ERR_NOT_SUPPORTED if the device does not support CQHCI

void GetBti (::fuchsia_hardware_sdhci::wire::DeviceGetBtiRequest * request, fdf::Arena & arena, GetBtiCompleter::Sync & completer)

Gets a handle to the bus transaction initiator for the device. The caller

receives ownership of the handle.

void GetBaseClock (fdf::Arena & arena, GetBaseClockCompleter::Sync & completer)
void GetQuirks (fdf::Arena & arena, GetQuirksCompleter::Sync & completer)

Returns device quirks.

void HwReset (fdf::Arena & arena, HwResetCompleter::Sync & completer)

Platform specific HW reset.

void VendorConfigureBus (::fuchsia_hardware_sdhci::wire::DeviceVendorConfigureBusRequest * request, fdf::Arena & arena, VendorConfigureBusCompleter::Sync & completer)

This method should be used to handle bus configuration on behalf of the SDHCI driver in

cases where the hardware deviates from the SDHCI specification. See the `Quirk` bits above.

void VendorPerformTuning (::fuchsia_hardware_sdhci::wire::DeviceVendorPerformTuningRequest * request, fdf::Arena & arena, VendorPerformTuningCompleter::Sync & completer)

Perform a vendor-specific tuning sequence. `cmd_idx` is the command that should used to

receive the tuning pattern from the device.

void WireServer ()

Defined at line 1917 of file fidling/gen/sdk/fidl/fuchsia.hardware.sdhci/fuchsia.hardware.sdhci/cpp/fidl/fuchsia.hardware.sdhci/cpp/driver/wire_messaging.h

Handler bind_handler (fdf_dispatcher_t * dispatcher)

|bind_handler| returns a handler that binds incoming connections to this

server implementation.

The returned handler borrows the server instance.

The server must outlive the provided |dispatcher|. Only after

the dispatcher is shutdown will it be safe to destroy the servers.

The server should not be moved.

void ~WireServer ()

Defined at line 1918 of file fidling/gen/sdk/fidl/fuchsia.hardware.sdhci/fuchsia.hardware.sdhci/cpp/fidl/fuchsia.hardware.sdhci/cpp/driver/wire_messaging.h