class SdmmcRootDevice

Defined at line 23 of file ../../src/devices/block/drivers/sdmmc/sdmmc-root-device.h

Protected Members

variant child_device_

Public Methods

zx::result<> Start ()

Defined at line 18 of file ../../src/devices/block/drivers/sdmmc/sdmmc-root-device.cc

void SdmmcRootDevice (fdf::DriverStartArgs start_args, fdf::UnownedSynchronizedDispatcher dispatcher)

Defined at line 25 of file ../../src/devices/block/drivers/sdmmc/sdmmc-root-device.h

fidl::WireSyncClient<fuchsia_driver_framework::Node> & root_node ()

Called by children (or grandchildren) of this device for invoking AddChild() or instantiating

compat::DeviceServer.

Defined at line 35 of file ../../src/devices/block/drivers/sdmmc/sdmmc-root-device.h

std::string_view driver_name ()

Defined at line 36 of file ../../src/devices/block/drivers/sdmmc/sdmmc-root-device.h

const std::shared_ptr<fdf::Namespace> & driver_incoming ()

Defined at line 37 of file ../../src/devices/block/drivers/sdmmc/sdmmc-root-device.h

std::shared_ptr<fdf::OutgoingDirectory> & driver_outgoing ()

Defined at line 38 of file ../../src/devices/block/drivers/sdmmc/sdmmc-root-device.h

async_dispatcher_t * driver_async_dispatcher ()

Defined at line 39 of file ../../src/devices/block/drivers/sdmmc/sdmmc-root-device.h

const fdf::UnownedSynchronizedDispatcher & driver_dispatcher ()

Defined at line 40 of file ../../src/devices/block/drivers/sdmmc/sdmmc-root-device.h

const std::optional<std::string> & driver_node_name ()

Defined at line 43 of file ../../src/devices/block/drivers/sdmmc/sdmmc-root-device.h

inspect::ComponentInspector & driver_inspector ()

Defined at line 44 of file ../../src/devices/block/drivers/sdmmc/sdmmc-root-device.h

const sdmmc_config::Config & config ()

Defined at line 45 of file ../../src/devices/block/drivers/sdmmc/sdmmc-root-device.h

const std::variant<std::monostate, std::unique_ptr<SdioControllerDevice>, std::unique_ptr<SdmmcBlockDevice>> & child_device ()

Visible for testing.

Defined at line 48 of file ../../src/devices/block/drivers/sdmmc/sdmmc-root-device.h

void PrepareStop (fdf::PrepareStopCompleter completer)

Defined at line 57 of file ../../src/devices/block/drivers/sdmmc/sdmmc-root-device.cc

Protected Methods

zx_status_t Init (const fuchsia_hardware_sdmmc::SdmmcMetadata & metadata)

Defined at line 146 of file ../../src/devices/block/drivers/sdmmc/sdmmc-root-device.cc