class SdioFunctionDevice

Defined at line 27 of file ../../src/devices/block/drivers/sdmmc/sdio-function-device.h

Public Methods

zx_status_t Create (SdioControllerDevice * sdio_parent, uint32_t func, std::unique_ptr<SdioFunctionDevice> * out_dev)

Defined at line 26 of file ../../src/devices/block/drivers/sdmmc/sdio-function-device.cc

zx_status_t AddDevice (const sdio_func_hw_info_t & hw_info)

Defined at line 38 of file ../../src/devices/block/drivers/sdmmc/sdio-function-device.cc

zx_status_t SdioGetDevHwInfo (sdio_hw_info_t * out_hw_info)

Both Banjo and FIDL are supported. Changes in one implementation should be reflected in the

other.

TODO(b/333726427): Delete the Banjo implementation.

Defined at line 162 of file ../../src/devices/block/drivers/sdmmc/sdio-function-device.cc

zx_status_t SdioEnableFn ()

Defined at line 166 of file ../../src/devices/block/drivers/sdmmc/sdio-function-device.cc

zx_status_t SdioDisableFn ()

Defined at line 168 of file ../../src/devices/block/drivers/sdmmc/sdio-function-device.cc

zx_status_t SdioEnableFnIntr ()

Defined at line 170 of file ../../src/devices/block/drivers/sdmmc/sdio-function-device.cc

zx_status_t SdioDisableFnIntr ()

Defined at line 174 of file ../../src/devices/block/drivers/sdmmc/sdio-function-device.cc

zx_status_t SdioUpdateBlockSize (uint16_t blk_sz, bool deflt)

Defined at line 178 of file ../../src/devices/block/drivers/sdmmc/sdio-function-device.cc

zx_status_t SdioGetBlockSize (uint16_t * out_cur_blk_size)

Defined at line 182 of file ../../src/devices/block/drivers/sdmmc/sdio-function-device.cc

zx_status_t SdioDoRwByte (bool write, uint32_t addr, uint8_t write_byte, uint8_t * out_read_byte)

Defined at line 186 of file ../../src/devices/block/drivers/sdmmc/sdio-function-device.cc

zx_status_t SdioGetInBandIntr (zx::interrupt * out_irq)

Defined at line 191 of file ../../src/devices/block/drivers/sdmmc/sdio-function-device.cc

void SdioAckInBandIntr ()

Defined at line 195 of file ../../src/devices/block/drivers/sdmmc/sdio-function-device.cc

zx_status_t SdioIoAbort ()

Defined at line 197 of file ../../src/devices/block/drivers/sdmmc/sdio-function-device.cc

zx_status_t SdioIntrPending (bool * out_pending)

Defined at line 199 of file ../../src/devices/block/drivers/sdmmc/sdio-function-device.cc

zx_status_t SdioDoVendorControlRwByte (bool write, uint8_t addr, uint8_t write_byte, uint8_t * out_read_byte)

Defined at line 203 of file ../../src/devices/block/drivers/sdmmc/sdio-function-device.cc

zx_status_t SdioRegisterVmo (uint32_t vmo_id, zx::vmo vmo, uint64_t offset, uint64_t size, uint32_t vmo_rights)

Defined at line 209 of file ../../src/devices/block/drivers/sdmmc/sdio-function-device.cc

zx_status_t SdioUnregisterVmo (uint32_t vmo_id, zx::vmo * out_vmo)

Defined at line 214 of file ../../src/devices/block/drivers/sdmmc/sdio-function-device.cc

zx_status_t SdioDoRwTxn (const sdio_rw_txn_t * txn)

Defined at line 218 of file ../../src/devices/block/drivers/sdmmc/sdio-function-device.cc

zx_status_t SdioRequestCardReset ()

Defined at line 222 of file ../../src/devices/block/drivers/sdmmc/sdio-function-device.cc

zx_status_t SdioPerformTuning ()

Defined at line 226 of file ../../src/devices/block/drivers/sdmmc/sdio-function-device.cc

Enumerations

enum PowerLevel
Name Value
kOff 0
kOn 1
kControllerOff 2
kBoot 3

Defined at line 31 of file ../../src/devices/block/drivers/sdmmc/sdio-function-device.h