class SdioControllerDevice
Defined at line 35 of file ../../src/devices/block/drivers/sdmmc/sdio-controller-device.h
Public Members
static const char[] kDeviceName
Public Methods
void SdioControllerDevice (SdmmcRootDevice * parent, std::unique_ptr<SdmmcDevice> sdmmc)
Defined at line 47 of file ../../src/devices/block/drivers/sdmmc/sdio-controller-device.h
std::unique_ptr<SdmmcDevice> TakeSdmmcDevice ()
Returns the SdmmcDevice. Used if this SdioControllerDevice fails to probe (i.e., no eligible
device present).
Defined at line 58 of file ../../src/devices/block/drivers/sdmmc/sdio-controller-device.h
void Suspend (fdf_power::SuspendCompleter completer)
Defined at line 60 of file ../../src/devices/block/drivers/sdmmc/sdio-controller-device.h
void Resume (fdf_power::ResumeCompleter completer)
Defined at line 61 of file ../../src/devices/block/drivers/sdmmc/sdio-controller-device.h
zx_status_t Create (SdmmcRootDevice *parent,std::unique_ptr<SdmmcDevice>sdmmc,std::unique_ptr<SdioControllerDevice> *out_dev)
Defined at line 61 of file ../../src/devices/block/drivers/sdmmc/sdio-controller-device.cc
bool SuspendEnabled ()
Defined at line 62 of file ../../src/devices/block/drivers/sdmmc/sdio-controller-device.h
zx_status_t Probe (const fuchsia_hardware_sdmmc::SdmmcMetadata & metadata)
Defined at line 74 of file ../../src/devices/block/drivers/sdmmc/sdio-controller-device.cc
zx_status_t SdioDoRwTxn (uint8_t fn_idx, const sdio_rw_txn_t * txn)
Defined at line 100 of file ../../src/devices/block/drivers/sdmmc/sdio-controller-device.h
fidl::WireSyncClient<fuchsia_driver_framework::Node> & sdio_controller_node ()
Called by children of this device.
Defined at line 113 of file ../../src/devices/block/drivers/sdmmc/sdio-controller-device.h
SdmmcRootDevice * parent ()
Defined at line 116 of file ../../src/devices/block/drivers/sdmmc/sdio-controller-device.h
zx_status_t AddDevice ()
Defined at line 252 of file ../../src/devices/block/drivers/sdmmc/sdio-controller-device.cc
zx_status_t SdioGetDevHwInfo (uint8_t fn_idx, sdio_hw_info_t * out_hw_info)
Defined at line 328 of file ../../src/devices/block/drivers/sdmmc/sdio-controller-device.cc
zx_status_t SdioEnableFn (uint8_t fn_idx)
Defined at line 342 of file ../../src/devices/block/drivers/sdmmc/sdio-controller-device.cc
zx_status_t SdioDisableFn (uint8_t fn_idx)
Defined at line 388 of file ../../src/devices/block/drivers/sdmmc/sdio-controller-device.cc
zx_status_t SdioIoReady (uint8_t fn_idx, bool * out_ready)
Defined at line 421 of file ../../src/devices/block/drivers/sdmmc/sdio-controller-device.cc
zx_status_t SdioEnableFnIntr (uint8_t fn_idx)
Defined at line 440 of file ../../src/devices/block/drivers/sdmmc/sdio-controller-device.cc
zx_status_t SdioDisableFnIntr (uint8_t fn_idx)
Defined at line 479 of file ../../src/devices/block/drivers/sdmmc/sdio-controller-device.cc
zx_status_t SdioUpdateBlockSize (uint8_tfn_idx,uint16_tblk_sz,booldeflt)
Defined at line 519 of file ../../src/devices/block/drivers/sdmmc/sdio-controller-device.cc
zx_status_t SdioGetBlockSize (uint8_t fn_idx, uint16_t * out_cur_blk_size)
Defined at line 560 of file ../../src/devices/block/drivers/sdmmc/sdio-controller-device.cc
zx_status_t SdioDoRwByte (boolwrite,uint8_tfn_idx,uint32_taddr,uint8_twrite_byte,uint8_t *out_read_byte)
Defined at line 580 of file ../../src/devices/block/drivers/sdmmc/sdio-controller-device.cc
zx::result<uint8_t> SdioReadByte (uint8_tfunction,uint32_taddress,boolsuppress_error_messages)
Defined at line 586 of file ../../src/devices/block/drivers/sdmmc/sdio-controller-device.cc
zx::result<uint8_t> SdioWriteByte (uint8_tfunction,uint32_taddress,uint8_tbyte,boolread_after_write,boolsuppress_error_messages)
Defined at line 602 of file ../../src/devices/block/drivers/sdmmc/sdio-controller-device.cc
zx_status_t SdioGetInBandIntr (uint8_t fn_idx, zx::interrupt * out_irq)
Defined at line 636 of file ../../src/devices/block/drivers/sdmmc/sdio-controller-device.cc
void SdioAckInBandIntr (uint8_t fn_idx)
Defined at line 651 of file ../../src/devices/block/drivers/sdmmc/sdio-controller-device.cc
zx_status_t SdioIoAbort (uint8_t fn_idx)
Defined at line 726 of file ../../src/devices/block/drivers/sdmmc/sdio-controller-device.cc
zx_status_t SdioIntrPending (uint8_t fn_idx, bool * out_pending)
Defined at line 734 of file ../../src/devices/block/drivers/sdmmc/sdio-controller-device.cc
zx_status_t SdioDoVendorControlRwByte (boolwrite,uint8_taddr,uint8_twrite_byte,uint8_t *out_read_byte)
Defined at line 750 of file ../../src/devices/block/drivers/sdmmc/sdio-controller-device.cc
zx_status_t SdioRegisterVmo (uint8_tfn_idx,uint32_tvmo_id,zx::vmovmo,uint64_toffset,uint64_tsize,uint32_tvmo_rights)
Defined at line 761 of file ../../src/devices/block/drivers/sdmmc/sdio-controller-device.cc
zx_status_t SdioUnregisterVmo (uint8_tfn_idx,uint32_tvmo_id,zx::vmo *out_vmo)
Defined at line 775 of file ../../src/devices/block/drivers/sdmmc/sdio-controller-device.cc
template <typename T>
zx_status_t SdioDoRwTxn (uint8_t fn_idx, const SdioRwTxn<T> & txn)
TODO(b/309864701): Remove templating when Banjo support has been dropped.
Defined at line 982 of file ../../src/devices/block/drivers/sdmmc/sdio-controller-device.cc
zx_status_t SdioRequestCardReset ()
Defined at line 788 of file ../../src/devices/block/drivers/sdmmc/sdio-controller-device.cc
zx_status_t SdioPerformTuning ()
Defined at line 805 of file ../../src/devices/block/drivers/sdmmc/sdio-controller-device.cc
void Callback (fdf::Arena & arena, CallbackCompleter::Sync & completer)
Defined at line 661 of file ../../src/devices/block/drivers/sdmmc/sdio-controller-device.cc
void FunctionPowerOn (uint8_t fn_idx)
Defined at line 695 of file ../../src/devices/block/drivers/sdmmc/sdio-controller-device.cc
void FunctionPowerOff (uint8_t fn_idx)
Defined at line 712 of file ../../src/devices/block/drivers/sdmmc/sdio-controller-device.cc
zx_status_t StartSdioIrqDispatcherIfNeeded ()
Defined at line 205 of file ../../src/devices/block/drivers/sdmmc/sdio-controller-device.cc
void StopSdioIrqDispatcher (std::optional<fdf::PrepareStopCompleter> completer)
Defined at line 304 of file ../../src/devices/block/drivers/sdmmc/sdio-controller-device.cc
fdf::Logger & logger ()
Defined at line 1479 of file ../../src/devices/block/drivers/sdmmc/sdio-controller-device.cc