Home
last modified time | relevance | path

Searched refs:mmc_host (Results 1 - 25 of 253) sorted by relevance

1234567891011

/kernel/linux/linux-5.10/drivers/mmc/core/
H A Dcore.h14 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 *);
[all...]
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 *hos
[all...]
H A Dhost.h16 void mmc_retune_enable(struct mmc_host *host);
17 void mmc_retune_disable(struct mmc_host *host);
18 void mmc_retune_hold(struct mmc_host *host);
19 void mmc_retune_release(struct mmc_host *host);
20 int mmc_retune(struct mmc_host *host);
21 void mmc_retune_pause(struct mmc_host *host);
22 void mmc_retune_unpause(struct mmc_host *host);
24 static inline void mmc_retune_hold_now(struct mmc_host *host) in mmc_retune_hold_now()
30 static inline void mmc_retune_recheck(struct mmc_host *host) in mmc_retune_recheck()
36 static inline int mmc_host_cmd23(struct mmc_host *hos
[all...]
H A Dhost.c33 #define cls_dev_to_mmc_host(d) container_of(d, struct mmc_host, class_dev)
40 struct mmc_host *host = cls_dev_to_mmc_host(dev); in mmc_host_class_prepare()
58 struct mmc_host *host = cls_dev_to_mmc_host(dev); in mmc_host_class_complete()
75 struct mmc_host *host = cls_dev_to_mmc_host(dev); in mmc_host_classdev_release()
84 struct mmc_host *host = cls_dev_to_mmc_host(dev); in mmc_host_classdev_shutdown()
91 .name = "mmc_host",
107 void mmc_retune_enable(struct mmc_host *host) in mmc_retune_enable()
119 void mmc_retune_pause(struct mmc_host *host) in mmc_retune_pause()
129 void mmc_retune_unpause(struct mmc_host *host) in mmc_retune_unpause()
138 void mmc_retune_disable(struct mmc_host *hos
[all...]
H A Dmmc_ops.h20 struct mmc_host;
24 int mmc_deselect_cards(struct mmc_host *host);
25 int mmc_set_dsr(struct mmc_host *host);
26 int mmc_go_idle(struct mmc_host *host);
27 int mmc_send_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr);
32 int mmc_send_cid(struct mmc_host *host, u32 *cid);
33 int mmc_spi_read_ocr(struct mmc_host *host, int highcap, u32 *ocrp);
34 int mmc_spi_set_crc(struct mmc_host *host, int use_crc);
H A Dsd_ops.h14 struct mmc_host;
17 int mmc_send_app_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr);
18 int mmc_send_if_cond(struct mmc_host *host, u32 ocr);
19 int mmc_send_relative_addr(struct mmc_host *host, unsigned int *rca);
24 int mmc_app_cmd(struct mmc_host *host, struct mmc_card *card);
H A Dslot-gpio.c31 struct mmc_host *host = dev_id; in mmc_gpio_cd_irqt()
40 int mmc_gpio_alloc(struct mmc_host *host) in mmc_gpio_alloc()
62 int mmc_gpio_get_ro(struct mmc_host *host) in mmc_gpio_get_ro()
77 int mmc_gpio_get_cd(struct mmc_host *host) in mmc_gpio_get_cd()
92 void mmc_gpiod_request_cd_irq(struct mmc_host *host) in mmc_gpiod_request_cd_irq()
126 int mmc_gpio_set_cd_wake(struct mmc_host *host, bool on) in mmc_gpio_set_cd_wake()
150 void mmc_gpio_set_cd_isr(struct mmc_host *host, in mmc_gpio_set_cd_isr()
173 int mmc_gpiod_request_cd(struct mmc_host *host, const char *con_id, in mmc_gpiod_request_cd()
205 bool mmc_can_gpio_cd(struct mmc_host *host) in mmc_can_gpio_cd()
222 int mmc_gpiod_request_ro(struct mmc_host *hos
[all...]
H A Dcore.c81 static void mmc_should_fail_request(struct mmc_host *host, in mmc_should_fail_request()
105 static inline void mmc_should_fail_request(struct mmc_host *host, in mmc_should_fail_request()
118 void mmc_command_done(struct mmc_host *host, struct mmc_request *mrq) in mmc_command_done()
138 void mmc_request_done(struct mmc_host *host, struct mmc_request *mrq) in mmc_request_done()
216 static void __mmc_start_request(struct mmc_host *host, struct mmc_request *mrq) in __mmc_start_request()
264 static void mmc_mrq_pr_debug(struct mmc_host *host, struct mmc_request *mrq, in mmc_mrq_pr_debug()
298 static int mmc_mrq_prep(struct mmc_host *host, struct mmc_request *mrq) in mmc_mrq_prep()
335 int mmc_start_request(struct mmc_host *host, struct mmc_request *mrq) in mmc_start_request()
366 static inline void mmc_wait_ongoing_tfr_cmd(struct mmc_host *host) in mmc_wait_ongoing_tfr_cmd()
378 static int __mmc_start_req(struct mmc_host *hos
[all...]
/kernel/linux/linux-6.6/drivers/mmc/core/
H A Dcore.h14 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 *);
[all...]
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 *hos
[all...]
H A Dhost.h16 void mmc_retune_enable(struct mmc_host *host);
17 void mmc_retune_disable(struct mmc_host *host);
18 void mmc_retune_hold(struct mmc_host *host);
19 void mmc_retune_release(struct mmc_host *host);
20 int mmc_retune(struct mmc_host *host);
21 void mmc_retune_pause(struct mmc_host *host);
22 void mmc_retune_unpause(struct mmc_host *host);
24 static inline void mmc_retune_clear(struct mmc_host *host) in mmc_retune_clear()
30 static inline void mmc_retune_hold_now(struct mmc_host *host) in mmc_retune_hold_now()
36 static inline void mmc_retune_recheck(struct mmc_host *hos
[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_send_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr);
31 int mmc_send_adtc_data(struct mmc_card *card, struct mmc_host *host, u32 opcode,
35 int mmc_send_cid(struct mmc_host *host, u32 *cid);
36 int mmc_spi_read_ocr(struct mmc_host *host, int highcap, u32 *ocrp);
37 int mmc_spi_set_crc(struct mmc_host *host, int use_crc);
41 bool mmc_prepare_busy_cmd(struct mmc_host *hos
[all...]
H A Dhost.c34 #define cls_dev_to_mmc_host(d) container_of(d, struct mmc_host, class_dev)
41 struct mmc_host *host = cls_dev_to_mmc_host(dev); in mmc_host_class_prepare()
59 struct mmc_host *host = cls_dev_to_mmc_host(dev); in mmc_host_class_complete()
76 struct mmc_host *host = cls_dev_to_mmc_host(dev); in mmc_host_classdev_release()
85 struct mmc_host *host = cls_dev_to_mmc_host(dev); in mmc_host_classdev_shutdown()
92 .name = "mmc_host",
112 void mmc_retune_enable(struct mmc_host *host) in mmc_retune_enable()
124 void mmc_retune_pause(struct mmc_host *host) in mmc_retune_pause()
134 void mmc_retune_unpause(struct mmc_host *host) in mmc_retune_unpause()
149 void mmc_retune_disable(struct mmc_host *hos
[all...]
H A Dsd_ops.h14 struct mmc_host;
17 int mmc_send_app_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr);
18 int mmc_send_if_cond(struct mmc_host *host, u32 ocr);
19 int mmc_send_if_cond_pcie(struct mmc_host *host, u32 ocr);
20 int mmc_send_relative_addr(struct mmc_host *host, unsigned int *rca);
23 int mmc_app_cmd(struct mmc_host *host, struct mmc_card *card);
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 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()
165 void mmc_gpio_set_cd_isr(struct mmc_host *host, in mmc_gpio_set_cd_isr()
188 int mmc_gpiod_request_cd(struct mmc_host *host, const char *con_id, in mmc_gpiod_request_cd()
224 bool mmc_can_gpio_cd(struct mmc_host *hos
[all...]
/kernel/linux/linux-6.6/include/linux/mmc/
H A Dhost.h94 struct mmc_host;
124 void (*post_req)(struct mmc_host *host, struct mmc_request *req,
126 void (*pre_req)(struct mmc_host *host, struct mmc_request *req);
127 void (*request)(struct mmc_host *host, struct mmc_request *req);
129 int (*request_atomic)(struct mmc_host *host,
146 void (*set_ios)(struct mmc_host *host, struct mmc_ios *ios);
155 int (*get_ro)(struct mmc_host *host);
164 int (*get_cd)(struct mmc_host *host);
166 void (*enable_sdio_irq)(struct mmc_host *host, int enable);
168 void (*ack_sdio_irq)(struct mmc_host *hos
320 struct mmc_host { global() struct
[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 void mmc_gpio_set_cd_isr(struct mmc_host *host,
26 int mmc_gpio_set_cd_wake(struct mmc_host *host, bool on);
27 void mmc_gpiod_request_cd_irq(struct mmc_host *host);
28 bool mmc_can_gpio_cd(struct mmc_host *hos
[all...]
/kernel/linux/linux-5.10/include/linux/mmc/
H A Dhost.h80 struct mmc_host;
91 void (*post_req)(struct mmc_host *host, struct mmc_request *req,
93 void (*pre_req)(struct mmc_host *host, struct mmc_request *req);
94 void (*request)(struct mmc_host *host, struct mmc_request *req);
96 int (*request_atomic)(struct mmc_host *host,
113 void (*set_ios)(struct mmc_host *host, struct mmc_ios *ios);
122 int (*get_ro)(struct mmc_host *host);
131 int (*get_cd)(struct mmc_host *host);
133 void (*enable_sdio_irq)(struct mmc_host *host, int enable);
135 void (*ack_sdio_irq)(struct mmc_host *hos
275 struct mmc_host { global() struct
[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 int mmc_gpiod_request_cd(struct mmc_host *host, const char *con_id,
21 int mmc_gpiod_request_ro(struct mmc_host *host, const char *con_id,
23 void mmc_gpio_set_cd_isr(struct mmc_host *host,
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_can_gpio_cd(struct mmc_host *host);
28 bool mmc_can_gpio_ro(struct mmc_host *hos
[all...]
/kernel/linux/linux-5.10/drivers/mmc/host/
H A Dcqhci.h142 struct mmc_host;
149 struct mmc_host *mmc;
202 void (*dumpregs)(struct mmc_host *mmc);
205 void (*enable)(struct mmc_host *mmc);
206 void (*disable)(struct mmc_host *mmc, bool recovery);
207 void (*update_dcmd_desc)(struct mmc_host *mmc, struct mmc_request *mrq,
209 void (*pre_enable)(struct mmc_host *mmc);
210 void (*post_disable)(struct mmc_host *mmc);
231 irqreturn_t cqhci_irq(struct mmc_host *mmc, u32 intmask, int cmd_error,
233 int cqhci_init(struct cqhci_host *cq_host, struct mmc_host *mm
[all...]
H A Dmmc_hsq.h10 struct mmc_host *mmc;
26 int mmc_hsq_init(struct mmc_hsq *hsq, struct mmc_host *mmc);
27 void mmc_hsq_suspend(struct mmc_host *mmc);
28 int mmc_hsq_resume(struct mmc_host *mmc);
29 bool mmc_hsq_finalize_request(struct mmc_host *mmc, struct mmc_request *mrq);
H A Dmmc_hsq.c22 struct mmc_host *mmc = hsq->mmc; in mmc_hsq_retry_handler()
29 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()
248 static void mmc_hsq_post_req(struct mmc_host *mmc, struct mmc_request *mrq) in mmc_hsq_post_req()
271 static int mmc_hsq_wait_for_idle(struct mmc_host *mmc) in mmc_hsq_wait_for_idle()
282 static void mmc_hsq_disable(struct mmc_host *mmc) in mmc_hsq_disable()
312 static int mmc_hsq_enable(struct mmc_host *mm
[all...]
/kernel/linux/linux-6.6/drivers/mmc/host/
H A Dmmc_hsq.h13 struct mmc_host *mmc;
31 int mmc_hsq_init(struct mmc_hsq *hsq, struct mmc_host *mmc);
32 void mmc_hsq_suspend(struct mmc_host *mmc);
33 int mmc_hsq_resume(struct mmc_host *mmc);
34 bool mmc_hsq_finalize_request(struct mmc_host *mmc, struct mmc_request *mrq);
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_pump_requests()
132 bool mmc_hsq_finalize_request(struct mmc_host *mmc, struct mmc_request *mrq) in mmc_hsq_finalize_request()
159 static void mmc_hsq_recovery_start(struct mmc_host *mmc) in mmc_hsq_recovery_start()
171 static void mmc_hsq_recovery_finish(struct mmc_host *mmc) in mmc_hsq_recovery_finish()
191 static int mmc_hsq_request(struct mmc_host *mmc, struct mmc_request *mrq) in mmc_hsq_request()
233 static void mmc_hsq_post_req(struct mmc_host *mmc, struct mmc_request *mrq) in mmc_hsq_post_req()
256 static int mmc_hsq_wait_for_idle(struct mmc_host *mmc) in mmc_hsq_wait_for_idle()
267 static void mmc_hsq_disable(struct mmc_host *mmc) in mmc_hsq_disable()
297 static int mmc_hsq_enable(struct mmc_host *mm
[all...]

Completed in 11 milliseconds

1234567891011