tmio_mmc_host
void (*enable)(struct tmio_mmc_host *host, bool enable);
struct tmio_mmc_host *host;
struct tmio_mmc_host *host = rdev_get_drvdata(rdev);
struct tmio_mmc_host *host;
static unsigned int renesas_sdhi_clk_update(struct tmio_mmc_host *host,
struct tmio_mmc_host *host = platform_get_drvdata(pdev);
struct tmio_mmc_host *host = dev_get_drvdata(dev);
struct tmio_mmc_host *host = dev_get_drvdata(dev);
static void renesas_sdhi_set_clock(struct tmio_mmc_host *host,
static void renesas_sdhi_clk_disable(struct tmio_mmc_host *host)
struct tmio_mmc_host *host = mmc_priv(mmc);
struct tmio_mmc_host *host = mmc_priv(mmc);
static inline u32 sd_scc_read32(struct tmio_mmc_host *host,
static inline void sd_scc_write32(struct tmio_mmc_host *host,
static unsigned int renesas_sdhi_init_tuning(struct tmio_mmc_host *host)
struct tmio_mmc_host *host = mmc_priv(mmc);
struct tmio_mmc_host *host = mmc_priv(mmc);
static u32 sd_scc_tmpport_read32(struct tmio_mmc_host *host,
static void sd_scc_tmpport_write32(struct tmio_mmc_host *host,
static void renesas_sdhi_adjust_hs400_mode_enable(struct tmio_mmc_host *host)
static void renesas_sdhi_adjust_hs400_mode_disable(struct tmio_mmc_host *host)
static void renesas_sdhi_reset_hs400_mode(struct tmio_mmc_host *host,
struct tmio_mmc_host *host = mmc_priv(mmc);
static void renesas_sdhi_scc_reset(struct tmio_mmc_host *host, struct renesas_sdhi *priv)
static void renesas_sdhi_reset(struct tmio_mmc_host *host, bool preserve)
static unsigned int renesas_sdhi_gen3_get_cycles(struct tmio_mmc_host *host)
static int renesas_sdhi_select_tuning(struct tmio_mmc_host *host)
static void renesas_sdhi_sdbuf_width(struct tmio_mmc_host *host, int width)
struct tmio_mmc_host *host = mmc_priv(mmc);
static bool renesas_sdhi_manual_correction(struct tmio_mmc_host *host, bool use_4tap)
static bool renesas_sdhi_auto_correction(struct tmio_mmc_host *host)
static bool renesas_sdhi_check_scc_error(struct tmio_mmc_host *host,
struct tmio_mmc_host *host = mmc_priv(mmc);
static void renesas_sdhi_sdio_irq(struct tmio_mmc_host *host)
static int renesas_sdhi_wait_idle(struct tmio_mmc_host *host, u32 bit)
static int renesas_sdhi_write16_hook(struct tmio_mmc_host *host, int addr)
static void renesas_sdhi_fixup_request(struct tmio_mmc_host *host, struct mmc_request *mrq)
static void renesas_sdhi_enable_dma(struct tmio_mmc_host *host, bool enable)
struct tmio_mmc_host *host = rdev_get_drvdata(rdev);
static int renesas_sdhi_clk_enable(struct tmio_mmc_host *host)
struct tmio_mmc_host *host = rdev_get_drvdata(rdev);
struct tmio_mmc_host *host = rdev_get_drvdata(rdev);
struct tmio_mmc_host *host = rdev_get_drvdata(rdev);
renesas_sdhi_internal_dmac_enable_dma(struct tmio_mmc_host *host, bool enable)
renesas_sdhi_internal_dmac_abort_dma(struct tmio_mmc_host *host)
static bool renesas_sdhi_internal_dmac_dma_irq(struct tmio_mmc_host *host)
renesas_sdhi_internal_dmac_dataend_dma(struct tmio_mmc_host *host)
renesas_sdhi_internal_dmac_unmap(struct tmio_mmc_host *host,
renesas_sdhi_internal_dmac_map(struct tmio_mmc_host *host,
renesas_sdhi_internal_dmac_start_dma(struct tmio_mmc_host *host,
struct tmio_mmc_host *host = from_work(host, work, dma_issue);
static bool renesas_sdhi_internal_dmac_complete(struct tmio_mmc_host *host)
struct tmio_mmc_host *host = priv->host;
static void renesas_sdhi_internal_dmac_end_dma(struct tmio_mmc_host *host)
struct tmio_mmc_host *host = mmc_priv(mmc);
struct tmio_mmc_host *host = mmc_priv(mmc);
renesas_sdhi_internal_dmac_request_dma(struct tmio_mmc_host *host,
renesas_sdhi_internal_dmac_release_dma(struct tmio_mmc_host *host)
static void renesas_sdhi_sys_dmac_abort_dma(struct tmio_mmc_host *host)
static void renesas_sdhi_sys_dmac_dataend_dma(struct tmio_mmc_host *host)
struct tmio_mmc_host *host = arg;
static void renesas_sdhi_sys_dmac_start_dma_rx(struct tmio_mmc_host *host)
static void renesas_sdhi_sys_dmac_start_dma_tx(struct tmio_mmc_host *host)
static void renesas_sdhi_sys_dmac_start_dma(struct tmio_mmc_host *host,
struct tmio_mmc_host *host = from_work(host, work, dma_issue);
static void renesas_sdhi_sys_dmac_request_dma(struct tmio_mmc_host *host,
static void renesas_sdhi_sys_dmac_release_dma(struct tmio_mmc_host *host)
static void renesas_sdhi_sys_dmac_enable_dma(struct tmio_mmc_host *host,
struct tmio_mmc_host;
void (*start)(struct tmio_mmc_host *host, struct mmc_data *data);
void (*enable)(struct tmio_mmc_host *host, bool enable);
void (*request)(struct tmio_mmc_host *host,
void (*release)(struct tmio_mmc_host *host);
void (*abort)(struct tmio_mmc_host *host);
void (*dataend)(struct tmio_mmc_host *host);
void (*end)(struct tmio_mmc_host *host); /* held host->lock */
bool (*dma_irq)(struct tmio_mmc_host *host);
int (*clk_enable)(struct tmio_mmc_host *host);
void (*set_clock)(struct tmio_mmc_host *host, unsigned int clock);
void (*clk_disable)(struct tmio_mmc_host *host);
int (*write16_hook)(struct tmio_mmc_host *host, int addr);
void (*reset)(struct tmio_mmc_host *host, bool preserve);
bool (*check_retune)(struct tmio_mmc_host *host, struct mmc_request *mrq);
void (*fixup_request)(struct tmio_mmc_host *host, struct mmc_request *mrq);
unsigned int (*get_timeout_cycles)(struct tmio_mmc_host *host);
void (*sdio_irq)(struct tmio_mmc_host *host);
struct tmio_mmc_host *tmio_mmc_host_alloc(struct platform_device *pdev,
int tmio_mmc_host_probe(struct tmio_mmc_host *host);
void tmio_mmc_host_remove(struct tmio_mmc_host *host);
void tmio_mmc_do_data_irq(struct tmio_mmc_host *host);
void tmio_mmc_enable_mmc_irqs(struct tmio_mmc_host *host, u32 i);
void tmio_mmc_disable_mmc_irqs(struct tmio_mmc_host *host, u32 i);
static inline u16 sd_ctrl_read16(struct tmio_mmc_host *host, int addr)
static inline void sd_ctrl_read16_rep(struct tmio_mmc_host *host, int addr,
static inline u32 sd_ctrl_read16_and_16_as_32(struct tmio_mmc_host *host,
static inline u32 sd_ctrl_read32(struct tmio_mmc_host *host, int addr)
static inline void sd_ctrl_read32_rep(struct tmio_mmc_host *host, int addr,
static inline void sd_ctrl_read64_rep(struct tmio_mmc_host *host, int addr,
static inline void sd_ctrl_write64_rep(struct tmio_mmc_host *host, int addr,
static inline void sd_ctrl_write16(struct tmio_mmc_host *host, int addr,
static inline void sd_ctrl_write16_rep(struct tmio_mmc_host *host, int addr,
static inline void sd_ctrl_write32_as_16_and_16(struct tmio_mmc_host *host,
static inline void sd_ctrl_write32(struct tmio_mmc_host *host, int addr, u32 val)
static inline void sd_ctrl_write32_rep(struct tmio_mmc_host *host, int addr,
void tmio_mmc_enable_mmc_irqs(struct tmio_mmc_host *host, u32 i)
struct tmio_mmc_host *host = mmc_priv(mmc);
struct tmio_mmc_host *host = mmc_priv(mmc);
struct tmio_mmc_host *host = mmc_priv(card->host);
static int tmio_mmc_init_ocr(struct tmio_mmc_host *host)
void tmio_mmc_disable_mmc_irqs(struct tmio_mmc_host *host, u32 i)
struct tmio_mmc_host *tmio_mmc_host_alloc(struct platform_device *pdev,
struct tmio_mmc_host *host;
int tmio_mmc_host_probe(struct tmio_mmc_host *_host)
static void tmio_mmc_ack_mmc_irqs(struct tmio_mmc_host *host, u32 i)
static void tmio_mmc_init_sg(struct tmio_mmc_host *host, struct mmc_data *data)
void tmio_mmc_host_remove(struct tmio_mmc_host *host)
static int tmio_mmc_next_sg(struct tmio_mmc_host *host)
static int tmio_mmc_clk_enable(struct tmio_mmc_host *host)
static void tmio_mmc_clk_disable(struct tmio_mmc_host *host)
struct tmio_mmc_host *host = dev_get_drvdata(dev);
struct tmio_mmc_host *host = dev_get_drvdata(dev);
struct tmio_mmc_host *host = mmc_priv(mmc);
static void tmio_mmc_set_bus_width(struct tmio_mmc_host *host,
static void tmio_mmc_reset(struct tmio_mmc_host *host, bool preserve)
struct tmio_mmc_host *host = container_of(work, struct tmio_mmc_host,
static int tmio_mmc_start_command(struct tmio_mmc_host *host,
static void tmio_mmc_transfer_data(struct tmio_mmc_host *host,
static void tmio_mmc_pio_irq(struct tmio_mmc_host *host)
static void tmio_mmc_check_bounce_buffer(struct tmio_mmc_host *host)
void tmio_mmc_do_data_irq(struct tmio_mmc_host *host)
static inline void tmio_mmc_start_dma(struct tmio_mmc_host *host,
static void tmio_mmc_data_irq(struct tmio_mmc_host *host, unsigned int stat)
static void tmio_mmc_cmd_irq(struct tmio_mmc_host *host, unsigned int stat)
static inline void tmio_mmc_end_dma(struct tmio_mmc_host *host)
static bool __tmio_mmc_card_detect_irq(struct tmio_mmc_host *host,
static inline void tmio_mmc_enable_dma(struct tmio_mmc_host *host, bool enable)
static bool __tmio_mmc_sdcard_irq(struct tmio_mmc_host *host, int ireg,
static bool __tmio_mmc_sdio_irq(struct tmio_mmc_host *host)
static inline void tmio_mmc_request_dma(struct tmio_mmc_host *host,
struct tmio_mmc_host *host = devid;
static int tmio_mmc_start_data(struct tmio_mmc_host *host,
static void tmio_process_mrq(struct tmio_mmc_host *host,
struct tmio_mmc_host *host = mmc_priv(mmc);
static inline void tmio_mmc_release_dma(struct tmio_mmc_host *host)
static void tmio_mmc_finish_request(struct tmio_mmc_host *host)
static inline void tmio_mmc_abort_dma(struct tmio_mmc_host *host)
struct tmio_mmc_host *host = container_of(work, struct tmio_mmc_host,
static void tmio_mmc_power_on(struct tmio_mmc_host *host, unsigned short vdd)
static void tmio_mmc_power_off(struct tmio_mmc_host *host)
static unsigned int tmio_mmc_get_timeout_cycles(struct tmio_mmc_host *host)
static inline void tmio_mmc_dataend_dma(struct tmio_mmc_host *host)
static void tmio_mmc_max_busy_timeout(struct tmio_mmc_host *host)
struct tmio_mmc_host *host = mmc_priv(mmc);
struct tmio_mmc_host *host = param;
static void uniphier_sd_external_dma_start(struct tmio_mmc_host *host,
static void uniphier_sd_external_dma_enable(struct tmio_mmc_host *host,
static void uniphier_sd_external_dma_request(struct tmio_mmc_host *host,
static void uniphier_sd_external_dma_release(struct tmio_mmc_host *host)
static void uniphier_sd_external_dma_abort(struct tmio_mmc_host *host)
static void uniphier_sd_external_dma_dataend(struct tmio_mmc_host *host)
struct tmio_mmc_host *host = from_work(host, t, dma_issue);
static void uniphier_sd_internal_dma_start(struct tmio_mmc_host *host,
static void uniphier_sd_internal_dma_enable(struct tmio_mmc_host *host,
static void uniphier_sd_internal_dma_request(struct tmio_mmc_host *host,
static void uniphier_sd_internal_dma_release(struct tmio_mmc_host *host)
static void uniphier_sd_internal_dma_abort(struct tmio_mmc_host *host)
static void uniphier_sd_internal_dma_dataend(struct tmio_mmc_host *host)
static int uniphier_sd_clk_enable(struct tmio_mmc_host *host)
static void uniphier_sd_clk_disable(struct tmio_mmc_host *host)
struct tmio_mmc_host *host = mmc_priv(mmc);
static void uniphier_sd_speed_switch(struct tmio_mmc_host *host)
static void uniphier_sd_uhs_enable(struct tmio_mmc_host *host, bool uhs_en)
static void uniphier_sd_set_clock(struct tmio_mmc_host *host,
static void uniphier_sd_host_init(struct tmio_mmc_host *host)
struct tmio_mmc_host *host = mmc_priv(mmc);
static int uniphier_sd_uhs_init(struct tmio_mmc_host *host)
struct tmio_mmc_host *host;
struct tmio_mmc_host *host = platform_get_drvdata(pdev);
static void *uniphier_sd_priv(struct tmio_mmc_host *host)
static void uniphier_sd_dma_endisable(struct tmio_mmc_host *host, int enable)
struct tmio_mmc_host *host = from_work(host, t, dma_issue);