Lines Matching defs:host

152 	struct dw_mci *host = s->private;  in dw_mci_regs_show()  local
172 struct dw_mci *host = slot->host; in dw_mci_init_debugfs() local
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() local
256 struct dw_mci *host = slot->host; in dw_mci_prepare_command() local
321 static u32 dw_mci_prep_stop_abort(struct dw_mci *host, struct mmc_command *cmd) in dw_mci_prep_stop_abort()
361 static inline void dw_mci_set_cto(struct dw_mci *host) in dw_mci_set_cto()
399 static void dw_mci_start_command(struct dw_mci *host, in dw_mci_start_command()
418 static inline void send_stop_abort(struct dw_mci *host, struct mmc_data *data) in send_stop_abort()
426 static void dw_mci_stop_dma(struct dw_mci *host) in dw_mci_stop_dma()
437 static void dw_mci_dma_cleanup(struct dw_mci *host) in dw_mci_dma_cleanup()
450 static void dw_mci_idmac_reset(struct dw_mci *host) in dw_mci_idmac_reset()
458 static void dw_mci_idmac_stop_dma(struct dw_mci *host) in dw_mci_idmac_stop_dma()
477 struct dw_mci *host = arg; in dw_mci_dmac_complete_dma() local
502 static int dw_mci_idmac_init(struct dw_mci *host) in dw_mci_idmac_init()
580 static inline int dw_mci_prepare_desc64(struct dw_mci *host, in dw_mci_prepare_desc64()
652 static inline int dw_mci_prepare_desc32(struct dw_mci *host, in dw_mci_prepare_desc32()
725 static int dw_mci_idmac_start_dma(struct dw_mci *host, unsigned int sg_len) in dw_mci_idmac_start_dma()
773 static void dw_mci_edmac_stop_dma(struct dw_mci *host) in dw_mci_edmac_stop_dma()
778 static int dw_mci_edmac_start_dma(struct dw_mci *host, in dw_mci_edmac_start_dma()
836 static int dw_mci_edmac_init(struct dw_mci *host) in dw_mci_edmac_init()
856 static void dw_mci_edmac_exit(struct dw_mci *host) in dw_mci_edmac_exit()
877 static int dw_mci_pre_dma_transfer(struct dw_mci *host, in dw_mci_pre_dma_transfer()
954 struct dw_mci *host = slot->host; in dw_mci_get_cd() local
991 static void dw_mci_adjust_fifoth(struct dw_mci *host, struct mmc_data *data) in dw_mci_adjust_fifoth()
1031 static void dw_mci_ctrl_thld(struct dw_mci *host, struct mmc_data *data) in dw_mci_ctrl_thld()
1083 static int dw_mci_submit_data_dma(struct dw_mci *host, struct mmc_data *data) in dw_mci_submit_data_dma()
1142 static void dw_mci_submit_data(struct dw_mci *host, struct mmc_data *data) in dw_mci_submit_data()
1207 struct dw_mci *host = slot->host; in dw_mci_setup_bus() local
1287 static void dw_mci_set_data_timeout(struct dw_mci *host, in dw_mci_set_data_timeout()
1318 static void __dw_mci_start_request(struct dw_mci *host, in __dw_mci_start_request()
1379 static void dw_mci_start_request(struct dw_mci *host, in dw_mci_start_request()
1390 static void dw_mci_queue_request(struct dw_mci *host, struct dw_mci_slot *slot, in dw_mci_queue_request()
1420 struct dw_mci *host = slot->host; in dw_mci_request() local
1565 struct dw_mci *host = slot->host; in dw_mci_switch_voltage() local
1621 struct dw_mci *host = slot->host; in dw_mci_hw_reset() local
1648 struct dw_mci *host = slot->host; in dw_mci_prepare_sdio_irq() local
1677 struct dw_mci *host = slot->host; in __dw_mci_enable_sdio_irq() local
1697 struct dw_mci *host = slot->host; in dw_mci_enable_sdio_irq() local
1719 struct dw_mci *host = slot->host; in dw_mci_execute_tuning() local
1732 struct dw_mci *host = slot->host; in dw_mci_prepare_hs400_tuning() local
1741 static bool dw_mci_reset(struct dw_mci *host) in dw_mci_reset()
1827 struct dw_mci *host = container_of(t, struct dw_mci, fault_timer); in dw_mci_fault_timer() local
1847 static void dw_mci_start_fault_timer(struct dw_mci *host) in dw_mci_start_fault_timer()
1865 static void dw_mci_stop_fault_timer(struct dw_mci *host) in dw_mci_stop_fault_timer()
1870 static void dw_mci_init_fault(struct dw_mci *host) in dw_mci_init_fault()
1878 static void dw_mci_init_fault(struct dw_mci *host) in dw_mci_init_fault()
1882 static void dw_mci_start_fault_timer(struct dw_mci *host) in dw_mci_start_fault_timer()
1886 static void dw_mci_stop_fault_timer(struct dw_mci *host) in dw_mci_stop_fault_timer()
1891 static void dw_mci_request_end(struct dw_mci *host, struct mmc_request *mrq) in dw_mci_request_end()
1924 static int dw_mci_command_complete(struct dw_mci *host, struct mmc_command *cmd) in dw_mci_command_complete()
1957 static int dw_mci_data_complete(struct dw_mci *host, struct mmc_data *data) in dw_mci_data_complete()
2000 static void dw_mci_set_drto(struct dw_mci *host) in dw_mci_set_drto()
2031 static bool dw_mci_clear_pending_cmd_complete(struct dw_mci *host) in dw_mci_clear_pending_cmd_complete()
2049 static bool dw_mci_clear_pending_data_complete(struct dw_mci *host) in dw_mci_clear_pending_data_complete()
2063 struct dw_mci *host = from_tasklet(host, t, tasklet); in dw_mci_tasklet_func() local
2291 static void dw_mci_set_part_bytes(struct dw_mci *host, void *buf, int cnt) in dw_mci_set_part_bytes()
2298 static int dw_mci_push_part_bytes(struct dw_mci *host, void *buf, int cnt) in dw_mci_push_part_bytes()
2307 static int dw_mci_pull_part_bytes(struct dw_mci *host, void *buf, int cnt) in dw_mci_pull_part_bytes()
2320 static void dw_mci_pull_final_bytes(struct dw_mci *host, void *buf, int cnt) in dw_mci_pull_final_bytes()
2327 static void dw_mci_push_data16(struct dw_mci *host, void *buf, int cnt) in dw_mci_push_data16()
2377 static void dw_mci_pull_data16(struct dw_mci *host, void *buf, int cnt) in dw_mci_pull_data16()
2410 static void dw_mci_push_data32(struct dw_mci *host, void *buf, int cnt) in dw_mci_push_data32()
2460 static void dw_mci_pull_data32(struct dw_mci *host, void *buf, int cnt) in dw_mci_pull_data32()
2493 static void dw_mci_push_data64(struct dw_mci *host, void *buf, int cnt) in dw_mci_push_data64()
2544 static void dw_mci_pull_data64(struct dw_mci *host, void *buf, int cnt) in dw_mci_pull_data64()
2578 static void dw_mci_pull_data(struct dw_mci *host, void *buf, int cnt) in dw_mci_pull_data()
2593 static void dw_mci_read_data_pio(struct dw_mci *host, bool dto) in dw_mci_read_data_pio()
2647 static void dw_mci_write_data_pio(struct dw_mci *host) in dw_mci_write_data_pio()
2701 static void dw_mci_cmd_interrupt(struct dw_mci *host, u32 status) in dw_mci_cmd_interrupt()
2716 static void dw_mci_handle_cd(struct dw_mci *host) in dw_mci_handle_cd()
2726 struct dw_mci *host = dev_id; in dw_mci_interrupt() local
2867 struct dw_mci *host = slot->host; in dw_mci_init_slot_caps() local
2917 static int dw_mci_init_slot(struct dw_mci *host) in dw_mci_init_slot()
3001 static void dw_mci_init_dma(struct dw_mci *host) in dw_mci_init_dma()
3094 struct dw_mci *host = from_timer(host, t, cmd11_timer); in dw_mci_cmd11_timer() local
3108 struct dw_mci *host = from_timer(host, t, cto_timer); in dw_mci_cto_timer() local
3163 struct dw_mci *host = from_timer(host, t, dto_timer); in dw_mci_dto_timer() local
3213 static struct dw_mci_board *dw_mci_parse_dt(struct dw_mci *host) in dw_mci_parse_dt()
3255 static struct dw_mci_board *dw_mci_parse_dt(struct dw_mci *host) in dw_mci_parse_dt()
3261 static void dw_mci_enable_cd(struct dw_mci *host) in dw_mci_enable_cd()
3282 int dw_mci_probe(struct dw_mci *host) in dw_mci_probe()
3488 void dw_mci_remove(struct dw_mci *host) in dw_mci_remove()
3516 struct dw_mci *host = dev_get_drvdata(dev); in dw_mci_runtime_suspend() local
3535 struct dw_mci *host = dev_get_drvdata(dev); in dw_mci_runtime_resume() local