diff options
Diffstat (limited to 'drivers/mmc/core/core.h')
| -rw-r--r-- | drivers/mmc/core/core.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/mmc/core/core.h b/drivers/mmc/core/core.h index b9f18a2a8874..5345d156493e 100644 --- a/drivers/mmc/core/core.h +++ b/drivers/mmc/core/core.h | |||
| @@ -16,15 +16,17 @@ | |||
| 16 | #define MMC_CMD_RETRIES 3 | 16 | #define MMC_CMD_RETRIES 3 |
| 17 | 17 | ||
| 18 | struct mmc_bus_ops { | 18 | struct mmc_bus_ops { |
| 19 | int (*awake)(struct mmc_host *); | ||
| 20 | int (*sleep)(struct mmc_host *); | ||
| 21 | void (*remove)(struct mmc_host *); | 19 | void (*remove)(struct mmc_host *); |
| 22 | void (*detect)(struct mmc_host *); | 20 | void (*detect)(struct mmc_host *); |
| 21 | int (*pre_suspend)(struct mmc_host *); | ||
| 23 | int (*suspend)(struct mmc_host *); | 22 | int (*suspend)(struct mmc_host *); |
| 24 | int (*resume)(struct mmc_host *); | 23 | int (*resume)(struct mmc_host *); |
| 24 | int (*runtime_suspend)(struct mmc_host *); | ||
| 25 | int (*runtime_resume)(struct mmc_host *); | ||
| 25 | int (*power_save)(struct mmc_host *); | 26 | int (*power_save)(struct mmc_host *); |
| 26 | int (*power_restore)(struct mmc_host *); | 27 | int (*power_restore)(struct mmc_host *); |
| 27 | int (*alive)(struct mmc_host *); | 28 | int (*alive)(struct mmc_host *); |
| 29 | int (*shutdown)(struct mmc_host *); | ||
| 28 | }; | 30 | }; |
| 29 | 31 | ||
| 30 | void mmc_attach_bus(struct mmc_host *host, const struct mmc_bus_ops *ops); | 32 | void mmc_attach_bus(struct mmc_host *host, const struct mmc_bus_ops *ops); |
| @@ -44,6 +46,7 @@ int mmc_set_signal_voltage(struct mmc_host *host, int signal_voltage); | |||
| 44 | int __mmc_set_signal_voltage(struct mmc_host *host, int signal_voltage); | 46 | int __mmc_set_signal_voltage(struct mmc_host *host, int signal_voltage); |
| 45 | void mmc_set_timing(struct mmc_host *host, unsigned int timing); | 47 | void mmc_set_timing(struct mmc_host *host, unsigned int timing); |
| 46 | void mmc_set_driver_type(struct mmc_host *host, unsigned int drv_type); | 48 | void mmc_set_driver_type(struct mmc_host *host, unsigned int drv_type); |
| 49 | void mmc_power_up(struct mmc_host *host); | ||
| 47 | void mmc_power_off(struct mmc_host *host); | 50 | void mmc_power_off(struct mmc_host *host); |
| 48 | void mmc_power_cycle(struct mmc_host *host); | 51 | void mmc_power_cycle(struct mmc_host *host); |
| 49 | 52 | ||
