Lines Matching refs:msdc_host
398 struct msdc_host {
609 static void msdc_reset_hw(struct msdc_host *host)
625 static void msdc_cmd_next(struct msdc_host *host,
627 static void __msdc_enable_sdio_irq(struct msdc_host *host, int enb);
645 static inline void msdc_dma_setup(struct msdc_host *host, struct msdc_dma *dma,
711 static void msdc_prepare_data(struct msdc_host *host, struct mmc_request *mrq)
722 static void msdc_unprepare_data(struct msdc_host *host, struct mmc_request *mrq)
736 static u64 msdc_timeout_cal(struct msdc_host *host, u64 ns, u64 clks)
766 static void msdc_set_timeout(struct msdc_host *host, u64 ns, u64 clks)
778 static void msdc_set_busy_timeout(struct msdc_host *host, u64 ns, u64 clks)
787 static void msdc_gate_clock(struct msdc_host *host)
795 static void msdc_ungate_clock(struct msdc_host *host)
805 static void msdc_set_mclk(struct msdc_host *host, unsigned char timing, u32 hz)
942 static inline u32 msdc_cmd_find_resp(struct msdc_host *host,
970 static inline u32 msdc_cmd_prepare_raw_cmd(struct msdc_host *host,
1025 static void msdc_start_data(struct msdc_host *host, struct mmc_request *mrq,
1043 static int msdc_auto_cmd_done(struct msdc_host *host, int events,
1075 static void msdc_recheck_sdio_irq(struct msdc_host *host)
1094 static void msdc_track_cmd_data(struct msdc_host *host,
1102 static void msdc_request_done(struct msdc_host *host, struct mmc_request *mrq)
1127 static bool msdc_cmd_done(struct msdc_host *host, int events,
1201 static inline bool msdc_cmd_is_ready(struct msdc_host *host,
1233 static void msdc_start_command(struct msdc_host *host,
1263 static void msdc_cmd_next(struct msdc_host *host,
1282 struct msdc_host *host = mmc_priv(mmc);
1304 struct msdc_host *host = mmc_priv(mmc);
1317 struct msdc_host *host = mmc_priv(mmc);
1329 static void msdc_data_xfer_next(struct msdc_host *host,
1339 static bool msdc_data_xfer_done(struct msdc_host *host, u32 events,
1395 static void msdc_set_buswidth(struct msdc_host *host, u32 width)
1420 struct msdc_host *host = mmc_priv(mmc);
1448 struct msdc_host *host = mmc_priv(mmc);
1457 struct msdc_host *host = container_of(work, struct msdc_host,
1480 static void __msdc_enable_sdio_irq(struct msdc_host *host, int enb)
1496 struct msdc_host *host = mmc_priv(mmc);
1508 static irqreturn_t msdc_cmdq_irq(struct msdc_host *host, u32 intsts)
1539 struct msdc_host *host = (struct msdc_host *) dev_id;
1601 static void msdc_init_hw(struct msdc_host *host)
1740 static void msdc_deinit_hw(struct msdc_host *host)
1758 static void msdc_init_gpd_bd(struct msdc_host *host, struct msdc_dma *dma)
1792 struct msdc_host *host = mmc_priv(mmc);
1853 static struct msdc_delay_phase get_best_delay(struct msdc_host *host, u32 delay)
1891 static inline void msdc_set_cmd_delay(struct msdc_host *host, u32 value)
1903 static inline void msdc_set_data_delay(struct msdc_host *host, u32 value)
1917 struct msdc_host *host = mmc_priv(mmc);
2011 struct msdc_host *host = mmc_priv(mmc);
2061 struct msdc_host *host = mmc_priv(mmc);
2116 struct msdc_host *host = mmc_priv(mmc);
2176 struct msdc_host *host = mmc_priv(mmc);
2219 struct msdc_host *host = mmc_priv(mmc);
2237 struct msdc_host *host = mmc_priv(mmc);
2247 struct msdc_host *host = mmc_priv(mmc);
2256 struct msdc_host *host = mmc_priv(mmc);
2274 struct msdc_host *host = mmc_priv(mmc);
2288 struct msdc_host *host = mmc_priv(mmc);
2353 struct msdc_host *host)
2383 struct msdc_host *host;
2393 mmc = mmc_alloc_host(sizeof(struct msdc_host), &pdev->dev);
2592 struct msdc_host *host;
2617 static void msdc_save_reg(struct msdc_host *host)
2644 static void msdc_restore_reg(struct msdc_host *host)
2678 struct msdc_host *host = mmc_priv(mmc);
2688 struct msdc_host *host = mmc_priv(mmc);
2705 val = readl(((struct msdc_host *)mmc_priv(mmc))->base + MSDC_INT);
2706 writel(val, ((struct msdc_host *)mmc_priv(mmc))->base + MSDC_INT);