Lines Matching refs:mmc_host
82 static void mmc_should_fail_request(struct mmc_host *host, in mmc_should_fail_request()
106 static inline void mmc_should_fail_request(struct mmc_host *host, in mmc_should_fail_request()
119 void mmc_command_done(struct mmc_host *host, struct mmc_request *mrq) in mmc_command_done()
139 void mmc_request_done(struct mmc_host *host, struct mmc_request *mrq) in mmc_request_done()
217 static void __mmc_start_request(struct mmc_host *host, struct mmc_request *mrq) in __mmc_start_request()
265 static void mmc_mrq_pr_debug(struct mmc_host *host, struct mmc_request *mrq, in mmc_mrq_pr_debug()
299 static int mmc_mrq_prep(struct mmc_host *host, struct mmc_request *mrq) in mmc_mrq_prep()
336 int mmc_start_request(struct mmc_host *host, struct mmc_request *mrq) in mmc_start_request()
367 static inline void mmc_wait_ongoing_tfr_cmd(struct mmc_host *host) in mmc_wait_ongoing_tfr_cmd()
379 static int __mmc_start_req(struct mmc_host *host, struct mmc_request *mrq) in __mmc_start_req()
398 void mmc_wait_for_req_done(struct mmc_host *host, struct mmc_request *mrq) in mmc_wait_for_req_done()
432 int mmc_cqe_start_req(struct mmc_host *host, struct mmc_request *mrq) in mmc_cqe_start_req()
482 void mmc_cqe_request_done(struct mmc_host *host, struct mmc_request *mrq) in mmc_cqe_request_done()
516 void mmc_cqe_post_req(struct mmc_host *host, struct mmc_request *mrq) in mmc_cqe_post_req()
535 int mmc_cqe_recovery(struct mmc_host *host) in mmc_cqe_recovery()
585 bool mmc_is_req_done(struct mmc_host *host, struct mmc_request *mrq) in mmc_is_req_done()
603 void mmc_wait_for_req(struct mmc_host *host, struct mmc_request *mrq) in mmc_wait_for_req()
622 int mmc_wait_for_cmd(struct mmc_host *host, struct mmc_command *cmd, int retries) in mmc_wait_for_cmd()
747 static inline bool mmc_ctx_matches(struct mmc_host *host, struct mmc_ctx *ctx, in mmc_ctx_matches()
754 static inline void mmc_ctx_set_claimer(struct mmc_host *host, in mmc_ctx_set_claimer()
780 int __mmc_claim_host(struct mmc_host *host, struct mmc_ctx *ctx, in __mmc_claim_host()
828 void mmc_release_host(struct mmc_host *host) in mmc_release_host()
870 struct mmc_host *host = card->host; in mmc_put_card()
884 static inline void mmc_set_ios(struct mmc_host *host) in mmc_set_ios()
900 void mmc_set_chip_select(struct mmc_host *host, int mode) in mmc_set_chip_select()
910 void mmc_set_clock(struct mmc_host *host, unsigned int hz) in mmc_set_clock()
923 struct mmc_host *host = card->host; in mmc_execute_tuning()
958 void mmc_set_bus_mode(struct mmc_host *host, unsigned int mode) in mmc_set_bus_mode()
967 void mmc_set_bus_width(struct mmc_host *host, unsigned int width) in mmc_set_bus_width()
976 void mmc_set_initial_state(struct mmc_host *host) in mmc_set_initial_state()
1091 struct device_node *mmc_of_find_child_device(struct mmc_host *host, in mmc_of_find_child_device()
1111 u32 mmc_select_voltage(struct mmc_host *host, u32 ocr) in mmc_select_voltage()
1151 int mmc_set_signal_voltage(struct mmc_host *host, int signal_voltage) in mmc_set_signal_voltage()
1167 void mmc_set_initial_signal_voltage(struct mmc_host *host) in mmc_set_initial_signal_voltage()
1178 int mmc_host_set_uhs_voltage(struct mmc_host *host) in mmc_host_set_uhs_voltage()
1201 int mmc_set_uhs_voltage(struct mmc_host *host, u32 ocr) in mmc_set_uhs_voltage()
1269 void mmc_set_timing(struct mmc_host *host, unsigned int timing) in mmc_set_timing()
1278 void mmc_set_driver_type(struct mmc_host *host, unsigned int drv_type) in mmc_set_driver_type()
1287 struct mmc_host *host = card->host; in mmc_select_drive_strength()
1328 void mmc_power_up(struct mmc_host *host, u32 ocr) in mmc_power_up()
1362 void mmc_power_off(struct mmc_host *host) in mmc_power_off()
1384 void mmc_power_cycle(struct mmc_host *host, u32 ocr) in mmc_power_cycle()
1396 void mmc_attach_bus(struct mmc_host *host, const struct mmc_bus_ops *ops) in mmc_attach_bus()
1404 void mmc_detach_bus(struct mmc_host *host) in mmc_detach_bus()
1409 void _mmc_detect_change(struct mmc_host *host, unsigned long delay, bool cd_irq) in _mmc_detect_change()
1433 void mmc_detect_change(struct mmc_host *host, unsigned long delay) in mmc_detect_change()
1876 struct mmc_host *host = card->host; in mmc_do_calc_max_discard()
1953 struct mmc_host *host = card->host; in mmc_calc_max_discard()
2000 static void mmc_hw_reset_for_init(struct mmc_host *host) in mmc_hw_reset_for_init()
2021 struct mmc_host *host = card->host; in mmc_hw_reset()
2035 struct mmc_host *host = card->host; in mmc_sw_reset()
2050 static int mmc_rescan_try_freq(struct mmc_host *host, unsigned freq) in mmc_rescan_try_freq()
2101 int _mmc_detect_card_removed(struct mmc_host *host) in _mmc_detect_card_removed()
2130 int mmc_detect_card_removed(struct mmc_host *host) in mmc_detect_card_removed()
2205 struct mmc_host *host = in mmc_rescan()
2206 container_of(work, struct mmc_host, detect.work); in mmc_rescan()
2273 void mmc_start_host(struct mmc_host *host) in mmc_start_host()
2288 void __mmc_stop_host(struct mmc_host *host) in __mmc_stop_host()
2299 void mmc_stop_host(struct mmc_host *host) in mmc_stop_host()