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()
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()
425 static void dw_mci_stop_dma(struct dw_mci *host) in dw_mci_stop_dma()
436 static void dw_mci_dma_cleanup(struct dw_mci *host) in dw_mci_dma_cleanup()
449 static void dw_mci_idmac_reset(struct dw_mci *host) in dw_mci_idmac_reset()
457 static void dw_mci_idmac_stop_dma(struct dw_mci *host) in dw_mci_idmac_stop_dma()
476 struct dw_mci *host = arg; in dw_mci_dmac_complete_dma() local
501 static int dw_mci_idmac_init(struct dw_mci *host) in dw_mci_idmac_init()
579 static inline int dw_mci_prepare_desc64(struct dw_mci *host, in dw_mci_prepare_desc64()
651 static inline int dw_mci_prepare_desc32(struct dw_mci *host, in dw_mci_prepare_desc32()
724 static int dw_mci_idmac_start_dma(struct dw_mci *host, unsigned int sg_len) in dw_mci_idmac_start_dma()
772 static void dw_mci_edmac_stop_dma(struct dw_mci *host) in dw_mci_edmac_stop_dma()
777 static int dw_mci_edmac_start_dma(struct dw_mci *host, in dw_mci_edmac_start_dma()
835 static int dw_mci_edmac_init(struct dw_mci *host) in dw_mci_edmac_init()
855 static void dw_mci_edmac_exit(struct dw_mci *host) in dw_mci_edmac_exit()
876 static int dw_mci_pre_dma_transfer(struct dw_mci *host, in dw_mci_pre_dma_transfer()
953 struct dw_mci *host = slot->host; in dw_mci_get_cd() local
990 static void dw_mci_adjust_fifoth(struct dw_mci *host, struct mmc_data *data) in dw_mci_adjust_fifoth()
1030 static void dw_mci_ctrl_thld(struct dw_mci *host, struct mmc_data *data) in dw_mci_ctrl_thld()
1082 static int dw_mci_submit_data_dma(struct dw_mci *host, struct mmc_data *data) in dw_mci_submit_data_dma()
1141 static void dw_mci_submit_data(struct dw_mci *host, struct mmc_data *data) in dw_mci_submit_data()
1206 struct dw_mci *host = slot->host; in dw_mci_setup_bus() local
1286 static void dw_mci_set_data_timeout(struct dw_mci *host, in dw_mci_set_data_timeout()
1317 static void __dw_mci_start_request(struct dw_mci *host, in __dw_mci_start_request()
1378 static void dw_mci_start_request(struct dw_mci *host, in dw_mci_start_request()
1389 static void dw_mci_queue_request(struct dw_mci *host, struct dw_mci_slot *slot, in dw_mci_queue_request()
1419 struct dw_mci *host = slot->host; in dw_mci_request() local
1564 struct dw_mci *host = slot->host; in dw_mci_switch_voltage() local
1620 struct dw_mci *host = slot->host; in dw_mci_hw_reset() local
1647 struct dw_mci *host = slot->host; in dw_mci_prepare_sdio_irq() local
1676 struct dw_mci *host = slot->host; in __dw_mci_enable_sdio_irq() local
1696 struct dw_mci *host = slot->host; in dw_mci_enable_sdio_irq() local
1718 struct dw_mci *host = slot->host; in dw_mci_execute_tuning() local
1731 struct dw_mci *host = slot->host; in dw_mci_prepare_hs400_tuning() local
1740 static bool dw_mci_reset(struct dw_mci *host) in dw_mci_reset()
1826 struct dw_mci *host = container_of(t, struct dw_mci, fault_timer); in dw_mci_fault_timer() local
1846 static void dw_mci_start_fault_timer(struct dw_mci *host) in dw_mci_start_fault_timer()
1864 static void dw_mci_stop_fault_timer(struct dw_mci *host) in dw_mci_stop_fault_timer()
1869 static void dw_mci_init_fault(struct dw_mci *host) in dw_mci_init_fault()
1877 static void dw_mci_init_fault(struct dw_mci *host) in dw_mci_init_fault()
1881 static void dw_mci_start_fault_timer(struct dw_mci *host) in dw_mci_start_fault_timer()
1885 static void dw_mci_stop_fault_timer(struct dw_mci *host) in dw_mci_stop_fault_timer()
1890 static void dw_mci_request_end(struct dw_mci *host, struct mmc_request *mrq) in dw_mci_request_end()
1923 static int dw_mci_command_complete(struct dw_mci *host, struct mmc_command *cmd) in dw_mci_command_complete()
1956 static int dw_mci_data_complete(struct dw_mci *host, struct mmc_data *data) in dw_mci_data_complete()
1999 static void dw_mci_set_drto(struct dw_mci *host) in dw_mci_set_drto()
2030 static bool dw_mci_clear_pending_cmd_complete(struct dw_mci *host) in dw_mci_clear_pending_cmd_complete()
2048 static bool dw_mci_clear_pending_data_complete(struct dw_mci *host) in dw_mci_clear_pending_data_complete()
2062 struct dw_mci *host = from_tasklet(host, t, tasklet); in dw_mci_tasklet_func() local
2290 static void dw_mci_set_part_bytes(struct dw_mci *host, void *buf, int cnt) in dw_mci_set_part_bytes()
2297 static int dw_mci_push_part_bytes(struct dw_mci *host, void *buf, int cnt) in dw_mci_push_part_bytes()
2306 static int dw_mci_pull_part_bytes(struct dw_mci *host, void *buf, int cnt) in dw_mci_pull_part_bytes()
2319 static void dw_mci_pull_final_bytes(struct dw_mci *host, void *buf, int cnt) in dw_mci_pull_final_bytes()
2326 static void dw_mci_push_data16(struct dw_mci *host, void *buf, int cnt) in dw_mci_push_data16()
2376 static void dw_mci_pull_data16(struct dw_mci *host, void *buf, int cnt) in dw_mci_pull_data16()
2409 static void dw_mci_push_data32(struct dw_mci *host, void *buf, int cnt) in dw_mci_push_data32()
2459 static void dw_mci_pull_data32(struct dw_mci *host, void *buf, int cnt) in dw_mci_pull_data32()
2492 static void dw_mci_push_data64(struct dw_mci *host, void *buf, int cnt) in dw_mci_push_data64()
2543 static void dw_mci_pull_data64(struct dw_mci *host, void *buf, int cnt) in dw_mci_pull_data64()
2577 static void dw_mci_pull_data(struct dw_mci *host, void *buf, int cnt) in dw_mci_pull_data()
2592 static void dw_mci_read_data_pio(struct dw_mci *host, bool dto) in dw_mci_read_data_pio()
2646 static void dw_mci_write_data_pio(struct dw_mci *host) in dw_mci_write_data_pio()
2700 static void dw_mci_cmd_interrupt(struct dw_mci *host, u32 status) in dw_mci_cmd_interrupt()
2715 static void dw_mci_handle_cd(struct dw_mci *host) in dw_mci_handle_cd()
2725 struct dw_mci *host = dev_id; in dw_mci_interrupt() local
2866 struct dw_mci *host = slot->host; in dw_mci_init_slot_caps() local
2916 static int dw_mci_init_slot(struct dw_mci *host) in dw_mci_init_slot()
3000 static void dw_mci_init_dma(struct dw_mci *host) in dw_mci_init_dma()
3093 struct dw_mci *host = from_timer(host, t, cmd11_timer); in dw_mci_cmd11_timer() local
3107 struct dw_mci *host = from_timer(host, t, cto_timer); in dw_mci_cto_timer() local
3162 struct dw_mci *host = from_timer(host, t, dto_timer); in dw_mci_dto_timer() local
3212 static struct dw_mci_board *dw_mci_parse_dt(struct dw_mci *host) in dw_mci_parse_dt()
3254 static struct dw_mci_board *dw_mci_parse_dt(struct dw_mci *host) in dw_mci_parse_dt()
3260 static void dw_mci_enable_cd(struct dw_mci *host) in dw_mci_enable_cd()
3281 int dw_mci_probe(struct dw_mci *host) in dw_mci_probe()
3495 void dw_mci_remove(struct dw_mci *host) in dw_mci_remove()
3523 struct dw_mci *host = dev_get_drvdata(dev); in dw_mci_runtime_suspend() local
3542 struct dw_mci *host = dev_get_drvdata(dev); in dw_mci_runtime_resume() local