#include <sdio_api.h>
Data Fields | |
struct sdioemb_func_driver * | driver |
uint16_t | vendor_id |
uint16_t | device_id |
int | function |
uint8_t | interface |
uint16_t | max_blocksize |
uint16_t | blocksize |
int | slot_id |
void * | os_device |
struct sdioemb_dev_priv * | priv |
void * | drv_data |
Each SDIO card will have an sdio_dev for each function.
None of the fields (except for drv_data) should be written.
struct sdioemb_func_driver* sdioemb_dev::driver [read] |
Function driver for this device.
Referenced by sdioemb_driver_unregister(), and sdioemb_interrupt().
uint16_t sdioemb_dev::vendor_id |
Vendor ID of the card.
uint16_t sdioemb_dev::device_id |
Device ID of the card.
Function number of this device.
Referenced by sdioemb_disable_function(), sdioemb_enable_function(), sdioemb_idle_function(), sdioemb_interrupt_acknowledge(), sdioemb_interrupt_disable(), sdioemb_interrupt_enable(), sdioemb_power_off(), sdioemb_power_on(), sdioemb_read(), sdioemb_read16(), sdioemb_read8(), sdioemb_reenable_csr_function(), sdioemb_start_cmd(), sdioemb_write(), sdioemb_write16(), and sdioemb_write8().
uint8_t sdioemb_dev::interface |
SDIO standard interface number.
uint16_t sdioemb_dev::max_blocksize |
Maximum block size supported.
uint16_t sdioemb_dev::blocksize |
Blocksize in use.
Referenced by sdioemb_start_cmd().
ID of the slot this card is inserted into.
void* sdioemb_dev::os_device |
Pointer to an OS-specific device structure.
struct sdioemb_dev_priv* sdioemb_dev::priv [read] |
Data private to the SDIO core.
Referenced by sdioemb_add_function(), sdioemb_cis_get_tuple(), sdioemb_del_function(), sdioemb_disable_function(), sdioemb_enable_function(), sdioemb_f0_read8(), sdioemb_f0_write8(), sdioemb_get_function(), sdioemb_hard_reset(), sdioemb_idle_function(), sdioemb_interrupt_acknowledge(), sdioemb_interrupt_disable(), sdioemb_interrupt_enable(), sdioemb_power_off(), sdioemb_power_on(), sdioemb_put_function(), sdioemb_read(), sdioemb_read16(), sdioemb_read8(), sdioemb_set_block_size(), sdioemb_set_bus_width(), sdioemb_set_max_bus_freq(), sdioemb_start_cmd(), sdioemb_write(), sdioemb_write16(), and sdioemb_write8().
void* sdioemb_dev::drv_data |
Data private to the function driver.