Lines Matching refs:mmc_host

14 struct mmc_host;
21 void (*remove)(struct mmc_host *);
22 void (*detect)(struct mmc_host *);
23 int (*pre_suspend)(struct mmc_host *);
24 int (*suspend)(struct mmc_host *);
25 int (*resume)(struct mmc_host *);
26 int (*runtime_suspend)(struct mmc_host *);
27 int (*runtime_resume)(struct mmc_host *);
28 int (*alive)(struct mmc_host *);
29 int (*shutdown)(struct mmc_host *);
30 int (*hw_reset)(struct mmc_host *);
31 int (*sw_reset)(struct mmc_host *);
32 bool (*cache_enabled)(struct mmc_host *);
33 int (*flush_cache)(struct mmc_host *);
36 void mmc_attach_bus(struct mmc_host *host, const struct mmc_bus_ops *ops);
37 void mmc_detach_bus(struct mmc_host *host);
39 struct device_node *mmc_of_find_child_device(struct mmc_host *host,
44 void mmc_set_chip_select(struct mmc_host *host, int mode);
45 void mmc_set_clock(struct mmc_host *host, unsigned int hz);
46 void mmc_set_bus_mode(struct mmc_host *host, unsigned int mode);
47 void mmc_set_bus_width(struct mmc_host *host, unsigned int width);
48 u32 mmc_select_voltage(struct mmc_host *host, u32 ocr);
49 int mmc_set_uhs_voltage(struct mmc_host *host, u32 ocr);
50 int mmc_host_set_uhs_voltage(struct mmc_host *host);
51 int mmc_set_signal_voltage(struct mmc_host *host, int signal_voltage);
52 void mmc_set_initial_signal_voltage(struct mmc_host *host);
53 void mmc_set_timing(struct mmc_host *host, unsigned int timing);
54 void mmc_set_driver_type(struct mmc_host *host, unsigned int drv_type);
57 void mmc_power_up(struct mmc_host *host, u32 ocr);
58 void mmc_power_off(struct mmc_host *host);
59 void mmc_power_cycle(struct mmc_host *host, u32 ocr);
60 void mmc_set_initial_state(struct mmc_host *host);
72 void mmc_start_host(struct mmc_host *host);
73 void __mmc_stop_host(struct mmc_host *host);
74 void mmc_stop_host(struct mmc_host *host);
76 void _mmc_detect_change(struct mmc_host *host, unsigned long delay,
78 int _mmc_detect_card_removed(struct mmc_host *host);
79 int mmc_detect_card_removed(struct mmc_host *host);
81 int mmc_attach_mmc(struct mmc_host *host);
82 int mmc_attach_sd(struct mmc_host *host);
83 int mmc_attach_sdio(struct mmc_host *host);
89 void mmc_add_host_debugfs(struct mmc_host *host);
90 void mmc_remove_host_debugfs(struct mmc_host *host);
99 void mmc_wait_for_req_done(struct mmc_host *host, struct mmc_request *mrq);
100 bool mmc_is_req_done(struct mmc_host *host, struct mmc_request *mrq);
102 int mmc_start_request(struct mmc_host *host, struct mmc_request *mrq);
117 int __mmc_claim_host(struct mmc_host *host, struct mmc_ctx *ctx,
119 void mmc_release_host(struct mmc_host *host);
131 static inline void mmc_claim_host(struct mmc_host *host) in mmc_claim_host()
136 int mmc_cqe_start_req(struct mmc_host *host, struct mmc_request *mrq);
137 void mmc_cqe_post_req(struct mmc_host *host, struct mmc_request *mrq);
138 int mmc_cqe_recovery(struct mmc_host *host);
149 static inline void mmc_pre_req(struct mmc_host *host, struct mmc_request *mrq) in mmc_pre_req()
164 static inline void mmc_post_req(struct mmc_host *host, struct mmc_request *mrq, in mmc_post_req()
171 static inline bool mmc_cache_enabled(struct mmc_host *host) in mmc_cache_enabled()
179 static inline int mmc_flush_cache(struct mmc_host *host) in mmc_flush_cache()