Home
last modified time | relevance | path

Searched refs:dw_mci (Results 1 – 9 of 9) sorted by relevance

/drivers/mmc/host/
Ddw_mmc.h157 struct dw_mci { struct
223 void (*push_data)(struct dw_mci *host, void *buf, int cnt); argument
224 void (*pull_data)(struct dw_mci *host, void *buf, int cnt); argument
245 int (*init)(struct dw_mci *host); argument
246 int (*start)(struct dw_mci *host, unsigned int sg_len);
248 void (*stop)(struct dw_mci *host);
249 void (*cleanup)(struct dw_mci *host);
250 void (*exit)(struct dw_mci *host);
504 extern int dw_mci_probe(struct dw_mci *host);
505 extern void dw_mci_remove(struct dw_mci *host);
[all …]
Ddw_mmc.c152 struct dw_mci *host = s->private; in dw_mci_regs_show()
172 struct dw_mci *host = slot->host; in dw_mci_init_debugfs()
192 static bool dw_mci_ctrl_reset(struct dw_mci *host, u32 reset) in dw_mci_ctrl_reset()
213 static void dw_mci_wait_while_busy(struct dw_mci *host, u32 cmd_flags) in dw_mci_wait_while_busy()
237 struct dw_mci *host = slot->host; in mci_send_cmd()
256 struct dw_mci *host = slot->host; in dw_mci_prepare_command()
321 static u32 dw_mci_prep_stop_abort(struct dw_mci *host, struct mmc_command *cmd) in dw_mci_prep_stop_abort()
360 static inline void dw_mci_set_cto(struct dw_mci *host) in dw_mci_set_cto()
398 static void dw_mci_start_command(struct dw_mci *host, in dw_mci_start_command()
417 static inline void send_stop_abort(struct dw_mci *host, struct mmc_data *data) in send_stop_abort()
[all …]
Ddw_mmc-exynos.c75 static inline u8 dw_mci_exynos_get_ciu_div(struct dw_mci *host) in dw_mci_exynos_get_ciu_div()
90 static void dw_mci_exynos_config_smu(struct dw_mci *host) in dw_mci_exynos_config_smu()
109 static int dw_mci_exynos_priv_init(struct dw_mci *host) in dw_mci_exynos_priv_init()
130 static void dw_mci_exynos_set_clksel_timing(struct dw_mci *host, u32 timing) in dw_mci_exynos_set_clksel_timing()
163 struct dw_mci *host = dev_get_drvdata(dev); in dw_mci_exynos_runtime_resume()
203 struct dw_mci *host = dev_get_drvdata(dev); in dw_mci_exynos_resume_noirq()
232 static void dw_mci_exynos_config_hs400(struct dw_mci *host, u32 timing) in dw_mci_exynos_config_hs400()
264 static void dw_mci_exynos_adjust_clock(struct dw_mci *host, unsigned int wanted) in dw_mci_exynos_adjust_clock()
296 static void dw_mci_exynos_set_ios(struct dw_mci *host, struct mmc_ios *ios) in dw_mci_exynos_set_ios()
338 static int dw_mci_exynos_parse_dt(struct dw_mci *host) in dw_mci_exynos_parse_dt()
[all …]
Ddw_mmc-k3.c102 static void dw_mci_k3_set_ios(struct dw_mci *host, struct mmc_ios *ios) in dw_mci_k3_set_ios()
117 static int dw_mci_hi6220_parse_dt(struct dw_mci *host) in dw_mci_hi6220_parse_dt()
145 struct dw_mci *host; in dw_mci_hi6220_switch_voltage()
188 static void dw_mci_hi6220_set_ios(struct dw_mci *host, struct mmc_ios *ios) in dw_mci_hi6220_set_ios()
216 static void dw_mci_hs_set_timing(struct dw_mci *host, int timing, in dw_mci_hs_set_timing()
267 static int dw_mci_hi3660_init(struct dw_mci *host) in dw_mci_hi3660_init()
278 static int dw_mci_set_sel18(struct dw_mci *host, bool set) in dw_mci_set_sel18()
297 static void dw_mci_hi3660_set_ios(struct dw_mci *host, struct mmc_ios *ios) in dw_mci_hi3660_set_ios()
370 struct dw_mci *host = slot->host; in dw_mci_hi3660_execute_tuning()
407 struct dw_mci *host; in dw_mci_hi3660_switch_voltage()
Ddw_mmc-pci.c37 struct dw_mci *host; in dw_mci_pci_probe()
44 host = devm_kzalloc(&pdev->dev, sizeof(struct dw_mci), GFP_KERNEL); in dw_mci_pci_probe()
72 struct dw_mci *host = pci_get_drvdata(pdev); in dw_mci_pci_remove()
Ddw_mmc-pltfm.c27 struct dw_mci *host; in dw_mci_pltfm_register()
30 host = devm_kzalloc(&pdev->dev, sizeof(struct dw_mci), GFP_KERNEL); in dw_mci_pltfm_register()
88 struct dw_mci *host = platform_get_drvdata(pdev); in dw_mci_pltfm_remove()
Ddw_mmc-hi3798cv200.c32 static void dw_mci_hi3798cv200_set_ios(struct dw_mci *host, struct mmc_ios *ios) in dw_mci_hi3798cv200_set_ios()
70 struct dw_mci *host = slot->host; in dw_mci_hi3798cv200_execute_tuning()
127 static int dw_mci_hi3798cv200_init(struct dw_mci *host) in dw_mci_hi3798cv200_init()
183 struct dw_mci *host = platform_get_drvdata(pdev); in dw_mci_hi3798cv200_remove()
Ddw_mmc-rockchip.c27 static void dw_mci_rk3288_set_ios(struct dw_mci *host, struct mmc_ios *ios) in dw_mci_rk3288_set_ios()
137 struct dw_mci *host = slot->host; in dw_mci_rk3288_execute_tuning()
261 static int dw_mci_rk3288_parse_dt(struct dw_mci *host) in dw_mci_rk3288_parse_dt()
291 static int dw_mci_rockchip_init(struct dw_mci *host) in dw_mci_rockchip_init()
Ddw_mmc-bluefield.c23 static void dw_mci_bluefield_set_ios(struct dw_mci *host, struct mmc_ios *ios) in dw_mci_bluefield_set_ios()