aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/core/core.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mmc/core/core.h')
-rw-r--r--drivers/mmc/core/core.h7
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
18struct mmc_bus_ops { 18struct 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
30void mmc_attach_bus(struct mmc_host *host, const struct mmc_bus_ops *ops); 32void 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);
44int __mmc_set_signal_voltage(struct mmc_host *host, int signal_voltage); 46int __mmc_set_signal_voltage(struct mmc_host *host, int signal_voltage);
45void mmc_set_timing(struct mmc_host *host, unsigned int timing); 47void mmc_set_timing(struct mmc_host *host, unsigned int timing);
46void mmc_set_driver_type(struct mmc_host *host, unsigned int drv_type); 48void mmc_set_driver_type(struct mmc_host *host, unsigned int drv_type);
49void mmc_power_up(struct mmc_host *host);
47void mmc_power_off(struct mmc_host *host); 50void mmc_power_off(struct mmc_host *host);
48void mmc_power_cycle(struct mmc_host *host); 51void mmc_power_cycle(struct mmc_host *host);
49 52