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_tfunc,std::unique_ptr<SdioFunctionDevice> *out_dev)
Defined at line 28 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 40 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 171 of file ../../src/devices/block/drivers/sdmmc/sdio-function-device.cc
zx_status_t SdioEnableFn ()
Defined at line 175 of file ../../src/devices/block/drivers/sdmmc/sdio-function-device.cc
zx_status_t SdioDisableFn ()
Defined at line 177 of file ../../src/devices/block/drivers/sdmmc/sdio-function-device.cc
zx_status_t SdioEnableFnIntr ()
Defined at line 179 of file ../../src/devices/block/drivers/sdmmc/sdio-function-device.cc
zx_status_t SdioDisableFnIntr ()
Defined at line 183 of file ../../src/devices/block/drivers/sdmmc/sdio-function-device.cc
zx_status_t SdioUpdateBlockSize (uint16_t blk_sz, bool deflt)
Defined at line 187 of file ../../src/devices/block/drivers/sdmmc/sdio-function-device.cc
zx_status_t SdioGetBlockSize (uint16_t * out_cur_blk_size)
Defined at line 191 of file ../../src/devices/block/drivers/sdmmc/sdio-function-device.cc
zx_status_t SdioDoRwByte (boolwrite,uint32_taddr,uint8_twrite_byte,uint8_t *out_read_byte)
Defined at line 195 of file ../../src/devices/block/drivers/sdmmc/sdio-function-device.cc
zx_status_t SdioGetInBandIntr (zx::interrupt * out_irq)
Defined at line 200 of file ../../src/devices/block/drivers/sdmmc/sdio-function-device.cc
void SdioAckInBandIntr ()
Defined at line 204 of file ../../src/devices/block/drivers/sdmmc/sdio-function-device.cc
zx_status_t SdioIoAbort ()
Defined at line 206 of file ../../src/devices/block/drivers/sdmmc/sdio-function-device.cc
zx_status_t SdioIntrPending (bool * out_pending)
Defined at line 208 of file ../../src/devices/block/drivers/sdmmc/sdio-function-device.cc
zx_status_t SdioDoVendorControlRwByte (boolwrite,uint8_taddr,uint8_twrite_byte,uint8_t *out_read_byte)
Defined at line 212 of file ../../src/devices/block/drivers/sdmmc/sdio-function-device.cc
zx_status_t SdioRegisterVmo (uint32_tvmo_id,zx::vmovmo,uint64_toffset,uint64_tsize,uint32_tvmo_rights)
Defined at line 218 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 223 of file ../../src/devices/block/drivers/sdmmc/sdio-function-device.cc
zx_status_t SdioDoRwTxn (const sdio_rw_txn_t * txn)
Defined at line 227 of file ../../src/devices/block/drivers/sdmmc/sdio-function-device.cc
zx_status_t SdioRequestCardReset ()
Defined at line 231 of file ../../src/devices/block/drivers/sdmmc/sdio-function-device.cc
zx_status_t SdioPerformTuning ()
Defined at line 235 of file ../../src/devices/block/drivers/sdmmc/sdio-function-device.cc
Enumerations
enum PowerLevel : uint8_t
| 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