Lines Matching defs:host
94 static void mmc_should_fail_request(struct mmc_host *host, in mmc_should_fail_request()
118 static inline void mmc_should_fail_request(struct mmc_host *host, in mmc_should_fail_request()
133 void mmc_request_done(struct mmc_host *host, struct mmc_request *mrq) in mmc_request_done()
184 mmc_start_request(struct mmc_host *host, struct mmc_request *mrq) in mmc_start_request()
246 static void __mmc_start_req(struct mmc_host *host, struct mmc_request *mrq) in __mmc_start_req()
258 static void mmc_wait_for_req_done(struct mmc_host *host, in mmc_wait_for_req_done()
290 static void mmc_pre_req(struct mmc_host *host, struct mmc_request *mrq, in mmc_pre_req()
309 static void mmc_post_req(struct mmc_host *host, struct mmc_request *mrq, in mmc_post_req()
335 struct mmc_async_req *mmc_start_req(struct mmc_host *host, in mmc_start_req()
387 void mmc_wait_for_req(struct mmc_host *host, struct mmc_request *mrq) in mmc_wait_for_req()
461 int mmc_wait_for_cmd(struct mmc_host *host, struct mmc_command *cmd, int retries) in mmc_wait_for_cmd()
609 int mmc_host_enable(struct mmc_host *host) in mmc_host_enable()
645 static int mmc_host_do_disable(struct mmc_host *host, int lazy) in mmc_host_do_disable()
679 int mmc_host_disable(struct mmc_host *host) in mmc_host_disable()
710 int __mmc_claim_host(struct mmc_host *host, atomic_t *abort) in __mmc_claim_host()
751 int mmc_try_claim_host(struct mmc_host *host) in mmc_try_claim_host()
775 void mmc_do_release_host(struct mmc_host *host) in mmc_do_release_host()
794 struct mmc_host *host = in mmc_host_deeper_disable() local
812 int mmc_host_lazy_disable(struct mmc_host *host) in mmc_host_lazy_disable()
842 void mmc_release_host(struct mmc_host *host) in mmc_release_host()
857 static inline void mmc_set_ios(struct mmc_host *host) in mmc_set_ios()
875 void mmc_set_chip_select(struct mmc_host *host, int mode) in mmc_set_chip_select()
887 static void __mmc_set_clock(struct mmc_host *host, unsigned int hz) in __mmc_set_clock()
898 void mmc_set_clock(struct mmc_host *host, unsigned int hz) in mmc_set_clock()
909 void mmc_gate_clock(struct mmc_host *host) in mmc_gate_clock()
925 void mmc_ungate_clock(struct mmc_host *host) in mmc_ungate_clock()
941 void mmc_set_ungated(struct mmc_host *host) in mmc_set_ungated()
955 void mmc_set_ungated(struct mmc_host *host) in mmc_set_ungated()
963 void mmc_set_bus_mode(struct mmc_host *host, unsigned int mode) in mmc_set_bus_mode()
974 void mmc_set_bus_width(struct mmc_host *host, unsigned int width) in mmc_set_bus_width()
1169 u32 mmc_select_voltage(struct mmc_host *host, u32 ocr) in mmc_select_voltage()
1194 int mmc_set_signal_voltage(struct mmc_host *host, int signal_voltage, bool cmd11) in mmc_set_signal_voltage()
1232 void mmc_set_timing(struct mmc_host *host, unsigned int timing) in mmc_set_timing()
1243 void mmc_set_driver_type(struct mmc_host *host, unsigned int drv_type) in mmc_set_driver_type()
1251 static void mmc_poweroff_notify(struct mmc_host *host) in mmc_poweroff_notify()
1304 static void mmc_power_up(struct mmc_host *host) in mmc_power_up()
1347 void mmc_power_off(struct mmc_host *host) in mmc_power_off()
1400 static void __mmc_release_bus(struct mmc_host *host) in __mmc_release_bus()
1412 static inline void mmc_bus_get(struct mmc_host *host) in mmc_bus_get()
1425 static inline void mmc_bus_put(struct mmc_host *host) in mmc_bus_put()
1440 void mmc_attach_bus(struct mmc_host *host, const struct mmc_bus_ops *ops) in mmc_attach_bus()
1464 void mmc_detach_bus(struct mmc_host *host) in mmc_detach_bus()
1492 void mmc_detect_change(struct mmc_host *host, unsigned long delay) in mmc_detect_change()
1880 struct mmc_host *host = card->host; in mmc_do_calc_max_discard() local
1925 struct mmc_host *host = card->host; in mmc_calc_max_discard() local
1967 static void mmc_hw_reset_for_init(struct mmc_host *host) in mmc_hw_reset_for_init()
1989 static int mmc_do_hw_reset(struct mmc_host *host, int check) in mmc_do_hw_reset()
2043 int mmc_hw_reset(struct mmc_host *host) in mmc_hw_reset()
2049 int mmc_hw_reset_check(struct mmc_host *host) in mmc_hw_reset_check()
2055 static int mmc_rescan_try_freq(struct mmc_host *host, unsigned freq) in mmc_rescan_try_freq()
2096 int _mmc_detect_card_removed(struct mmc_host *host) in _mmc_detect_card_removed()
2115 int mmc_detect_card_removed(struct mmc_host *host) in mmc_detect_card_removed()
2136 struct mmc_host *host = in mmc_rescan() local
2191 void mmc_start_host(struct mmc_host *host) in mmc_start_host()
2197 void mmc_stop_host(struct mmc_host *host) in mmc_stop_host()
2234 int mmc_power_save_host(struct mmc_host *host) in mmc_power_save_host()
2260 int mmc_power_restore_host(struct mmc_host *host) in mmc_power_restore_host()
2284 int mmc_card_awake(struct mmc_host *host) in mmc_card_awake()
2302 int mmc_card_sleep(struct mmc_host *host) in mmc_card_sleep()
2320 int mmc_card_can_sleep(struct mmc_host *host) in mmc_card_can_sleep()
2335 struct mmc_host *host = card->host; in mmc_flush_cache() local
2360 int mmc_cache_ctrl(struct mmc_host *host, u8 enable) in mmc_cache_ctrl()
2398 int mmc_suspend_host(struct mmc_host *host) in mmc_suspend_host()
2466 int mmc_resume_host(struct mmc_host *host) in mmc_resume_host()
2511 struct mmc_host *host = container_of( in mmc_pm_notify() local