Lines Matching defs:host
338 struct mmci_host *host = mmc_priv(mmc); in mmci_card_busy() local
350 static void mmci_reg_delay(struct mmci_host *host) in mmci_reg_delay()
368 void mmci_write_clkreg(struct mmci_host *host, u32 clk) in mmci_write_clkreg()
379 void mmci_write_pwrreg(struct mmci_host *host, u32 pwr) in mmci_write_pwrreg()
390 static void mmci_write_datactrlreg(struct mmci_host *host, u32 datactrl) in mmci_write_datactrlreg()
404 static void mmci_set_clkreg(struct mmci_host *host, unsigned int desired) in mmci_set_clkreg()
463 static void mmci_dma_release(struct mmci_host *host) in mmci_dma_release()
471 static void mmci_dma_setup(struct mmci_host *host) in mmci_dma_setup()
488 static int mmci_validate_data(struct mmci_host *host, in mmci_validate_data()
507 static int mmci_prep_data(struct mmci_host *host, struct mmc_data *data, bool next) in mmci_prep_data()
523 static void mmci_unprep_data(struct mmci_host *host, struct mmc_data *data, in mmci_unprep_data()
532 static void mmci_get_next_data(struct mmci_host *host, struct mmc_data *data) in mmci_get_next_data()
540 static int mmci_dma_start(struct mmci_host *host, unsigned int datactrl) in mmci_dma_start()
577 static void mmci_dma_finalize(struct mmci_host *host, struct mmc_data *data) in mmci_dma_finalize()
586 static void mmci_dma_error(struct mmci_host *host) in mmci_dma_error()
596 mmci_request_end(struct mmci_host *host, struct mmc_request *mrq) in mmci_request_end()
608 static void mmci_set_mask1(struct mmci_host *host, unsigned int mask) in mmci_set_mask1()
628 static void mmci_stop_data(struct mmci_host *host) in mmci_stop_data()
635 static void mmci_init_sg(struct mmci_host *host, struct mmc_data *data) in mmci_init_sg()
647 static u32 mmci_get_dctrl_cfg(struct mmci_host *host) in mmci_get_dctrl_cfg()
652 static u32 ux500v2_get_dctrl_cfg(struct mmci_host *host) in ux500v2_get_dctrl_cfg()
657 static bool ux500_busy_complete(struct mmci_host *host, u32 status, u32 err_msk) in ux500_busy_complete()
737 int mmci_dmae_setup(struct mmci_host *host) in mmci_dmae_setup()
815 void mmci_dmae_release(struct mmci_host *host) in mmci_dmae_release()
826 static void mmci_dma_unmap(struct mmci_host *host, struct mmc_data *data) in mmci_dma_unmap()
840 void mmci_dmae_error(struct mmci_host *host) in mmci_dmae_error()
857 void mmci_dmae_finalize(struct mmci_host *host, struct mmc_data *data) in mmci_dmae_finalize()
903 static int _mmci_dmae_prep_data(struct mmci_host *host, struct mmc_data *data, in _mmci_dmae_prep_data()
978 int mmci_dmae_prep_data(struct mmci_host *host, in mmci_dmae_prep_data()
999 int mmci_dmae_start(struct mmci_host *host, unsigned int *datactrl) in mmci_dmae_start()
1017 void mmci_dmae_get_next_data(struct mmci_host *host, struct mmc_data *data) in mmci_dmae_get_next_data()
1033 void mmci_dmae_unprep_data(struct mmci_host *host, in mmci_dmae_unprep_data()
1083 static void mmci_variant_init(struct mmci_host *host) in mmci_variant_init()
1088 static void ux500_variant_init(struct mmci_host *host) in ux500_variant_init()
1094 static void ux500v2_variant_init(struct mmci_host *host) in ux500v2_variant_init()
1103 struct mmci_host *host = mmc_priv(mmc); in mmci_pre_request() local
1120 struct mmci_host *host = mmc_priv(mmc); in mmci_post_request() local
1129 static void mmci_start_data(struct mmci_host *host, struct mmc_data *data) in mmci_start_data()
1214 mmci_start_command(struct mmci_host *host, struct mmc_command *cmd, u32 c) in mmci_start_command()
1269 static void mmci_stop_command(struct mmci_host *host) in mmci_stop_command()
1276 mmci_data_irq(struct mmci_host *host, struct mmc_data *data, in mmci_data_irq()
1358 mmci_cmd_irq(struct mmci_host *host, struct mmc_command *cmd, in mmci_cmd_irq()
1432 static int mmci_get_rx_fifocnt(struct mmci_host *host, u32 status, int remain) in mmci_get_rx_fifocnt()
1437 static int mmci_qcom_get_rx_fifocnt(struct mmci_host *host, u32 status, int r) in mmci_qcom_get_rx_fifocnt()
1451 static int mmci_pio_read(struct mmci_host *host, char *buffer, unsigned int remain) in mmci_pio_read()
1499 static int mmci_pio_write(struct mmci_host *host, char *buffer, unsigned int remain, u32 status) in mmci_pio_write()
1539 struct mmci_host *host = dev_id; in mmci_pio_irq() local
1614 struct mmci_host *host = dev_id; in mmci_irq() local
1675 struct mmci_host *host = dev_id; in mmci_irq_thread() local
1699 struct mmci_host *host = mmc_priv(mmc); in mmci_request() local
1731 struct mmci_host *host = mmc_priv(mmc); in mmci_set_max_busy_timeout() local
1746 struct mmci_host *host = mmc_priv(mmc); in mmci_set_ios() local
1858 struct mmci_host *host = mmc_priv(mmc); in mmci_get_cd() local
1873 struct mmci_host *host = mmc_priv(mmc); in mmci_sig_volt_switch() local
1902 struct mmci_host *host = mmc_priv(mmc); in mmci_probe_level_translator() local
1960 struct mmci_host *host = mmc_priv(mmc); in mmci_of_parse() local
1999 struct mmci_host *host; in mmci_probe() local
2279 struct mmci_host *host = mmc_priv(mmc); in mmci_remove() local
2305 static void mmci_save(struct mmci_host *host) in mmci_save()
2322 static void mmci_restore(struct mmci_host *host) in mmci_restore()
2346 struct mmci_host *host = mmc_priv(mmc); in mmci_runtime_suspend() local
2361 struct mmci_host *host = mmc_priv(mmc); in mmci_runtime_resume() local