Home
last modified time | relevance | path

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

/linux/drivers/mmc/host/
H A Ddw_mmc.h160 struct dw_mci { struct
227 void (*push_data)(struct dw_mci *host, void *buf, int cnt); argument
228 void (*pull_data)(struct dw_mci *host, void *buf, int cnt); argument
250 int (*init)(struct dw_mci *host); argument
251 int (*start)(struct dw_mci *host, unsigned int sg_len);
253 void (*stop)(struct dw_mci *host);
254 void (*cleanup)(struct dw_mci *host);
255 void (*exit)(struct dw_mci *host);
512 extern int dw_mci_probe(struct dw_mci *host);
513 extern void dw_mci_remove(struct dw_mci *host);
[all …]
H A Ddw_mmc.c151 struct dw_mci *host = s->private; in dw_mci_regs_show()
171 struct dw_mci *host = slot->host; in dw_mci_init_debugfs()
191 static bool dw_mci_ctrl_reset(struct dw_mci *host, u32 reset) in dw_mci_ctrl_reset()
212 static void dw_mci_wait_while_busy(struct dw_mci *host, u32 cmd_flags) in dw_mci_wait_while_busy()
236 struct dw_mci *host = slot->host; in mci_send_cmd()
255 struct dw_mci *host = slot->host; in dw_mci_prepare_command()
320 static u32 dw_mci_prep_stop_abort(struct dw_mci *host, struct mmc_command *cmd) in dw_mci_prep_stop_abort()
359 static inline void dw_mci_set_cto(struct dw_mci *host) in dw_mci_set_cto()
397 static void dw_mci_start_command(struct dw_mci *host, in dw_mci_start_command()
416 static inline void send_stop_abort(struct dw_mci *host, struct mmc_data *data) in send_stop_abort()
[all …]
H A Ddw_mmc-rockchip.c44 static int rockchip_mmc_get_internal_phase(struct dw_mci *host, bool sample) in rockchip_mmc_get_internal_phase()
76 static int rockchip_mmc_get_phase(struct dw_mci *host, bool sample) in rockchip_mmc_get_phase()
87 static int rockchip_mmc_set_internal_phase(struct dw_mci *host, bool sample, int degrees) in rockchip_mmc_set_internal_phase()
163 static int rockchip_mmc_set_phase(struct dw_mci *host, bool sample, int degrees) in rockchip_mmc_set_phase()
174 static void dw_mci_rk3288_set_ios(struct dw_mci *host, struct mmc_ios *ios) in dw_mci_rk3288_set_ios()
284 struct dw_mci *host = slot->host; in dw_mci_rk3288_execute_tuning()
410 static int dw_mci_common_parse_dt(struct dw_mci *host) in dw_mci_common_parse_dt()
432 static int dw_mci_rk3288_parse_dt(struct dw_mci *host) in dw_mci_rk3288_parse_dt()
456 static int dw_mci_rk3576_parse_dt(struct dw_mci *host) in dw_mci_rk3576_parse_dt()
470 static int dw_mci_rockchip_init(struct dw_mci *host) in dw_mci_rockchip_init()
H A 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()