Lines Matching refs:dw_mci
151 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()
424 static void dw_mci_stop_dma(struct dw_mci *host) in dw_mci_stop_dma()
435 static void dw_mci_dma_cleanup(struct dw_mci *host) in dw_mci_dma_cleanup()
448 static void dw_mci_idmac_reset(struct dw_mci *host) in dw_mci_idmac_reset()
456 static void dw_mci_idmac_stop_dma(struct dw_mci *host) in dw_mci_idmac_stop_dma()
475 struct dw_mci *host = arg; in dw_mci_dmac_complete_dma()
500 static int dw_mci_idmac_init(struct dw_mci *host) in dw_mci_idmac_init()
578 static inline int dw_mci_prepare_desc64(struct dw_mci *host, in dw_mci_prepare_desc64()
650 static inline int dw_mci_prepare_desc32(struct dw_mci *host, in dw_mci_prepare_desc32()
723 static int dw_mci_idmac_start_dma(struct dw_mci *host, unsigned int sg_len) in dw_mci_idmac_start_dma()
771 static void dw_mci_edmac_stop_dma(struct dw_mci *host) in dw_mci_edmac_stop_dma()
776 static int dw_mci_edmac_start_dma(struct dw_mci *host, in dw_mci_edmac_start_dma()
834 static int dw_mci_edmac_init(struct dw_mci *host) in dw_mci_edmac_init()
854 static void dw_mci_edmac_exit(struct dw_mci *host) in dw_mci_edmac_exit()
875 static int dw_mci_pre_dma_transfer(struct dw_mci *host, in dw_mci_pre_dma_transfer()
952 struct dw_mci *host = slot->host; in dw_mci_get_cd()
989 static void dw_mci_adjust_fifoth(struct dw_mci *host, struct mmc_data *data) in dw_mci_adjust_fifoth()
1029 static void dw_mci_ctrl_thld(struct dw_mci *host, struct mmc_data *data) in dw_mci_ctrl_thld()
1081 static int dw_mci_submit_data_dma(struct dw_mci *host, struct mmc_data *data) in dw_mci_submit_data_dma()
1140 static void dw_mci_submit_data(struct dw_mci *host, struct mmc_data *data) in dw_mci_submit_data()
1205 struct dw_mci *host = slot->host; in dw_mci_setup_bus()
1285 static void dw_mci_set_data_timeout(struct dw_mci *host, in dw_mci_set_data_timeout()
1316 static void __dw_mci_start_request(struct dw_mci *host, in __dw_mci_start_request()
1377 static void dw_mci_start_request(struct dw_mci *host, in dw_mci_start_request()
1388 static void dw_mci_queue_request(struct dw_mci *host, struct dw_mci_slot *slot, in dw_mci_queue_request()
1418 struct dw_mci *host = slot->host; in dw_mci_request()
1563 struct dw_mci *host = slot->host; in dw_mci_switch_voltage()
1619 struct dw_mci *host = slot->host; in dw_mci_hw_reset()
1652 struct dw_mci *host = slot->host; in dw_mci_prepare_sdio_irq()
1681 struct dw_mci *host = slot->host; in __dw_mci_enable_sdio_irq()
1701 struct dw_mci *host = slot->host; in dw_mci_enable_sdio_irq()
1723 struct dw_mci *host = slot->host; in dw_mci_execute_tuning()
1736 struct dw_mci *host = slot->host; in dw_mci_prepare_hs400_tuning()
1745 static bool dw_mci_reset(struct dw_mci *host) in dw_mci_reset()
1831 struct dw_mci *host = container_of(t, struct dw_mci, fault_timer); in dw_mci_fault_timer()
1851 static void dw_mci_start_fault_timer(struct dw_mci *host) in dw_mci_start_fault_timer()
1869 static void dw_mci_stop_fault_timer(struct dw_mci *host) in dw_mci_stop_fault_timer()
1874 static void dw_mci_init_fault(struct dw_mci *host) in dw_mci_init_fault()
1882 static void dw_mci_init_fault(struct dw_mci *host) in dw_mci_init_fault()
1886 static void dw_mci_start_fault_timer(struct dw_mci *host) in dw_mci_start_fault_timer()
1890 static void dw_mci_stop_fault_timer(struct dw_mci *host) in dw_mci_stop_fault_timer()
1895 static void dw_mci_request_end(struct dw_mci *host, struct mmc_request *mrq) in dw_mci_request_end()
1928 static int dw_mci_command_complete(struct dw_mci *host, struct mmc_command *cmd) in dw_mci_command_complete()
1961 static int dw_mci_data_complete(struct dw_mci *host, struct mmc_data *data) in dw_mci_data_complete()
2004 static void dw_mci_set_drto(struct dw_mci *host) in dw_mci_set_drto()
2035 static bool dw_mci_clear_pending_cmd_complete(struct dw_mci *host) in dw_mci_clear_pending_cmd_complete()
2053 static bool dw_mci_clear_pending_data_complete(struct dw_mci *host) in dw_mci_clear_pending_data_complete()
2067 struct dw_mci *host = from_work(host, t, bh_work); in dw_mci_work_func()
2295 static void dw_mci_set_part_bytes(struct dw_mci *host, void *buf, int cnt) in dw_mci_set_part_bytes()
2302 static int dw_mci_push_part_bytes(struct dw_mci *host, void *buf, int cnt) in dw_mci_push_part_bytes()
2311 static int dw_mci_pull_part_bytes(struct dw_mci *host, void *buf, int cnt) in dw_mci_pull_part_bytes()
2324 static void dw_mci_pull_final_bytes(struct dw_mci *host, void *buf, int cnt) in dw_mci_pull_final_bytes()
2331 static void dw_mci_push_data16(struct dw_mci *host, void *buf, int cnt) in dw_mci_push_data16()
2381 static void dw_mci_pull_data16(struct dw_mci *host, void *buf, int cnt) in dw_mci_pull_data16()
2414 static void dw_mci_push_data32(struct dw_mci *host, void *buf, int cnt) in dw_mci_push_data32()
2464 static void dw_mci_pull_data32(struct dw_mci *host, void *buf, int cnt) in dw_mci_pull_data32()
2497 static void dw_mci_push_data64(struct dw_mci *host, void *buf, int cnt) in dw_mci_push_data64()
2548 static void dw_mci_pull_data64(struct dw_mci *host, void *buf, int cnt) in dw_mci_pull_data64()
2582 static void dw_mci_pull_data(struct dw_mci *host, void *buf, int cnt) in dw_mci_pull_data()
2597 static void dw_mci_read_data_pio(struct dw_mci *host, bool dto) in dw_mci_read_data_pio()
2651 static void dw_mci_write_data_pio(struct dw_mci *host) in dw_mci_write_data_pio()
2705 static void dw_mci_cmd_interrupt(struct dw_mci *host, u32 status) in dw_mci_cmd_interrupt()
2720 static void dw_mci_handle_cd(struct dw_mci *host) in dw_mci_handle_cd()
2730 struct dw_mci *host = dev_id; in dw_mci_interrupt()
2871 struct dw_mci *host = slot->host; in dw_mci_init_slot_caps()
2921 static int dw_mci_init_slot(struct dw_mci *host) in dw_mci_init_slot()
3005 static void dw_mci_init_dma(struct dw_mci *host) in dw_mci_init_dma()
3098 struct dw_mci *host = from_timer(host, t, cmd11_timer); in dw_mci_cmd11_timer()
3112 struct dw_mci *host = from_timer(host, t, cto_timer); in dw_mci_cto_timer()
3167 struct dw_mci *host = from_timer(host, t, dto_timer); in dw_mci_dto_timer()
3217 static struct dw_mci_board *dw_mci_parse_dt(struct dw_mci *host) in dw_mci_parse_dt()
3259 static struct dw_mci_board *dw_mci_parse_dt(struct dw_mci *host) in dw_mci_parse_dt()
3265 static void dw_mci_enable_cd(struct dw_mci *host) in dw_mci_enable_cd()
3286 int dw_mci_probe(struct dw_mci *host) in dw_mci_probe()
3500 void dw_mci_remove(struct dw_mci *host) in dw_mci_remove()
3528 struct dw_mci *host = dev_get_drvdata(dev); in dw_mci_runtime_suspend()
3547 struct dw_mci *host = dev_get_drvdata(dev); in dw_mci_runtime_resume()