template <>

class Server

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

Public Methods

void GetInterrupt (GetInterruptCompleter::Sync & completer)
void GetSdhciMmio (GetSdhciMmioCompleter::Sync & completer)

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

void GetCqhciMmio (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 (GetBtiRequest & request, GetBtiCompleter::Sync & completer)

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

receives ownership of the handle.

void GetBaseClock (GetBaseClockCompleter::Sync & completer)
void GetQuirks (GetQuirksCompleter::Sync & completer)

Returns device quirks.

void HwReset (HwResetCompleter::Sync & completer)

Platform specific HW reset.

void Server ()

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

void VendorConfigureBus (VendorConfigureBusRequest & request, 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 (VendorPerformTuningRequest & request, 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.

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 ~Server ()

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