/linux-4.1.27/drivers/mmc/core/ |
H A D | core.h | 19 void (*remove)(struct mmc_host *); 20 void (*detect)(struct mmc_host *); 21 int (*pre_suspend)(struct mmc_host *); 22 int (*suspend)(struct mmc_host *); 23 int (*resume)(struct mmc_host *); 24 int (*runtime_suspend)(struct mmc_host *); 25 int (*runtime_resume)(struct mmc_host *); 26 int (*power_save)(struct mmc_host *); 27 int (*power_restore)(struct mmc_host *); 28 int (*alive)(struct mmc_host *); 29 int (*shutdown)(struct mmc_host *); 30 int (*reset)(struct mmc_host *); 33 void mmc_attach_bus(struct mmc_host *host, const struct mmc_bus_ops *ops); 34 void mmc_detach_bus(struct mmc_host *host); 36 struct device_node *mmc_of_find_child_device(struct mmc_host *host, 41 void mmc_set_chip_select(struct mmc_host *host, int mode); 42 void mmc_set_clock(struct mmc_host *host, unsigned int hz); 43 void mmc_gate_clock(struct mmc_host *host); 44 void mmc_ungate_clock(struct mmc_host *host); 45 void mmc_set_ungated(struct mmc_host *host); 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_signal_voltage(struct mmc_host *host, int signal_voltage, u32 ocr); 50 int __mmc_set_signal_voltage(struct mmc_host *host, int signal_voltage); 51 void mmc_set_timing(struct mmc_host *host, unsigned int timing); 52 void mmc_set_driver_type(struct mmc_host *host, unsigned int drv_type); 53 void mmc_power_up(struct mmc_host *host, u32 ocr); 54 void mmc_power_off(struct mmc_host *host); 55 void mmc_power_cycle(struct mmc_host *host, u32 ocr); 56 void mmc_set_initial_state(struct mmc_host *host); 69 void mmc_start_host(struct mmc_host *host); 70 void mmc_stop_host(struct mmc_host *host); 72 int _mmc_detect_card_removed(struct mmc_host *host); 74 int mmc_attach_mmc(struct mmc_host *host); 75 int mmc_attach_sd(struct mmc_host *host); 76 int mmc_attach_sdio(struct mmc_host *host); 82 void mmc_add_host_debugfs(struct mmc_host *host); 83 void mmc_remove_host_debugfs(struct mmc_host *host); 88 void mmc_init_context_info(struct mmc_host *host);
|
H A D | pwrseq.h | 12 void (*pre_power_on)(struct mmc_host *host); 13 void (*post_power_on)(struct mmc_host *host); 14 void (*power_off)(struct mmc_host *host); 15 void (*free)(struct mmc_host *host); 24 int mmc_pwrseq_alloc(struct mmc_host *host); 25 void mmc_pwrseq_pre_power_on(struct mmc_host *host); 26 void mmc_pwrseq_post_power_on(struct mmc_host *host); 27 void mmc_pwrseq_power_off(struct mmc_host *host); 28 void mmc_pwrseq_free(struct mmc_host *host); 30 struct mmc_pwrseq *mmc_pwrseq_simple_alloc(struct mmc_host *host, 32 struct mmc_pwrseq *mmc_pwrseq_emmc_alloc(struct mmc_host *host, 37 static inline int mmc_pwrseq_alloc(struct mmc_host *host) { return 0; } mmc_pwrseq_pre_power_on() 38 static inline void mmc_pwrseq_pre_power_on(struct mmc_host *host) {} mmc_pwrseq_post_power_on() 39 static inline void mmc_pwrseq_post_power_on(struct mmc_host *host) {} mmc_pwrseq_power_off() 40 static inline void mmc_pwrseq_power_off(struct mmc_host *host) {} mmc_pwrseq_free() 41 static inline void mmc_pwrseq_free(struct mmc_host *host) {}
|
H A D | mmc_ops.h | 16 int mmc_deselect_cards(struct mmc_host *host); 17 int mmc_set_dsr(struct mmc_host *host); 18 int mmc_go_idle(struct mmc_host *host); 19 int mmc_send_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr); 20 int mmc_all_send_cid(struct mmc_host *host, u32 *cid); 24 int mmc_send_cid(struct mmc_host *host, u32 *cid); 25 int mmc_spi_read_ocr(struct mmc_host *host, int highcap, u32 *ocrp); 26 int mmc_spi_set_crc(struct mmc_host *host, int use_crc);
|
H A D | sd.h | 8 int mmc_sd_get_cid(struct mmc_host *host, u32 ocr, u32 *cid, u32 *rocr); 9 int mmc_sd_get_csd(struct mmc_host *host, struct mmc_card *card); 11 int mmc_sd_setup_card(struct mmc_host *host, struct mmc_card *card,
|
H A D | slot-gpio.h | 11 int mmc_gpio_alloc(struct mmc_host *host);
|
H A D | sd_ops.h | 16 int mmc_send_app_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr); 17 int mmc_send_if_cond(struct mmc_host *host, u32 ocr); 18 int mmc_send_relative_addr(struct mmc_host *host, unsigned int *rca);
|
H A D | pwrseq.c | 22 struct mmc_pwrseq *(*alloc)(struct mmc_host *host, struct device *dev); 50 int mmc_pwrseq_alloc(struct mmc_host *host) mmc_pwrseq_alloc() 88 void mmc_pwrseq_pre_power_on(struct mmc_host *host) mmc_pwrseq_pre_power_on() 96 void mmc_pwrseq_post_power_on(struct mmc_host *host) mmc_pwrseq_post_power_on() 104 void mmc_pwrseq_power_off(struct mmc_host *host) mmc_pwrseq_power_off() 112 void mmc_pwrseq_free(struct mmc_host *host) mmc_pwrseq_free()
|
H A D | sdio_ops.h | 15 int mmc_send_io_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr); 20 int sdio_reset(struct mmc_host *host);
|
H A D | pwrseq_simple.c | 40 static void mmc_pwrseq_simple_pre_power_on(struct mmc_host *host) mmc_pwrseq_simple_pre_power_on() 53 static void mmc_pwrseq_simple_post_power_on(struct mmc_host *host) mmc_pwrseq_simple_post_power_on() 61 static void mmc_pwrseq_simple_power_off(struct mmc_host *host) mmc_pwrseq_simple_power_off() 74 static void mmc_pwrseq_simple_free(struct mmc_host *host) mmc_pwrseq_simple_free() 97 struct mmc_pwrseq *mmc_pwrseq_simple_alloc(struct mmc_host *host, mmc_pwrseq_simple_alloc()
|
H A D | pwrseq_emmc.c | 36 static void mmc_pwrseq_emmc_reset(struct mmc_host *host) mmc_pwrseq_emmc_reset() 44 static void mmc_pwrseq_emmc_free(struct mmc_host *host) mmc_pwrseq_emmc_free() 69 struct mmc_pwrseq *mmc_pwrseq_emmc_alloc(struct mmc_host *host, mmc_pwrseq_emmc_alloc()
|
H A D | slot-gpio.c | 36 struct mmc_host *host = dev_id; mmc_gpio_cd_irqt() 44 int mmc_gpio_alloc(struct mmc_host *host) mmc_gpio_alloc() 61 int mmc_gpio_get_ro(struct mmc_host *host) mmc_gpio_get_ro() 76 int mmc_gpio_get_cd(struct mmc_host *host) mmc_gpio_get_cd() 101 int mmc_gpio_request_ro(struct mmc_host *host, unsigned int gpio) mmc_gpio_request_ro() 121 void mmc_gpiod_request_cd_irq(struct mmc_host *host) mmc_gpiod_request_cd_irq() 160 void mmc_gpio_set_cd_isr(struct mmc_host *host, mmc_gpio_set_cd_isr() 185 int mmc_gpio_request_cd(struct mmc_host *host, unsigned int gpio, mmc_gpio_request_cd() 230 int mmc_gpiod_request_cd(struct mmc_host *host, const char *con_id, mmc_gpiod_request_cd() 276 int mmc_gpiod_request_ro(struct mmc_host *host, const char *con_id, mmc_gpiod_request_ro()
|
H A D | host.c | 35 #define cls_dev_to_mmc_host(d) container_of(d, struct mmc_host, class_dev) 42 struct mmc_host *host = cls_dev_to_mmc_host(dev); mmc_host_classdev_release() 50 .name = "mmc_host", 68 struct mmc_host *host = cls_dev_to_mmc_host(dev); clkgate_delay_show() 75 struct mmc_host *host = cls_dev_to_mmc_host(dev); clkgate_delay_store() 94 static void mmc_host_clk_gate_delayed(struct mmc_host *host) mmc_host_clk_gate_delayed() 145 struct mmc_host *host = container_of(work, struct mmc_host, mmc_host_clk_gate_work() 159 void mmc_host_clk_hold(struct mmc_host *host) mmc_host_clk_hold() 206 void mmc_host_clk_release(struct mmc_host *host) mmc_host_clk_release() 225 unsigned int mmc_host_clk_rate(struct mmc_host *host) mmc_host_clk_rate() 243 static inline void mmc_host_clk_init(struct mmc_host *host) mmc_host_clk_init() 263 static inline void mmc_host_clk_exit(struct mmc_host *host) mmc_host_clk_exit() 277 static inline void mmc_host_clk_sysfs_init(struct mmc_host *host) mmc_host_clk_sysfs_init() 290 static inline void mmc_host_clk_init(struct mmc_host *host) mmc_host_clk_init() 294 static inline void mmc_host_clk_exit(struct mmc_host *host) mmc_host_clk_exit() 298 static inline void mmc_host_clk_sysfs_init(struct mmc_host *host) mmc_host_clk_sysfs_init() 313 int mmc_of_parse(struct mmc_host *host) mmc_of_parse() 464 struct mmc_host *mmc_alloc_host(int extra, struct device *dev) mmc_alloc_host() 467 struct mmc_host *host; mmc_alloc_host() 469 host = kzalloc(sizeof(struct mmc_host) + extra, GFP_KERNEL); mmc_alloc_host() 532 int mmc_add_host(struct mmc_host *host) mmc_add_host() 566 void mmc_remove_host(struct mmc_host *host) mmc_remove_host() 590 void mmc_free_host(struct mmc_host *host) mmc_free_host()
|
H A D | bus.h | 22 struct mmc_card *mmc_alloc_card(struct mmc_host *host,
|
H A D | bus.c | 132 struct mmc_host *host = card->host; mmc_bus_shutdown() 150 struct mmc_host *host = card->host; mmc_bus_suspend() 164 struct mmc_host *host = card->host; mmc_bus_resume() 181 struct mmc_host *host = card->host; mmc_runtime_suspend() 189 struct mmc_host *host = card->host; mmc_runtime_resume() 259 struct mmc_card *mmc_alloc_card(struct mmc_host *host, struct device_type *type) mmc_alloc_card()
|
H A D | debugfs.c | 55 struct mmc_host *host = s->private; mmc_ios_show() 186 struct mmc_host *host = data; mmc_clock_opt_get() 195 struct mmc_host *host = data; mmc_clock_opt_set() 211 void mmc_add_host_debugfs(struct mmc_host *host) mmc_add_host_debugfs() 256 void mmc_remove_host_debugfs(struct mmc_host *host) mmc_remove_host_debugfs() 338 struct mmc_host *host = card->host; mmc_add_card_debugfs()
|
H A D | core.c | 92 static void mmc_should_fail_request(struct mmc_host *host, mmc_should_fail_request() 116 static inline void mmc_should_fail_request(struct mmc_host *host, mmc_should_fail_request() 131 void mmc_request_done(struct mmc_host *host, struct mmc_request *mrq) mmc_request_done() 189 static int mmc_start_request(struct mmc_host *host, struct mmc_request *mrq) mmc_start_request() 352 static int __mmc_start_data_req(struct mmc_host *host, struct mmc_request *mrq) __mmc_start_data_req() 368 static int __mmc_start_req(struct mmc_host *host, struct mmc_request *mrq) __mmc_start_req() 395 static int mmc_wait_for_data_req_done(struct mmc_host *host, mmc_wait_for_data_req_done() 441 static void mmc_wait_for_req_done(struct mmc_host *host, mmc_wait_for_req_done() 491 static void mmc_pre_req(struct mmc_host *host, struct mmc_request *mrq, mmc_pre_req() 510 static void mmc_post_req(struct mmc_host *host, struct mmc_request *mrq, mmc_post_req() 536 struct mmc_async_req *mmc_start_req(struct mmc_host *host, mmc_start_req() 608 void mmc_wait_for_req(struct mmc_host *host, struct mmc_request *mrq) mmc_wait_for_req() 692 int mmc_wait_for_cmd(struct mmc_host *host, struct mmc_command *cmd, int retries) mmc_wait_for_cmd() 897 int __mmc_claim_host(struct mmc_host *host, atomic_t *abort) __mmc_claim_host() 943 void mmc_release_host(struct mmc_host *host) mmc_release_host() 991 static inline void mmc_set_ios(struct mmc_host *host) mmc_set_ios() 1009 void mmc_set_chip_select(struct mmc_host *host, int mode) mmc_set_chip_select() 1021 static void __mmc_set_clock(struct mmc_host *host, unsigned int hz) __mmc_set_clock() 1032 void mmc_set_clock(struct mmc_host *host, unsigned int hz) mmc_set_clock() 1043 void mmc_gate_clock(struct mmc_host *host) mmc_gate_clock() 1059 void mmc_ungate_clock(struct mmc_host *host) mmc_ungate_clock() 1075 void mmc_set_ungated(struct mmc_host *host) mmc_set_ungated() 1089 void mmc_set_ungated(struct mmc_host *host) mmc_set_ungated() 1096 struct mmc_host *host = card->host; mmc_execute_tuning() 1121 void mmc_set_bus_mode(struct mmc_host *host, unsigned int mode) mmc_set_bus_mode() 1132 void mmc_set_bus_width(struct mmc_host *host, unsigned int width) mmc_set_bus_width() 1143 void mmc_set_initial_state(struct mmc_host *host) mmc_set_initial_state() 1285 struct device_node *mmc_of_find_child_device(struct mmc_host *host, mmc_of_find_child_device() 1358 int mmc_regulator_set_ocr(struct mmc_host *mmc, mmc_regulator_set_ocr() 1404 int mmc_regulator_get_supply(struct mmc_host *mmc) mmc_regulator_get_supply() 1438 u32 mmc_select_voltage(struct mmc_host *host, u32 ocr) mmc_select_voltage() 1472 int __mmc_set_signal_voltage(struct mmc_host *host, int signal_voltage) __mmc_set_signal_voltage() 1491 int mmc_set_signal_voltage(struct mmc_host *host, int signal_voltage, u32 ocr) mmc_set_signal_voltage() 1587 void mmc_set_timing(struct mmc_host *host, unsigned int timing) mmc_set_timing() 1598 void mmc_set_driver_type(struct mmc_host *host, unsigned int drv_type) mmc_set_driver_type() 1617 void mmc_power_up(struct mmc_host *host, u32 ocr) mmc_power_up() 1661 void mmc_power_off(struct mmc_host *host) mmc_power_off() 1687 void mmc_power_cycle(struct mmc_host *host, u32 ocr) mmc_power_cycle() 1698 static void __mmc_release_bus(struct mmc_host *host) __mmc_release_bus() 1710 static inline void mmc_bus_get(struct mmc_host *host) mmc_bus_get() 1723 static inline void mmc_bus_put(struct mmc_host *host) mmc_bus_put() 1738 void mmc_attach_bus(struct mmc_host *host, const struct mmc_bus_ops *ops) mmc_attach_bus() 1762 void mmc_detach_bus(struct mmc_host *host) mmc_detach_bus() 1780 static void _mmc_detect_change(struct mmc_host *host, unsigned long delay, _mmc_detect_change() 1812 void mmc_detect_change(struct mmc_host *host, unsigned long delay) mmc_detect_change() 2210 struct mmc_host *host = card->host; mmc_do_calc_max_discard() 2255 struct mmc_host *host = card->host; mmc_calc_max_discard() 2311 static void mmc_hw_reset_for_init(struct mmc_host *host) mmc_hw_reset_for_init() 2320 int mmc_hw_reset(struct mmc_host *host) mmc_hw_reset() 2342 static int mmc_rescan_try_freq(struct mmc_host *host, unsigned freq) mmc_rescan_try_freq() 2380 int _mmc_detect_card_removed(struct mmc_host *host) _mmc_detect_card_removed() 2412 int mmc_detect_card_removed(struct mmc_host *host) mmc_detect_card_removed() 2449 struct mmc_host *host = mmc_rescan() 2450 container_of(work, struct mmc_host, detect.work); mmc_rescan() 2519 void mmc_start_host(struct mmc_host *host) mmc_start_host() 2532 void mmc_stop_host(struct mmc_host *host) mmc_stop_host() 2568 int mmc_power_save_host(struct mmc_host *host) mmc_power_save_host() 2594 int mmc_power_restore_host(struct mmc_host *host) mmc_power_restore_host() 2648 struct mmc_host *host = container_of( mmc_pm_notify() 2649 notify_block, struct mmc_host, pm_notify); mmc_pm_notify() 2703 void mmc_init_context_info(struct mmc_host *host) mmc_init_context_info()
|
H A D | mmc_ops.c | 90 static int _mmc_select_card(struct mmc_host *host, struct mmc_card *card) _mmc_select_card() 121 int mmc_deselect_cards(struct mmc_host *host) mmc_deselect_cards() 134 int mmc_set_dsr(struct mmc_host *host) mmc_set_dsr() 146 int mmc_go_idle(struct mmc_host *host) mmc_go_idle() 183 int mmc_send_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr) mmc_send_op_cond() 223 int mmc_all_send_cid(struct mmc_host *host, u32 *cid) mmc_all_send_cid() 264 mmc_send_cxd_native(struct mmc_host *host, u32 arg, u32 *cxd, int opcode) mmc_send_cxd_native() 290 mmc_send_cxd_data(struct mmc_card *card, struct mmc_host *host, mmc_send_cxd_data() 364 int mmc_send_cid(struct mmc_host *host, u32 *cid) mmc_send_cid() 422 int mmc_spi_read_ocr(struct mmc_host *host, int highcap, u32 *ocrp) mmc_spi_read_ocr() 437 int mmc_spi_set_crc(struct mmc_host *host, int use_crc) mmc_spi_set_crc() 470 struct mmc_host *host = card->host; __mmc_switch() 580 int mmc_send_tuning(struct mmc_host *host) mmc_send_tuning() 650 mmc_send_bus_test(struct mmc_card *card, struct mmc_host *host, u8 opcode, mmc_send_bus_test()
|
H A D | sd_ops.c | 25 int mmc_app_cmd(struct mmc_host *host, struct mmc_card *card) mmc_app_cmd() 68 int mmc_wait_for_app_cmd(struct mmc_host *host, struct mmc_card *card, mmc_wait_for_app_cmd() 150 int mmc_send_app_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr) mmc_send_app_op_cond() 196 int mmc_send_if_cond(struct mmc_host *host, u32 ocr) mmc_send_if_cond() 227 int mmc_send_relative_addr(struct mmc_host *host, unsigned int *rca) mmc_send_relative_addr()
|
H A D | sdio_irq.c | 31 static int process_sdio_pending_irqs(struct mmc_host *host) process_sdio_pending_irqs() 92 void sdio_run_irqs(struct mmc_host *host) sdio_run_irqs() 103 struct mmc_host *host = _host; sdio_irq_thread() 195 struct mmc_host *host = card->host; sdio_card_irq_get() 222 struct mmc_host *host = card->host; sdio_card_irq_put()
|
H A D | sdio_ops.c | 22 int mmc_send_io_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr) mmc_send_io_op_cond() 68 static int mmc_io_rw_direct_host(struct mmc_host *host, int write, unsigned fn, mmc_io_rw_direct_host() 207 int sdio_reset(struct mmc_host *host) sdio_reset()
|
H A D | mmc.c | 183 struct mmc_host *host = card->host; mmc_select_card_type() 778 struct mmc_host *host = card->host; __mmc_select_powerclass() 840 struct mmc_host *host = card->host; mmc_select_powerclass() 902 struct mmc_host *host = card->host; mmc_select_bus_width() 980 struct mmc_host *host = card->host; mmc_select_hs_ddr() 1048 struct mmc_host *host = card->host; mmc_select_hs400() 1110 struct mmc_host *host = card->host; mmc_select_hs200() 1181 struct mmc_host *host = card->host; mmc_hs200_tuning() 1201 static int mmc_init_card(struct mmc_host *host, u32 ocr, mmc_init_card() 1514 static int mmc_sleep(struct mmc_host *host) mmc_sleep() 1590 static void mmc_remove(struct mmc_host *host) mmc_remove() 1602 static int mmc_alive(struct mmc_host *host) mmc_alive() 1610 static void mmc_detect(struct mmc_host *host) mmc_detect() 1636 static int _mmc_suspend(struct mmc_host *host, bool is_suspend) _mmc_suspend() 1680 static int mmc_suspend(struct mmc_host *host) mmc_suspend() 1697 static int _mmc_resume(struct mmc_host *host) _mmc_resume() 1721 static int mmc_shutdown(struct mmc_host *host) mmc_shutdown() 1742 static int mmc_resume(struct mmc_host *host) mmc_resume() 1759 static int mmc_runtime_suspend(struct mmc_host *host) mmc_runtime_suspend() 1777 static int mmc_runtime_resume(struct mmc_host *host) mmc_runtime_resume() 1792 static int mmc_power_restore(struct mmc_host *host) mmc_power_restore() 1814 static int mmc_reset(struct mmc_host *host) mmc_reset() 1859 int mmc_attach_mmc(struct mmc_host *host) mmc_attach_mmc()
|
H A D | sd.c | 530 static u32 sd_get_host_max_current(struct mmc_host *host) sd_get_host_max_current() 729 int mmc_sd_get_cid(struct mmc_host *host, u32 ocr, u32 *cid, u32 *rocr) mmc_sd_get_cid() 805 int mmc_sd_get_csd(struct mmc_host *host, struct mmc_card *card) mmc_sd_get_csd() 823 int mmc_sd_setup_card(struct mmc_host *host, struct mmc_card *card, mmc_sd_setup_card() 913 static int mmc_sd_init_card(struct mmc_host *host, u32 ocr, mmc_sd_init_card() 1035 static void mmc_sd_remove(struct mmc_host *host) mmc_sd_remove() 1047 static int mmc_sd_alive(struct mmc_host *host) mmc_sd_alive() 1055 static void mmc_sd_detect(struct mmc_host *host) mmc_sd_detect() 1081 static int _mmc_sd_suspend(struct mmc_host *host) _mmc_sd_suspend() 1109 static int mmc_sd_suspend(struct mmc_host *host) mmc_sd_suspend() 1126 static int _mmc_sd_resume(struct mmc_host *host) _mmc_sd_resume() 1150 static int mmc_sd_resume(struct mmc_host *host) mmc_sd_resume() 1167 static int mmc_sd_runtime_suspend(struct mmc_host *host) mmc_sd_runtime_suspend() 1185 static int mmc_sd_runtime_resume(struct mmc_host *host) mmc_sd_runtime_resume() 1200 static int mmc_sd_power_restore(struct mmc_host *host) mmc_sd_power_restore() 1211 static int mmc_sd_reset(struct mmc_host *host) mmc_sd_reset() 1233 int mmc_attach_sd(struct mmc_host *host) mmc_attach_sd()
|
H A D | sdio.c | 582 static int mmc_sdio_init_card(struct mmc_host *host, u32 ocr, mmc_sdio_init_card() 823 static void mmc_sdio_remove(struct mmc_host *host) mmc_sdio_remove() 844 static int mmc_sdio_alive(struct mmc_host *host) mmc_sdio_alive() 852 static void mmc_sdio_detect(struct mmc_host *host) mmc_sdio_detect() 907 static int mmc_sdio_pre_suspend(struct mmc_host *host) mmc_sdio_pre_suspend() 929 static int mmc_sdio_suspend(struct mmc_host *host) mmc_sdio_suspend() 943 static int mmc_sdio_resume(struct mmc_host *host) mmc_sdio_resume() 1000 static int mmc_sdio_power_restore(struct mmc_host *host) mmc_sdio_power_restore() 1045 static int mmc_sdio_runtime_suspend(struct mmc_host *host) mmc_sdio_runtime_suspend() 1052 static int mmc_sdio_runtime_resume(struct mmc_host *host) mmc_sdio_runtime_resume() 1075 int mmc_attach_sdio(struct mmc_host *host) mmc_attach_sdio()
|
H A D | sdio_bus.c | 291 struct mmc_host *host = func->card->host; sdio_acpi_set_handle() 302 struct mmc_host *host = func->card->host; sdio_set_of_node()
|
H A D | sdio_io.c | 708 struct mmc_host *host; sdio_set_host_pm_flags()
|
/linux-4.1.27/include/linux/mmc/ |
H A D | slot-gpio.h | 14 struct mmc_host; 16 int mmc_gpio_get_ro(struct mmc_host *host); 17 int mmc_gpio_request_ro(struct mmc_host *host, unsigned int gpio); 19 int mmc_gpio_get_cd(struct mmc_host *host); 20 int mmc_gpio_request_cd(struct mmc_host *host, unsigned int gpio, 23 int mmc_gpiod_request_cd(struct mmc_host *host, const char *con_id, 26 int mmc_gpiod_request_ro(struct mmc_host *host, const char *con_id, 29 void mmc_gpio_set_cd_isr(struct mmc_host *host, 31 void mmc_gpiod_request_cd_irq(struct mmc_host *host);
|
H A D | host.h | 90 void (*post_req)(struct mmc_host *host, struct mmc_request *req, 92 void (*pre_req)(struct mmc_host *host, struct mmc_request *req, 94 void (*request)(struct mmc_host *host, struct mmc_request *req); 115 void (*set_ios)(struct mmc_host *host, struct mmc_ios *ios); 116 int (*get_ro)(struct mmc_host *host); 117 int (*get_cd)(struct mmc_host *host); 119 void (*enable_sdio_irq)(struct mmc_host *host, int enable); 122 void (*init_card)(struct mmc_host *host, struct mmc_card *card); 124 int (*start_signal_voltage_switch)(struct mmc_host *host, struct mmc_ios *ios); 127 int (*card_busy)(struct mmc_host *host); 130 int (*execute_tuning)(struct mmc_host *host, u32 opcode); 133 int (*prepare_hs400_tuning)(struct mmc_host *host, struct mmc_ios *ios); 135 void (*hw_reset)(struct mmc_host *host); 136 void (*card_event)(struct mmc_host *host); 199 struct mmc_host { struct 376 struct mmc_host *mmc_alloc_host(int extra, struct device *); 377 int mmc_add_host(struct mmc_host *); 378 void mmc_remove_host(struct mmc_host *); 379 void mmc_free_host(struct mmc_host *); 380 int mmc_of_parse(struct mmc_host *host); 382 static inline void *mmc_priv(struct mmc_host *host) mmc_priv() 393 int mmc_power_save_host(struct mmc_host *host); 394 int mmc_power_restore_host(struct mmc_host *host); 396 void mmc_detect_change(struct mmc_host *, unsigned long delay); 397 void mmc_request_done(struct mmc_host *, struct mmc_request *); 399 static inline void mmc_signal_sdio_irq(struct mmc_host *host) mmc_signal_sdio_irq() 406 void sdio_run_irqs(struct mmc_host *host); 410 int mmc_regulator_set_ocr(struct mmc_host *mmc, 419 static inline int mmc_regulator_set_ocr(struct mmc_host *mmc, mmc_regulator_set_ocr() 427 int mmc_regulator_get_supply(struct mmc_host *mmc); 431 static inline int mmc_card_is_removable(struct mmc_host *host) mmc_card_is_removable() 436 static inline int mmc_card_keep_power(struct mmc_host *host) mmc_card_keep_power() 441 static inline int mmc_card_wake_sdio_irq(struct mmc_host *host) mmc_card_wake_sdio_irq() 446 static inline int mmc_host_cmd23(struct mmc_host *host) mmc_host_cmd23() 451 static inline int mmc_boot_partition_access(struct mmc_host *host) mmc_boot_partition_access() 456 static inline int mmc_host_uhs(struct mmc_host *host) mmc_host_uhs() 464 static inline int mmc_host_packed_wr(struct mmc_host *host) mmc_host_packed_wr() 470 void mmc_host_clk_hold(struct mmc_host *host); 471 void mmc_host_clk_release(struct mmc_host *host); 472 unsigned int mmc_host_clk_rate(struct mmc_host *host); 475 static inline void mmc_host_clk_hold(struct mmc_host *host) mmc_host_clk_hold() 479 static inline void mmc_host_clk_release(struct mmc_host *host) mmc_host_clk_release() 483 static inline unsigned int mmc_host_clk_rate(struct mmc_host *host) mmc_host_clk_rate()
|
H A D | core.h | 129 struct mmc_host; 138 struct mmc_host *host; 146 extern struct mmc_async_req *mmc_start_req(struct mmc_host *, 149 extern void mmc_wait_for_req(struct mmc_host *, struct mmc_request *); 150 extern int mmc_wait_for_cmd(struct mmc_host *, struct mmc_command *, int); 151 extern int mmc_app_cmd(struct mmc_host *, struct mmc_card *); 152 extern int mmc_wait_for_app_cmd(struct mmc_host *, struct mmc_card *, 158 extern int mmc_send_tuning(struct mmc_host *host); 185 extern int mmc_hw_reset(struct mmc_host *host); 191 extern int __mmc_claim_host(struct mmc_host *host, atomic_t *abort); 192 extern void mmc_release_host(struct mmc_host *host); 199 extern int mmc_detect_card_removed(struct mmc_host *host); 207 static inline void mmc_claim_host(struct mmc_host *host) mmc_claim_host()
|
H A D | card.h | 201 struct mmc_host; 248 struct mmc_host *host; /* the host this device belongs to */
|
/linux-4.1.27/arch/mips/alchemy/devboards/ |
H A D | db1000.c | 177 void (*mmc_cd)(struct mmc_host *, unsigned long); db1100_mmc_cd() 186 static int db1100_mmc_cd_setup(void *mmc_host, int en) db1100_mmc_cd_setup() argument 198 "sd0_cd", mmc_host); db1100_mmc_cd_setup() 200 free_irq(irq, mmc_host); db1100_mmc_cd_setup() 204 static int db1100_mmc1_cd_setup(void *mmc_host, int en) db1100_mmc1_cd_setup() argument 216 "sd1_cd", mmc_host); db1100_mmc1_cd_setup() 218 free_irq(irq, mmc_host); db1100_mmc1_cd_setup() 222 static int db1100_mmc_card_readonly(void *mmc_host) db1100_mmc_card_readonly() argument 228 static int db1100_mmc_card_inserted(void *mmc_host) db1100_mmc_card_inserted() argument 233 static void db1100_mmc_set_power(void *mmc_host, int state) db1100_mmc_set_power() argument 261 static int db1100_mmc1_card_readonly(void *mmc_host) db1100_mmc1_card_readonly() argument 266 static int db1100_mmc1_card_inserted(void *mmc_host) db1100_mmc1_card_inserted() argument 271 static void db1100_mmc1_set_power(void *mmc_host, int state) db1100_mmc1_set_power() argument
|
H A D | db1200.c | 352 void(*mmc_cd)(struct mmc_host *, unsigned long); db1200_mmc_cd() 372 static int db1200_mmc_cd_setup(void *mmc_host, int en) db1200_mmc_cd_setup() argument 378 0, "sd_insert", mmc_host); db1200_mmc_cd_setup() 383 0, "sd_eject", mmc_host); db1200_mmc_cd_setup() 385 free_irq(DB1200_SD0_INSERT_INT, mmc_host); db1200_mmc_cd_setup() 395 free_irq(DB1200_SD0_INSERT_INT, mmc_host); db1200_mmc_cd_setup() 396 free_irq(DB1200_SD0_EJECT_INT, mmc_host); db1200_mmc_cd_setup() 403 static void db1200_mmc_set_power(void *mmc_host, int state) db1200_mmc_set_power() argument 412 static int db1200_mmc_card_readonly(void *mmc_host) db1200_mmc_card_readonly() argument 417 static int db1200_mmc_card_inserted(void *mmc_host) db1200_mmc_card_inserted() argument 439 void(*mmc_cd)(struct mmc_host *, unsigned long); pb1200_mmc1_cd() 459 static int pb1200_mmc1_cd_setup(void *mmc_host, int en) pb1200_mmc1_cd_setup() argument 465 "sd1_insert", mmc_host); pb1200_mmc1_cd_setup() 470 "sd1_eject", mmc_host); pb1200_mmc1_cd_setup() 472 free_irq(PB1200_SD1_INSERT_INT, mmc_host); pb1200_mmc1_cd_setup() 482 free_irq(PB1200_SD1_INSERT_INT, mmc_host); pb1200_mmc1_cd_setup() 483 free_irq(PB1200_SD1_EJECT_INT, mmc_host); pb1200_mmc1_cd_setup() 503 static void pb1200_mmc1_set_power(void *mmc_host, int state) pb1200_mmc1_set_power() argument 512 static int pb1200_mmc1_card_readonly(void *mmc_host) pb1200_mmc1_card_readonly() argument 517 static int pb1200_mmc1_card_inserted(void *mmc_host) pb1200_mmc1_card_inserted() argument
|
H A D | db1300.c | 451 void(*mmc_cd)(struct mmc_host *, unsigned long); db1300_mmc_cd() 472 static int db1300_mmc_card_readonly(void *mmc_host) db1300_mmc_card_readonly() argument 478 static int db1300_mmc_card_inserted(void *mmc_host) db1300_mmc_card_inserted() argument 483 static int db1300_mmc_cd_setup(void *mmc_host, int en) db1300_mmc_cd_setup() argument 489 "sd_insert", mmc_host); db1300_mmc_cd_setup() 494 "sd_eject", mmc_host); db1300_mmc_cd_setup() 496 free_irq(DB1300_SD1_INSERT_INT, mmc_host); db1300_mmc_cd_setup() 500 if (db1300_mmc_card_inserted(mmc_host)) db1300_mmc_cd_setup() 506 free_irq(DB1300_SD1_INSERT_INT, mmc_host); db1300_mmc_cd_setup() 507 free_irq(DB1300_SD1_EJECT_INT, mmc_host); db1300_mmc_cd_setup() 569 static int db1300_movinand_inserted(void *mmc_host) db1300_movinand_inserted() argument 574 static int db1300_movinand_readonly(void *mmc_host) db1300_movinand_readonly() argument
|
/linux-4.1.27/include/linux/platform_data/ |
H A D | mmc-pxamci.h | 8 struct mmc_host;
|
/linux-4.1.27/arch/mips/include/asm/mach-au1x00/ |
H A D | au1100_mmc.h | 44 int(*cd_setup)(void *mmc_host, int on); 45 int(*card_inserted)(void *mmc_host); 46 int(*card_readonly)(void *mmc_host); 47 void(*set_power)(void *mmc_host, int state);
|
/linux-4.1.27/drivers/mmc/host/ |
H A D | cb710-mmc.h | 25 static inline struct mmc_host *cb710_slot_to_mmc(struct cb710_slot *slot) cb710_slot_to_mmc() 30 static inline struct cb710_slot *cb710_mmc_to_slot(struct mmc_host *mmc) cb710_mmc_to_slot()
|
H A D | wmt-sdmmc.c | 189 struct mmc_host *mmc; 226 static void wmt_mci_read_response(struct mmc_host *mmc) wmt_mci_read_response() 257 static int wmt_mci_send_command(struct mmc_host *mmc, u8 command, u8 cmdtype, wmt_mci_send_command() 465 static void wmt_reset_hardware(struct mmc_host *mmc) wmt_reset_hardware() 504 static int wmt_dma_init(struct mmc_host *mmc) wmt_dma_init() 528 static void wmt_dma_config(struct mmc_host *mmc, u32 descaddr, u8 dir) wmt_dma_config() 562 static void wmt_mci_request(struct mmc_host *mmc, struct mmc_request *req) wmt_mci_request() 673 static void wmt_mci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) wmt_mci_set_ios() 713 static int wmt_mci_get_ro(struct mmc_host *mmc) wmt_mci_get_ro() 720 static int wmt_mci_get_cd(struct mmc_host *mmc) wmt_mci_get_cd() 754 struct mmc_host *mmc; wmt_mci_probe() 786 dev_err(&pdev->dev, "Failed to allocate mmc_host\n"); wmt_mci_probe() 882 struct mmc_host *mmc; wmt_mci_remove() 927 struct mmc_host *mmc = platform_get_drvdata(pdev); wmt_mci_suspend() 952 struct mmc_host *mmc = platform_get_drvdata(pdev); wmt_mci_resume()
|
H A D | rtsx_pci_sdmmc.c | 39 struct mmc_host *mmc; 194 static void sdmmc_pre_req(struct mmc_host *mmc, struct mmc_request *mrq, sdmmc_pre_req() 211 static void sdmmc_post_req(struct mmc_host *mmc, struct mmc_request *mrq, sdmmc_post_req() 445 struct mmc_host *mmc = host->mmc; sd_read_long_data() 503 struct mmc_host *mmc = host->mmc; sd_write_long_data() 805 struct mmc_host *mmc = host->mmc; sd_request() 876 static void sdmmc_request(struct mmc_host *mmc, struct mmc_request *mrq) sdmmc_request() 1050 static void sdmmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) sdmmc_set_ios() 1098 static int sdmmc_get_ro(struct mmc_host *mmc) sdmmc_get_ro() 1123 static int sdmmc_get_cd(struct mmc_host *mmc) sdmmc_get_cd() 1221 static int sdmmc_switch_voltage(struct mmc_host *mmc, struct mmc_ios *ios) sdmmc_switch_voltage() 1273 static int sdmmc_execute_tuning(struct mmc_host *mmc, u32 opcode) sdmmc_execute_tuning() 1337 struct mmc_host *mmc = host->mmc; init_extra_caps() 1356 struct mmc_host *mmc = host->mmc; realtek_init_host() 1388 struct mmc_host *mmc; rtsx_pci_sdmmc_drv_probe() 1435 struct mmc_host *mmc; rtsx_pci_sdmmc_drv_remove()
|
H A D | s3cmci.h | 23 struct mmc_host *mmc;
|
H A D | sdricoh_cs.c | 94 struct mmc_host *mmc; /* MMC structure */ 265 static void sdricoh_request(struct mmc_host *mmc, struct mmc_request *mrq) sdricoh_request() 355 static void sdricoh_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) sdricoh_set_ios() 376 static int sdricoh_get_ro(struct mmc_host *mmc) sdricoh_get_ro() 403 struct mmc_host *mmc = NULL; sdricoh_init_mmc() 500 struct mmc_host *mmc = link->priv; sdricoh_pcmcia_detach() 525 struct mmc_host *mmc = link->priv; sdricoh_pcmcia_resume()
|
H A D | cb710-mmc.c | 28 static void cb710_mmc_select_clock_divider(struct mmc_host *mmc, int hz) cb710_mmc_select_clock_divider() 444 static int cb710_mmc_command(struct mmc_host *mmc, struct mmc_command *cmd) cb710_mmc_command() 484 static void cb710_mmc_request(struct mmc_host *mmc, struct mmc_request *mrq) cb710_mmc_request() 561 static void cb710_mmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) cb710_mmc_set_ios() 600 static int cb710_mmc_get_ro(struct mmc_host *mmc) cb710_mmc_get_ro() 608 static int cb710_mmc_get_cd(struct mmc_host *mmc) cb710_mmc_get_cd() 618 struct mmc_host *mmc = cb710_slot_to_mmc(slot); cb710_mmc_irq_handler() 650 struct mmc_host *mmc = (void *)data; cb710_mmc_finish_request_tasklet() 689 struct mmc_host *mmc; cb710_mmc_init() 744 struct mmc_host *mmc = cb710_slot_to_mmc(slot); cb710_mmc_exit()
|
H A D | tmio_mmc_pio.c | 129 static void tmio_mmc_enable_sdio_irq(struct mmc_host *mmc, int enable) tmio_mmc_enable_sdio_irq() 639 struct mmc_host *mmc = host->mmc; __tmio_mmc_card_detect_irq() 711 struct mmc_host *mmc = host->mmc; tmio_mmc_sdio_irq() 786 static void tmio_mmc_request(struct mmc_host *mmc, struct mmc_request *mrq) tmio_mmc_request() 837 struct mmc_host *mmc = host->mmc; tmio_mmc_clk_update() 852 struct mmc_host *mmc = host->mmc; tmio_mmc_power_on() 886 struct mmc_host *mmc = host->mmc; tmio_mmc_power_off() 917 static void tmio_mmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) tmio_mmc_set_ios() 986 static int tmio_mmc_get_ro(struct mmc_host *mmc) tmio_mmc_get_ro() 1026 struct mmc_host *mmc = host->mmc; tmio_mmc_init_ocr() 1059 struct mmc_host *mmc; tmio_mmc_host_alloc() 1083 struct mmc_host *mmc = _host->mmc; tmio_mmc_host_probe() 1219 struct mmc_host *mmc = host->mmc; tmio_mmc_host_remove() 1241 struct mmc_host *mmc = dev_get_drvdata(dev); tmio_mmc_host_runtime_suspend() 1258 struct mmc_host *mmc = dev_get_drvdata(dev); tmio_mmc_host_runtime_resume()
|
H A D | mxs-mmc.c | 65 struct mmc_host *mmc; 76 static int mxs_mmc_get_cd(struct mmc_host *mmc) mxs_mmc_get_cd() 490 static void mxs_mmc_request(struct mmc_host *mmc, struct mmc_request *mrq) mxs_mmc_request() 499 static void mxs_mmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) mxs_mmc_set_ios() 514 static void mxs_mmc_enable_sdio_irq(struct mmc_host *mmc, int enable) mxs_mmc_enable_sdio_irq() 578 struct mmc_host *mmc; mxs_mmc_probe() 690 struct mmc_host *mmc = platform_get_drvdata(pdev); mxs_mmc_remove() 709 struct mmc_host *mmc = dev_get_drvdata(dev); mxs_mmc_suspend() 719 struct mmc_host *mmc = dev_get_drvdata(dev); mxs_mmc_resume()
|
H A D | mxcmmc.c | 126 struct mmc_host *mmc; 765 static void mxcmci_request(struct mmc_host *mmc, struct mmc_request *req) mxcmci_request() 833 static int mxcmci_setup_dma(struct mmc_host *mmc) mxcmci_setup_dma() 849 static void mxcmci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) mxcmci_set_ios() 900 struct mmc_host *mmc = data; mxcmci_detect_irq() 908 static int mxcmci_get_ro(struct mmc_host *mmc) mxcmci_get_ro() 922 static void mxcmci_enable_sdio_irq(struct mmc_host *mmc, int enable) mxcmci_enable_sdio_irq() 941 static void mxcmci_init_card(struct mmc_host *host, struct mmc_card *card) mxcmci_init_card() 972 struct mmc_host *mmc = (struct mmc_host *)data; mxcmci_watchdog() 1009 struct mmc_host *mmc; mxcmci_probe() 1189 struct mmc_host *mmc = platform_get_drvdata(pdev); mxcmci_remove() 1210 struct mmc_host *mmc = dev_get_drvdata(dev); mxcmci_suspend() 1220 struct mmc_host *mmc = dev_get_drvdata(dev); mxcmci_resume()
|
H A D | omap.c | 116 struct mmc_host *mmc; 125 struct mmc_host * mmc; 313 struct mmc_host *mmc = container_of(dev, struct mmc_host, class_dev); mmc_omap_show_cover_switch() 326 struct mmc_host *mmc = container_of(dev, struct mmc_host, class_dev); mmc_omap_show_slot_name() 459 struct mmc_host *mmc; mmc_omap_xfer_done() 582 struct mmc_host *mmc; mmc_omap_cmd_done() 611 struct mmc_host *mmc; mmc_omap_abort_command() 1083 static void mmc_omap_request(struct mmc_host *mmc, struct mmc_request *req) mmc_omap_request() 1125 static int mmc_omap_calc_divisor(struct mmc_host *mmc, struct mmc_ios *ios) mmc_omap_calc_divisor() 1153 static void mmc_omap_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) mmc_omap_set_ios() 1224 struct mmc_host *mmc; mmc_omap_new_slot() 1303 struct mmc_host *mmc = slot->mmc; mmc_omap_remove_slot()
|
H A D | moxart-mmc.c | 132 struct mmc_host *mmc; 397 static void moxart_request(struct mmc_host *mmc, struct mmc_request *mrq) moxart_request() 493 static void moxart_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) moxart_set_ios() 543 static int moxart_get_ro(struct mmc_host *mmc) moxart_get_ro() 561 struct mmc_host *mmc; moxart_probe() 688 struct mmc_host *mmc = dev_get_drvdata(&pdev->dev); moxart_remove()
|
H A D | sdhci-msm.c | 62 struct mmc_host *mmc; 71 struct mmc_host *mmc = host->mmc; msm_dll_poll_ck_out_en() 101 struct mmc_host *mmc = host->mmc; msm_config_cm_dll_phase() 166 struct mmc_host *mmc = host->mmc; msm_find_most_appropriate_phase() 290 struct mmc_host *mmc = host->mmc; msm_init_cm_dll() 351 struct mmc_host *mmc = host->mmc; sdhci_msm_execute_tuning()
|
H A D | toshsd.c | 81 static void __toshsd_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) __toshsd_set_ios() 499 static void toshsd_request(struct mmc_host *mmc, struct mmc_request *mrq) toshsd_request() 527 static void toshsd_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) toshsd_set_ios() 537 static int toshsd_get_ro(struct mmc_host *mmc) toshsd_get_ro() 545 static int toshsd_get_cd(struct mmc_host *mmc) toshsd_get_cd() 611 struct mmc_host *mmc; toshsd_probe()
|
H A D | ushc.c | 95 struct mmc_host *mmc; 252 static void ushc_request(struct mmc_host *mmc, struct mmc_request *req) ushc_request() 375 static void ushc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) ushc_set_ios() 384 static int ushc_get_cd(struct mmc_host *mmc) ushc_get_cd() 391 static void ushc_enable_sdio_irq(struct mmc_host *mmc, int enable) ushc_enable_sdio_irq() 425 struct mmc_host *mmc; ushc_probe()
|
H A D | sh_mobile_sdhi.c | 116 struct mmc_host *mmc = platform_get_drvdata(pdev); sh_mobile_sdhi_clk_enable() 133 struct mmc_host *mmc = platform_get_drvdata(pdev); sh_mobile_sdhi_clk_disable() 364 struct mmc_host *mmc = platform_get_drvdata(pdev); sh_mobile_sdhi_remove()
|
H A D | android-goldfish.c | 118 struct mmc_host *mmc; 413 static void goldfish_mmc_request(struct mmc_host *mmc, struct mmc_request *req) goldfish_mmc_request() 432 static void goldfish_mmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) goldfish_mmc_set_ios() 440 static int goldfish_mmc_get_ro(struct mmc_host *mmc) goldfish_mmc_get_ro() 457 struct mmc_host *mmc; goldfish_mmc_probe()
|
H A D | bfin_sdh.c | 59 struct mmc_host *mmc; 333 static void sdh_request(struct mmc_host *mmc, struct mmc_request *mrq) sdh_request() 356 static void sdh_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) sdh_set_ios() 526 struct mmc_host *mmc; sdh_probe() 621 struct mmc_host *mmc = platform_get_drvdata(pdev); sdh_remove()
|
H A D | rtsx_usb_sdmmc.c | 47 struct mmc_host *mmc; 763 static int sdmmc_get_ro(struct mmc_host *mmc) sdmmc_get_ro() 791 static int sdmmc_get_cd(struct mmc_host *mmc) sdmmc_get_cd() 822 static void sdmmc_request(struct mmc_host *mmc, struct mmc_request *mrq) sdmmc_request() 1133 static void sdmmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) sdmmc_set_ios() 1179 static int sdmmc_switch_voltage(struct mmc_host *mmc, struct mmc_ios *ios) sdmmc_switch_voltage() 1228 static int sdmmc_card_busy(struct mmc_host *mmc) sdmmc_card_busy() 1268 static int sdmmc_execute_tuning(struct mmc_host *mmc, u32 opcode) sdmmc_execute_tuning() 1330 struct mmc_host *mmc = host->mmc; rtsx_usb_init_host() 1355 struct mmc_host *mmc; rtsx_usb_sdmmc_drv_probe() 1405 struct mmc_host *mmc; rtsx_usb_sdmmc_drv_remove()
|
H A D | pxamci.c | 54 struct mmc_host *mmc; 420 static void pxamci_request(struct mmc_host *mmc, struct mmc_request *mrq) pxamci_request() 449 static int pxamci_get_ro(struct mmc_host *mmc) pxamci_get_ro() 468 static void pxamci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) pxamci_set_ios() 538 static void pxamci_enable_sdio_irq(struct mmc_host *host, int enable) pxamci_enable_sdio_irq() 625 struct mmc_host *mmc; pxamci_probe() 834 struct mmc_host *mmc = platform_get_drvdata(pdev); pxamci_remove()
|
H A D | omap_hsmmc.c | 177 struct mmc_host *mmc; 423 static int omap_hsmmc_gpio_init(struct mmc_host *mmc, omap_hsmmc_gpio_init() 755 struct mmc_host *mmc = container_of(dev, struct mmc_host, class_dev); omap_hsmmc_show_cover_switch() 768 struct mmc_host *mmc = container_of(dev, struct mmc_host, class_dev); omap_hsmmc_show_slot_name() 1470 static void omap_hsmmc_post_req(struct mmc_host *mmc, struct mmc_request *mrq, omap_hsmmc_post_req() 1485 static void omap_hsmmc_pre_req(struct mmc_host *mmc, struct mmc_request *mrq, omap_hsmmc_pre_req() 1507 static void omap_hsmmc_request(struct mmc_host *mmc, struct mmc_request *req) omap_hsmmc_request() 1560 static void omap_hsmmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) omap_hsmmc_set_ios() 1614 static int omap_hsmmc_get_cd(struct mmc_host *mmc) omap_hsmmc_get_cd() 1623 static void omap_hsmmc_init_card(struct mmc_host *mmc, struct mmc_card *card) omap_hsmmc_init_card() 1631 static void omap_hsmmc_enable_sdio_irq(struct mmc_host *mmc, int enable) omap_hsmmc_enable_sdio_irq() 1668 struct mmc_host *mmc = host->mmc; omap_hsmmc_configure_wake_irq() 1776 struct mmc_host *mmc = s->private; omap_hsmmc_regs_show() 1825 static void omap_hsmmc_debugfs(struct mmc_host *mmc) omap_hsmmc_debugfs() 1834 static void omap_hsmmc_debugfs(struct mmc_host *mmc) omap_hsmmc_debugfs() 1917 struct mmc_host *mmc; omap_hsmmc_probe()
|
H A D | mvsdio.c | 54 struct mmc_host *mmc; 142 static void mvsd_request(struct mmc_host *mmc, struct mmc_request *mrq) mvsd_request() 556 static void mvsd_enable_sdio_irq(struct mmc_host *mmc, int enable) mvsd_enable_sdio_irq() 603 static void mvsd_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) mvsd_set_ios() 701 struct mmc_host *mmc = NULL; mvsd_probe() 835 struct mmc_host *mmc = platform_get_drvdata(pdev); mvsd_remove()
|
H A D | mmci.c | 223 static int mmci_card_busy(struct mmc_host *mmc) mmci_card_busy() 695 static void mmci_pre_request(struct mmc_host *mmc, struct mmc_request *mrq, mmci_pre_request() 714 static void mmci_post_request(struct mmc_host *mmc, struct mmc_request *mrq, mmci_post_request() 1280 static void mmci_request(struct mmc_host *mmc, struct mmc_request *mrq) mmci_request() 1313 static void mmci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) mmci_set_ios() 1422 static int mmci_get_cd(struct mmc_host *mmc) mmci_get_cd() 1437 static int mmci_sig_volt_switch(struct mmc_host *mmc, struct mmc_ios *ios) mmci_sig_volt_switch() 1480 static int mmci_of_parse(struct device_node *np, struct mmc_host *mmc) mmci_of_parse() 1516 struct mmc_host *mmc; mmci_probe() 1755 struct mmc_host *mmc = amba_get_drvdata(dev); mmci_remove() 1820 struct mmc_host *mmc = amba_get_drvdata(adev); mmci_runtime_suspend() 1835 struct mmc_host *mmc = amba_get_drvdata(adev); mmci_runtime_resume()
|
H A D | davinci_mmc.c | 184 struct mmc_host *mmc; 628 static void mmc_davinci_request(struct mmc_host *mmc, struct mmc_request *req) mmc_davinci_request() 683 static void calculate_clk_divider(struct mmc_host *mmc, struct mmc_ios *ios) calculate_clk_divider() 729 static void mmc_davinci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) mmc_davinci_set_ios() 1054 static int mmc_davinci_get_cd(struct mmc_host *mmc) mmc_davinci_get_cd() 1064 static int mmc_davinci_get_ro(struct mmc_host *mmc) mmc_davinci_get_ro() 1074 static void mmc_davinci_enable_sdio_irq(struct mmc_host *mmc, int enable) mmc_davinci_enable_sdio_irq() 1110 struct mmc_host *mmc; mmc_davinci_cpufreq_transition() 1233 struct mmc_host *mmc = NULL; davinci_mmcsd_probe()
|
H A D | tifm_sd.c | 483 host = mmc_priv((struct mmc_host*)tifm_get_drvdata(sock)); tifm_sd_data_event() 513 host = mmc_priv((struct mmc_host*)tifm_get_drvdata(sock)); tifm_sd_card_event() 621 static void tifm_sd_request(struct mmc_host *mmc, struct mmc_request *mrq) tifm_sd_request() 739 struct mmc_host *mmc = tifm_get_drvdata(sock); tifm_sd_end_cmd() 797 static void tifm_sd_ios(struct mmc_host *mmc, struct mmc_ios *ios) tifm_sd_ios() 864 static int tifm_sd_ro(struct mmc_host *mmc) tifm_sd_ro() 949 struct mmc_host *mmc; tifm_sd_probe() 1000 struct mmc_host *mmc = tifm_get_drvdata(sock); tifm_sd_remove() 1038 struct mmc_host *mmc = tifm_get_drvdata(sock); tifm_sd_resume()
|
H A D | tmio_mmc.c | 128 struct mmc_host *mmc = platform_get_drvdata(pdev); tmio_mmc_remove()
|
H A D | s3cmci.c | 146 static void s3cmci_send_request(struct mmc_host *mmc); 1129 static void s3cmci_send_request(struct mmc_host *mmc) s3cmci_send_request() 1181 static int s3cmci_card_present(struct mmc_host *mmc) s3cmci_card_present() 1194 static void s3cmci_request(struct mmc_host *mmc, struct mmc_request *mrq) s3cmci_request() 1233 static void s3cmci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) s3cmci_set_ios() 1299 static int s3cmci_get_ro(struct mmc_host *mmc) s3cmci_get_ro() 1314 static void s3cmci_enable_sdio_irq(struct mmc_host *mmc, int enable) s3cmci_enable_sdio_irq() 1375 struct mmc_host *mmc; s3cmci_cpufreq_transition() 1552 struct mmc_host *mmc; s3cmci_probe() 1812 struct mmc_host *mmc = platform_get_drvdata(pdev); s3cmci_shutdown() 1826 struct mmc_host *mmc = platform_get_drvdata(pdev); s3cmci_remove()
|
H A D | wbsd.c | 754 static void wbsd_request(struct mmc_host *mmc, struct mmc_request *mrq) wbsd_request() 850 static void wbsd_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) wbsd_set_ios() 923 static int wbsd_get_ro(struct mmc_host *mmc) wbsd_get_ro() 1200 struct mmc_host *mmc; wbsd_alloc_mmc() 1269 struct mmc_host *mmc; wbsd_free_mmc() 1650 struct mmc_host *mmc = NULL; wbsd_init() 1734 struct mmc_host *mmc = dev_get_drvdata(dev); wbsd_shutdown() 1814 struct mmc_host *mmc = platform_get_drvdata(dev); wbsd_platform_suspend() 1830 struct mmc_host *mmc = platform_get_drvdata(dev); wbsd_platform_resume() 1855 struct mmc_host *mmc = dev_get_drvdata(&pnp_dev->dev); wbsd_pnp_suspend() 1866 struct mmc_host *mmc = dev_get_drvdata(&pnp_dev->dev); wbsd_pnp_resume()
|
H A D | sdhci.c | 54 static int sdhci_execute_tuning(struct mmc_host *mmc, u32 opcode); 228 static void sdhci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios); 1287 struct mmc_host *mmc = host->mmc; sdhci_set_power() 1369 static void sdhci_request(struct mmc_host *mmc, struct mmc_request *mrq) sdhci_request() 1501 struct mmc_host *mmc = host->mmc; sdhci_do_set_ios() 1646 static void sdhci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) sdhci_set_ios() 1675 static int sdhci_get_cd(struct mmc_host *mmc) sdhci_get_cd() 1728 static void sdhci_hw_reset(struct mmc_host *mmc) sdhci_hw_reset() 1736 static int sdhci_get_ro(struct mmc_host *mmc) sdhci_get_ro() 1761 static void sdhci_enable_sdio_irq(struct mmc_host *mmc, int enable) sdhci_enable_sdio_irq() 1783 struct mmc_host *mmc = host->mmc; sdhci_do_start_signal_voltage_switch() 1871 static int sdhci_start_signal_voltage_switch(struct mmc_host *mmc, sdhci_start_signal_voltage_switch() 1885 static int sdhci_card_busy(struct mmc_host *mmc) sdhci_card_busy() 1898 static int sdhci_prepare_hs400_tuning(struct mmc_host *mmc, struct mmc_ios *ios) sdhci_prepare_hs400_tuning() 1910 static int sdhci_execute_tuning(struct mmc_host *mmc, u32 opcode) sdhci_execute_tuning() 2144 static void sdhci_post_req(struct mmc_host *mmc, struct mmc_request *mrq, sdhci_post_req() 2185 static void sdhci_pre_req(struct mmc_host *mmc, struct mmc_request *mrq, sdhci_pre_req() 2196 static void sdhci_card_event(struct mmc_host *mmc) sdhci_card_event() 2904 struct mmc_host *mmc; sdhci_alloc_host() 2923 struct mmc_host *mmc; sdhci_add_host() 3482 struct mmc_host *mmc = host->mmc; sdhci_remove_host()
|
H A D | au1xmmc.c | 90 struct mmc_host *mmc; 218 static int au1xmmc_card_inserted(struct mmc_host *mmc) au1xmmc_card_inserted() 228 static int au1xmmc_card_readonly(struct mmc_host *mmc) au1xmmc_card_readonly() 688 static void au1xmmc_request(struct mmc_host* mmc, struct mmc_request* mrq) au1xmmc_request() 754 static void au1xmmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) au1xmmc_set_ios() 928 static void au1xmmc_enable_sdio_irq(struct mmc_host *mmc, int en) au1xmmc_enable_sdio_irq() 948 struct mmc_host *mmc; au1xmmc_probe() 955 dev_err(&pdev->dev, "no memory for mmc_host\n"); au1xmmc_probe()
|
H A D | jz4740_mmc.c | 123 struct mmc_host *mmc; 322 static void jz4740_mmc_pre_request(struct mmc_host *mmc, jz4740_mmc_pre_request() 340 static void jz4740_mmc_post_request(struct mmc_host *mmc, jz4740_mmc_post_request() 842 static void jz4740_mmc_request(struct mmc_host *mmc, struct mmc_request *req) jz4740_mmc_request() 859 static void jz4740_mmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) jz4740_mmc_set_ios() 896 static void jz4740_mmc_enable_sdio_irq(struct mmc_host *mmc, int enable) jz4740_mmc_enable_sdio_irq() 943 static int jz4740_mmc_request_gpios(struct mmc_host *mmc, jz4740_mmc_request_gpios() 996 struct mmc_host *mmc; jz4740_mmc_probe()
|
H A D | sunxi-mmc.c | 221 struct mmc_host *mmc; 268 static int sunxi_mmc_init_host(struct mmc_host *mmc) sunxi_mmc_init_host() 686 static void sunxi_mmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) sunxi_mmc_set_ios() 741 static void sunxi_mmc_enable_sdio_irq(struct mmc_host *mmc, int enable) sunxi_mmc_enable_sdio_irq() 761 static void sunxi_mmc_hw_reset(struct mmc_host *mmc) sunxi_mmc_hw_reset() 770 static void sunxi_mmc_request(struct mmc_host *mmc, struct mmc_request *mrq) sunxi_mmc_request() 999 struct mmc_host *mmc; sunxi_mmc_probe() 1057 struct mmc_host *mmc = platform_get_drvdata(pdev); sunxi_mmc_remove()
|
H A D | usdhi6rol0.c | 159 struct mmc_host *mmc; 788 struct mmc_host *mmc = host->mmc; usdhi6_set_power() 810 static void usdhi6_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) usdhi6_set_ios() 1083 static void usdhi6_request(struct mmc_host *mmc, struct mmc_request *mrq) usdhi6_request() 1101 static int usdhi6_get_cd(struct mmc_host *mmc) usdhi6_get_cd() 1117 static int usdhi6_get_ro(struct mmc_host *mmc) usdhi6_get_ro() 1133 static void usdhi6_enable_sdio_irq(struct mmc_host *mmc, int enable) usdhi6_enable_sdio_irq() 1603 struct mmc_host *mmc = host->mmc; usdhi6_cd() 1698 struct mmc_host *mmc; usdhi6_probe()
|
H A D | dw_mmc.c | 109 static int dw_mci_card_busy(struct mmc_host *mmc); 192 struct mmc_host *mmc = slot->mmc; dw_mci_init_debugfs() 234 static u32 dw_mci_prepare_command(struct mmc_host *mmc, struct mmc_command *cmd) dw_mci_prepare_command() 709 static void dw_mci_pre_req(struct mmc_host *mmc, dw_mci_pre_req() 728 static void dw_mci_post_req(struct mmc_host *mmc, dw_mci_post_req() 1124 static void dw_mci_request(struct mmc_host *mmc, struct mmc_request *mrq) dw_mci_request() 1150 static void dw_mci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) dw_mci_set_ios() 1254 static int dw_mci_card_busy(struct mmc_host *mmc) dw_mci_card_busy() 1268 static int dw_mci_switch_voltage(struct mmc_host *mmc, struct mmc_ios *ios) dw_mci_switch_voltage() 1307 static int dw_mci_get_ro(struct mmc_host *mmc) dw_mci_get_ro() 1329 static int dw_mci_get_cd(struct mmc_host *mmc) dw_mci_get_cd() 1360 static void dw_mci_init_card(struct mmc_host *mmc, struct mmc_card *card) dw_mci_init_card() 1394 static void dw_mci_enable_sdio_irq(struct mmc_host *mmc, int enb) dw_mci_enable_sdio_irq() 1414 static int dw_mci_execute_tuning(struct mmc_host *mmc, u32 opcode) dw_mci_execute_tuning() 1426 static int dw_mci_prepare_hs400_tuning(struct mmc_host *mmc, struct mmc_ios *ios) dw_mci_prepare_hs400_tuning() 1458 struct mmc_host *prev_mmc = host->cur_slot->mmc; 2371 struct mmc_host *mmc; dw_mci_init_slot()
|
H A D | mmci.h | 204 struct mmc_host *mmc;
|
H A D | sdhci-sirf.c | 54 struct mmc_host *mmc = host->mmc; sdhci_sirf_execute_tuning()
|
H A D | toshsd.h | 165 struct mmc_host *mmc;
|
H A D | wbsd.h | 142 struct mmc_host* mmc; /* MMC structure */
|
H A D | dw_mmc.h | 228 * @mmc: The mmc_host representing this slot. 245 struct mmc_host *mmc;
|
H A D | via-sdmmc.c | 299 struct mmc_host *mmc; 659 static void via_sdc_request(struct mmc_host *mmc, struct mmc_request *mrq) via_sdc_request() 719 static void via_sdc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) via_sdc_set_ios() 781 static int via_sdc_get_ro(struct mmc_host *mmc) via_sdc_get_ro() 1033 struct mmc_host *mmc = host->mmc; via_init_mmc_host() 1088 struct mmc_host *mmc; via_sd_probe()
|
H A D | vub300.c | 339 struct mmc_host *mmc; 375 struct mmc_host *mmc = vub300->mmc; vub300_delete() 1905 static void vub300_mmc_request(struct mmc_host *mmc, struct mmc_request *req) vub300_mmc_request() 2011 static void vub300_mmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) vub300_mmc_set_ios() 2046 static int vub300_mmc_get_ro(struct mmc_host *mmc) vub300_mmc_get_ro() 2052 static void vub300_enable_sdio_irq(struct mmc_host *mmc, int enable) vub300_enable_sdio_irq() 2080 static void vub300_init_card(struct mmc_host *mmc, struct mmc_card *card) vub300_init_card() 2104 struct mmc_host *mmc; vub300_probe() 2132 dev_err(&udev->dev, "not enough memory for the mmc_host\n"); vub300_probe() 2373 struct mmc_host *mmc = vub300->mmc; vub300_disconnect()
|
H A D | sh_mmcif.c | 228 struct mmc_host *mmc; 937 static void sh_mmcif_request(struct mmc_host *mmc, struct mmc_request *mrq) sh_mmcif_request() 990 struct mmc_host *mmc = host->mmc; sh_mmcif_set_power() 998 static void sh_mmcif_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) sh_mmcif_set_ios() 1055 static int sh_mmcif_get_cd(struct mmc_host *mmc) sh_mmcif_get_cd() 1365 struct mmc_host *mmc = host->mmc; sh_mmcif_init_ocr() 1381 struct mmc_host *mmc; sh_mmcif_probe()
|
H A D | atmel-mci.c | 233 * @mmc: The mmc_host representing this slot. 251 struct mmc_host *mmc; 476 struct mmc_host *mmc = slot->mmc; atmci_init_debugfs() 662 static u32 atmci_prepare_command(struct mmc_host *mmc, atmci_prepare_command() 1252 static void atmci_request(struct mmc_host *mmc, struct mmc_request *mrq) atmci_request() 1287 static void atmci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) atmci_set_ios() 1431 static int atmci_get_ro(struct mmc_host *mmc) atmci_get_ro() 1445 static int atmci_get_cd(struct mmc_host *mmc) atmci_get_cd() 1460 static void atmci_enable_sdio_irq(struct mmc_host *mmc, int enable) atmci_enable_sdio_irq() 1485 struct mmc_host *prev_mmc = host->cur_slot->mmc; 2152 struct mmc_host *mmc; atmci_init_slot()
|
H A D | tmio_mmc.h | 56 struct mmc_host *mmc;
|
H A D | mmc_spi.c | 126 struct mmc_host *mmc; 1050 static void mmc_spi_request(struct mmc_host *mmc, struct mmc_request *mrq) mmc_spi_request() 1181 static void mmc_spi_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) mmc_spi_set_ios() 1297 struct mmc_host *mmc; mmc_spi_probe() 1486 struct mmc_host *mmc = dev_get_drvdata(&spi->dev); mmc_spi_remove()
|
H A D | sdhci-st.c | 153 struct mmc_host *mhost = host->mmc; st_mmcss_cconfig()
|
H A D | dw_mmc-exynos.c | 453 struct mmc_host *mmc = slot->mmc; dw_mci_exynos_execute_tuning()
|
H A D | sdhci.h | 420 struct mmc_host *mmc; /* MMC structure */
|
/linux-4.1.27/include/linux/spi/ |
H A D | mmc_spi.h | 8 struct mmc_host;
|
/linux-4.1.27/drivers/net/wireless/rsi/ |
H A D | rsi_91x_sdio.c | 113 struct mmc_host *host; rsi_issue_sdiocommand() 157 struct mmc_host *host = card->host; rsi_reset_card() 342 struct mmc_host *host = dev->pfunction->card->host; rsi_setclock()
|
/linux-4.1.27/drivers/mmc/card/ |
H A D | queue.c | 193 struct mmc_host *host = card->host; mmc_init_queue()
|
H A D | block.c | 795 struct mmc_host *host = card->host; send_stop() 1000 static int mmc_blk_reset(struct mmc_blk_data *md, struct mmc_host *host, mmc_blk_reset() 2025 struct mmc_host *host = card->host; mmc_blk_issue_rq()
|
H A D | mmc_test.c | 2341 struct mmc_host *host = card->host; mmc_test_hw_reset()
|
/linux-4.1.27/drivers/net/wireless/libertas/ |
H A D | if_sdio.c | 867 struct mmc_host *host = func->card->host; if_sdio_power_on() 1073 static struct mmc_host *reset_host;
|
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/ |
H A D | bcmsdh.c | 1017 struct mmc_host *host; brcmf_sdiod_probe()
|
/linux-4.1.27/drivers/net/wireless/mwifiex/ |
H A D | sdio.c | 2052 struct mmc_host *target = card->func->card->host; mwifiex_sdio_card_reset_work()
|