Home
last modified time | relevance | path

Searched refs:mmc_host (Results 1 – 25 of 53) sorted by relevance

123

/linux/include/linux/mmc/
H A Dhost.h140 struct mmc_host;
170 void (*post_req)(struct mmc_host *host, struct mmc_request *req,
172 void (*pre_req)(struct mmc_host *host, struct mmc_request *req);
173 void (*request)(struct mmc_host *host, struct mmc_request *req);
175 int (*request_atomic)(struct mmc_host *host,
192 void (*set_ios)(struct mmc_host *host, struct mmc_ios *ios);
201 int (*get_ro)(struct mmc_host *host);
210 int (*get_cd)(struct mmc_host *host);
212 void (*enable_sdio_irq)(struct mmc_host *host, int enable);
214 void (*ack_sdio_irq)(struct mmc_host *host);
[all …]
H A Dslot-gpio.h14 struct mmc_host;
16 int mmc_gpio_get_ro(struct mmc_host *host);
17 int mmc_gpio_get_cd(struct mmc_host *host);
18 void mmc_gpio_set_cd_irq(struct mmc_host *host, int irq);
19 int mmc_gpiod_request_cd(struct mmc_host *host, const char *con_id,
22 int mmc_gpiod_request_ro(struct mmc_host *host, const char *con_id,
24 int mmc_gpiod_set_cd_config(struct mmc_host *host, unsigned long config);
25 int mmc_gpio_set_cd_wake(struct mmc_host *host, bool on);
26 void mmc_gpiod_request_cd_irq(struct mmc_host *host);
27 bool mmc_host_can_gpio_cd(struct mmc_host *host);
[all …]
/linux/drivers/mmc/core/
H A Dpwrseq.h12 struct mmc_host;
17 void (*pre_power_on)(struct mmc_host *host);
18 void (*post_power_on)(struct mmc_host *host);
19 void (*power_off)(struct mmc_host *host);
20 void (*reset)(struct mmc_host *host);
35 int mmc_pwrseq_alloc(struct mmc_host *host);
36 void mmc_pwrseq_pre_power_on(struct mmc_host *host);
37 void mmc_pwrseq_post_power_on(struct mmc_host *host);
38 void mmc_pwrseq_power_off(struct mmc_host *host);
39 void mmc_pwrseq_reset(struct mmc_host *host);
[all …]
H A Dmmc_ops.h21 struct mmc_host;
26 int mmc_deselect_cards(struct mmc_host *host);
27 int mmc_set_dsr(struct mmc_host *host);
28 int __mmc_go_idle(struct mmc_host *host);
29 int mmc_go_idle(struct mmc_host *host);
30 int mmc_send_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr);
32 int mmc_send_adtc_data(struct mmc_card *card, struct mmc_host *host, u32 opcode,
36 int mmc_send_cid(struct mmc_host *host, u32 *cid);
37 int mmc_spi_read_ocr(struct mmc_host *host, int highcap, u32 *ocrp);
38 int mmc_spi_set_crc(struct mmc_host *host, int use_crc);
[all …]
H A Dslot-gpio.c32 struct mmc_host *host = dev_id; in mmc_gpio_cd_irqt()
41 int mmc_gpio_alloc(struct mmc_host *host) in mmc_gpio_alloc()
64 void mmc_gpio_set_cd_irq(struct mmc_host *host, int irq) in mmc_gpio_set_cd_irq()
75 int mmc_gpio_get_ro(struct mmc_host *host) in mmc_gpio_get_ro()
90 int mmc_gpio_get_cd(struct mmc_host *host) in mmc_gpio_get_cd()
105 void mmc_gpiod_request_cd_irq(struct mmc_host *host) in mmc_gpiod_request_cd_irq()
141 int mmc_gpio_set_cd_wake(struct mmc_host *host, bool on) in mmc_gpio_set_cd_wake()
175 int mmc_gpiod_request_cd(struct mmc_host *host, const char *con_id, in mmc_gpiod_request_cd()
223 int mmc_gpiod_set_cd_config(struct mmc_host *host, unsigned long config) in mmc_gpiod_set_cd_config()
231 bool mmc_host_can_gpio_cd(struct mmc_host *host) in mmc_host_can_gpio_cd()
[all …]
H A Dcrypto.h11 struct mmc_host;
17 void mmc_crypto_set_initial_state(struct mmc_host *host);
19 void mmc_crypto_setup_queue(struct request_queue *q, struct mmc_host *host);
25 static inline void mmc_crypto_set_initial_state(struct mmc_host *host) in mmc_crypto_set_initial_state()
30 struct mmc_host *host) in mmc_crypto_setup_queue()
H A Dpwrseq.c21 int mmc_pwrseq_alloc(struct mmc_host *host) in mmc_pwrseq_alloc()
54 void mmc_pwrseq_pre_power_on(struct mmc_host *host) in mmc_pwrseq_pre_power_on()
62 void mmc_pwrseq_post_power_on(struct mmc_host *host) in mmc_pwrseq_post_power_on()
70 void mmc_pwrseq_power_off(struct mmc_host *host) in mmc_pwrseq_power_off()
78 void mmc_pwrseq_reset(struct mmc_host *host) in mmc_pwrseq_reset()
86 void mmc_pwrseq_free(struct mmc_host *host) in mmc_pwrseq_free()
H A Dsd_uhs2.c45 struct mmc_host *host;
49 static int sd_uhs2_power_up(struct mmc_host *host) in sd_uhs2_power_up()
62 static int sd_uhs2_power_off(struct mmc_host *host) in sd_uhs2_power_off()
88 static int sd_uhs2_phy_init(struct mmc_host *host) in sd_uhs2_phy_init()
137 static int sd_uhs2_dev_init(struct mmc_host *host) in sd_uhs2_dev_init()
226 static int sd_uhs2_enum(struct mmc_host *host, u32 *node_id) in sd_uhs2_enum()
279 static int sd_uhs2_config_read(struct mmc_host *host, struct mmc_card *card) in sd_uhs2_config_read()
467 static int sd_uhs2_config_write(struct mmc_host *host, struct mmc_card *card) in sd_uhs2_config_write()
672 static int sd_uhs2_go_dormant(struct mmc_host *host, u32 node_id) in sd_uhs2_go_dormant()
743 struct mmc_host *host = data->host; in sd_uhs2_wait_active_state_cb()
[all …]
H A Dsdio_irq.c30 static int sdio_get_pending_irqs(struct mmc_host *host, u8 *pending) in sdio_get_pending_irqs()
58 static int process_sdio_pending_irqs(struct mmc_host *host) in process_sdio_pending_irqs()
113 static void sdio_run_irqs(struct mmc_host *host) in sdio_run_irqs()
126 struct mmc_host *host = in sdio_irq_work()
127 container_of(work, struct mmc_host, sdio_irq_work); in sdio_irq_work()
132 void sdio_signal_irq(struct mmc_host *host) in sdio_signal_irq()
141 struct mmc_host *host = _host; in sdio_irq_thread()
226 struct mmc_host *host = card->host; in sdio_card_irq_get()
251 struct mmc_host *host = card->host; in sdio_card_irq_put()
H A Dsd_ops.c32 struct mmc_host *host;
37 int mmc_app_cmd(struct mmc_host *host, struct mmc_card *card) in mmc_app_cmd()
76 static int mmc_wait_for_app_cmd(struct mmc_host *host, struct mmc_card *card, in mmc_wait_for_app_cmd()
145 struct mmc_host *host = data->host; in sd_app_op_cond_cb()
172 int mmc_send_app_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr) in mmc_send_app_op_cond()
201 int mmc_send_ext_addr(struct mmc_host *host, u32 addr) in mmc_send_ext_addr()
215 static int __mmc_send_if_cond(struct mmc_host *host, u32 ocr, u8 pcie_bits, in __mmc_send_if_cond()
250 int mmc_send_if_cond(struct mmc_host *host, u32 ocr) in mmc_send_if_cond()
255 int mmc_send_if_cond_pcie(struct mmc_host *host, u32 ocr) in mmc_send_if_cond_pcie()
291 int mmc_send_relative_addr(struct mmc_host *host, unsigned int *rca) in mmc_send_relative_addr()
H A Dsdio_ops.h14 struct mmc_host;
18 int mmc_send_io_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr);
23 int sdio_reset(struct mmc_host *host);
H A Dbus.c147 struct mmc_host *host = card->host; in mmc_bus_shutdown()
167 struct mmc_host *host = card->host; in mmc_bus_suspend()
184 struct mmc_host *host = card->host; in mmc_bus_resume()
201 struct mmc_host *host = card->host; in mmc_runtime_suspend()
209 struct mmc_host *host = card->host; in mmc_runtime_resume()
278 struct mmc_card *mmc_alloc_card(struct mmc_host *host, const struct device_type *type) in mmc_alloc_card()
404 struct mmc_host *host = card->host; in mmc_remove_card()
H A Dslot-gpio.h10 struct mmc_host;
12 int mmc_gpio_alloc(struct mmc_host *host);
H A Dmmc.c205 struct mmc_host *host = card->host; in mmc_select_card_type()
853 struct mmc_host *host = card->host; in mmc_dsr_show()
908 struct mmc_host *host = card->host; in __mmc_select_powerclass()
970 struct mmc_host *host = card->host; in mmc_select_powerclass()
1034 struct mmc_host *host = card->host; in mmc_select_bus_width()
1113 struct mmc_host *host = card->host; in mmc_select_hs_ddr()
1183 struct mmc_host *host = card->host; in mmc_select_hs400()
1283 struct mmc_host *host = card->host; in mmc_hs400_to_hs200()
1382 struct mmc_host *host = card->host; in mmc_select_hs400es()
1482 struct mmc_host *host = card->host; in mmc_select_hs200()
[all …]
H A Dcrypto.c15 void mmc_crypto_set_initial_state(struct mmc_host *host) in mmc_crypto_set_initial_state()
22 void mmc_crypto_setup_queue(struct request_queue *q, struct mmc_host *host) in mmc_crypto_setup_queue()
H A Dsdio_ops.c18 int mmc_send_io_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr) in mmc_send_io_op_cond()
62 static int mmc_io_rw_direct_host(struct mmc_host *host, int write, unsigned fn, in mmc_io_rw_direct_host()
202 int sdio_reset(struct mmc_host *host) in sdio_reset()
/linux/drivers/mmc/host/
H A Dmmc_hsq.c19 struct mmc_host *mmc = hsq->mmc; in mmc_hsq_retry_handler()
26 struct mmc_host *mmc = hsq->mmc; in mmc_hsq_modify_threshold()
45 struct mmc_host *mmc = hsq->mmc; in mmc_hsq_pump_requests()
153 bool mmc_hsq_finalize_request(struct mmc_host *mmc, struct mmc_request *mrq) in mmc_hsq_finalize_request()
180 static void mmc_hsq_recovery_start(struct mmc_host *mmc) in mmc_hsq_recovery_start()
192 static void mmc_hsq_recovery_finish(struct mmc_host *mmc) in mmc_hsq_recovery_finish()
212 static int mmc_hsq_request(struct mmc_host *mmc, struct mmc_request *mrq) in mmc_hsq_request()
254 static void mmc_hsq_post_req(struct mmc_host *mmc, struct mmc_request *mrq) in mmc_hsq_post_req()
277 static int mmc_hsq_wait_for_idle(struct mmc_host *mmc) in mmc_hsq_wait_for_idle()
288 static void mmc_hsq_disable(struct mmc_host *mmc) in mmc_hsq_disable()
[all …]
H A Dmmc_hsq.h24 struct mmc_host *mmc;
42 int mmc_hsq_init(struct mmc_hsq *hsq, struct mmc_host *mmc);
43 void mmc_hsq_suspend(struct mmc_host *mmc);
44 int mmc_hsq_resume(struct mmc_host *mmc);
45 bool mmc_hsq_finalize_request(struct mmc_host *mmc, struct mmc_request *mrq);
H A Dmeson-mx-sdhc-mmc.c38 void (*init_hw)(struct mmc_host *mmc);
39 void (*set_pdma)(struct mmc_host *mmc);
40 void (*wait_before_send)(struct mmc_host *mmc);
45 struct mmc_host *mmc;
80 static void meson_mx_sdhc_clear_fifo(struct mmc_host *mmc) in meson_mx_sdhc_clear_fifo()
103 static void meson_mx_sdhc_wait_cmd_ready(struct mmc_host *mmc) in meson_mx_sdhc_wait_cmd_ready()
132 static void meson_mx_sdhc_start_cmd(struct mmc_host *mmc, in meson_mx_sdhc_start_cmd()
237 static void meson_mx_sdhc_disable_clks(struct mmc_host *mmc) in meson_mx_sdhc_disable_clks()
249 static int meson_mx_sdhc_enable_clks(struct mmc_host *mmc) in meson_mx_sdhc_enable_clks()
267 static int meson_mx_sdhc_set_clk(struct mmc_host *mmc, struct mmc_ios *ios) in meson_mx_sdhc_set_clk()
[all …]
H A Dsdricoh_cs.c80 struct mmc_host *mmc; /* MMC structure */
254 static void sdricoh_request(struct mmc_host *mmc, struct mmc_request *mrq) in sdricoh_request()
335 static void sdricoh_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in sdricoh_set_ios()
356 static int sdricoh_get_ro(struct mmc_host *mmc) in sdricoh_get_ro()
383 struct mmc_host *mmc; in sdricoh_init_mmc()
474 struct mmc_host *mmc = link->priv; in sdricoh_pcmcia_detach()
497 struct mmc_host *mmc = link->priv; in sdricoh_pcmcia_resume()
H A Dcb710-mmc.h23 static inline struct mmc_host *cb710_slot_to_mmc(struct cb710_slot *slot) in cb710_slot_to_mmc()
28 static inline struct cb710_slot *cb710_mmc_to_slot(struct mmc_host *mmc) in cb710_mmc_to_slot()
H A Dmxcmmc.c120 struct mmc_host *mmc;
751 static void mxcmci_request(struct mmc_host *mmc, struct mmc_request *req) in mxcmci_request()
819 static int mxcmci_setup_dma(struct mmc_host *mmc) in mxcmci_setup_dma()
835 static void mxcmci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in mxcmci_set_ios()
886 struct mmc_host *mmc = data; in mxcmci_detect_irq()
894 static int mxcmci_get_ro(struct mmc_host *mmc) in mxcmci_get_ro()
908 static void mxcmci_enable_sdio_irq(struct mmc_host *mmc, int enable) in mxcmci_enable_sdio_irq()
927 static void mxcmci_init_card(struct mmc_host *host, struct mmc_card *card) in mxcmci_init_card()
994 struct mmc_host *mmc; in mxcmci_probe()
1171 struct mmc_host *mmc = platform_get_drvdata(pdev); in mxcmci_remove()
[all …]
H A Dushc.c91 struct mmc_host *mmc;
248 static void ushc_request(struct mmc_host *mmc, struct mmc_request *req) in ushc_request()
371 static void ushc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in ushc_set_ios()
380 static int ushc_get_cd(struct mmc_host *mmc) in ushc_get_cd()
387 static void ushc_enable_sdio_irq(struct mmc_host *mmc, int enable) in ushc_enable_sdio_irq()
419 struct mmc_host *mmc; in ushc_probe()
/linux/arch/mips/include/asm/mach-au1x00/
H A Dau1100_mmc.h44 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/Documentation/ABI/testing/
H A Dsysfs-devices-mmc1 What: /sys/devices/.../mmc_host/mmcX/mmcX:XXXX/enhanced_area_offset
12 What: /sys/devices/.../mmc_host/mmcX/mmcX:XXXX/enhanced_area_size

123