Home
last modified time | relevance | path

Searched refs:sd_ctrl_write16 (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/mmc/host/
H A Dtmio_mmc_core.c155 sd_ctrl_write16(host, CTL_SDIO_STATUS, sdio_status); in tmio_mmc_enable_sdio_irq()
157 sd_ctrl_write16(host, CTL_SDIO_IRQ_MASK, host->sdio_irq_mask); in tmio_mmc_enable_sdio_irq()
160 sd_ctrl_write16(host, CTL_SDIO_IRQ_MASK, host->sdio_irq_mask); in tmio_mmc_enable_sdio_irq()
180 sd_ctrl_write16(host, CTL_SD_MEM_CARD_OPT, reg); in tmio_mmc_set_bus_width()
195 sd_ctrl_write16(host, CTL_RESET_SD, 0x0000); in tmio_mmc_reset()
197 sd_ctrl_write16(host, CTL_RESET_SD, 0x0001); in tmio_mmc_reset()
215 sd_ctrl_write16(host, CTL_SDIO_IRQ_MASK, host->sdio_irq_mask); in tmio_mmc_reset()
216 sd_ctrl_write16(host, CTL_TRANSACTION_CTL, 0x0001); in tmio_mmc_reset()
220 sd_ctrl_write16(host, CTL_SD_MEM_CARD_OPT, card_opt); in tmio_mmc_reset()
221 sd_ctrl_write16(host, CTL_SD_CARD_CLK_CTL, clk_ctrl); in tmio_mmc_reset()
[all …]
H A Drenesas_sdhi_core.c90 sd_ctrl_write16(host, CTL_HOST_MODE, val); in renesas_sdhi_sdbuf_width()
195 sd_ctrl_write16(host, CTL_SD_CARD_CLK_CTL, ~CLK_CTL_SCLKEN & in renesas_sdhi_set_clock()
223 sd_ctrl_write16(host, CTL_SD_CARD_CLK_CTL, clk & CLK_CTL_DIV_MASK); in renesas_sdhi_set_clock()
227 sd_ctrl_write16(host, CTL_SD_CARD_CLK_CTL, CLK_CTL_SCLKEN | in renesas_sdhi_set_clock()
354 sd_ctrl_write16(host, CTL_SD_CARD_CLK_CTL, ~CLK_CTL_SCLKEN & in renesas_sdhi_init_tuning()
372 sd_ctrl_write16(host, CTL_SD_CARD_CLK_CTL, CLK_CTL_SCLKEN | in renesas_sdhi_init_tuning()
388 sd_ctrl_write16(host, CTL_SD_CARD_CLK_CTL, ~CLK_CTL_SCLKEN & in renesas_sdhi_hs400_complete()
392 sd_ctrl_write16(host, CTL_SDIF_MODE, SDIF_MODE_HS400 | in renesas_sdhi_hs400_complete()
435 sd_ctrl_write16(host, CTL_SD_CARD_CLK_CTL, CLK_CTL_SCLKEN | in renesas_sdhi_hs400_complete()
447 sd_ctrl_write16(host, CTL_SD_CARD_CLK_CTL, ~CLK_CTL_SCLKEN & in renesas_sdhi_disable_scc()
[all …]
H A Dtmio_mmc.h235 static inline void sd_ctrl_write16(struct tmio_mmc_host *host, int addr, in sd_ctrl_write16() function
H A Duniphier-sd.c89 sd_ctrl_write16(host, CTL_DMA_ENABLE, enable ? DMA_ENABLE_DMASDRW : 0); in uniphier_sd_dma_endisable()