mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-23 13:09:04 -04:00
sdio: read and decode interesting parts of the CCCR
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
This commit is contained in:
parent
fa64efa1f2
commit
35c66c1908
2 changed files with 74 additions and 0 deletions
|
|
@ -55,6 +55,16 @@ struct sd_switch_caps {
|
|||
unsigned int hs_max_dtr;
|
||||
};
|
||||
|
||||
struct sdio_cccr {
|
||||
unsigned int sdio_vsn;
|
||||
unsigned int sd_vsn;
|
||||
unsigned int multi_block:1,
|
||||
low_speed:1,
|
||||
wide_bus:1,
|
||||
high_power:1,
|
||||
high_speed:1;
|
||||
};
|
||||
|
||||
struct mmc_host;
|
||||
struct sdio_func;
|
||||
|
||||
|
|
@ -87,6 +97,7 @@ struct mmc_card {
|
|||
struct sd_switch_caps sw_caps; /* switch (CMD6) caps */
|
||||
|
||||
unsigned int sdio_funcs; /* number of SDIO functions */
|
||||
struct sdio_cccr cccr; /* common card info */
|
||||
struct sdio_func *sdio_func[SDIO_MAX_FUNCS]; /* SDIO functions (devices) */
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue