Searched refs:sd_ctrl_write16 (Results 1 – 5 of 5) sorted by relevance
/drivers/mmc/host/ |
D | tmio_mmc.c | 31 sd_ctrl_write16(host, CTL_SD_CARD_CLK_CTL, CLK_CTL_SCLKEN | in tmio_mmc_clk_start() 35 sd_ctrl_write16(host, CTL_CLK_AND_WAIT_CTL, 0x0100); in tmio_mmc_clk_start() 41 sd_ctrl_write16(host, CTL_CLK_AND_WAIT_CTL, 0x0000); in tmio_mmc_clk_stop() 44 sd_ctrl_write16(host, CTL_SD_CARD_CLK_CTL, ~CLK_CTL_SCLKEN & in tmio_mmc_clk_stop() 70 sd_ctrl_write16(host, CTL_SD_CARD_CLK_CTL, ~CLK_CTL_SCLKEN & in tmio_mmc_set_clock() 72 sd_ctrl_write16(host, CTL_SD_CARD_CLK_CTL, clk & CLK_CTL_DIV_MASK); in tmio_mmc_set_clock() 80 sd_ctrl_write16(host, CTL_RESET_SDIO, 0x0000); in tmio_mmc_reset() 82 sd_ctrl_write16(host, CTL_RESET_SDIO, 0x0001); in tmio_mmc_reset()
|
D | tmio_mmc_core.c | 154 sd_ctrl_write16(host, CTL_SDIO_STATUS, sdio_status); in tmio_mmc_enable_sdio_irq() 156 sd_ctrl_write16(host, CTL_SDIO_IRQ_MASK, host->sdio_irq_mask); in tmio_mmc_enable_sdio_irq() 159 sd_ctrl_write16(host, CTL_SDIO_IRQ_MASK, host->sdio_irq_mask); in tmio_mmc_enable_sdio_irq() 179 sd_ctrl_write16(host, CTL_SD_MEM_CARD_OPT, reg); in tmio_mmc_set_bus_width() 194 sd_ctrl_write16(host, CTL_RESET_SD, 0x0000); in tmio_mmc_reset() 196 sd_ctrl_write16(host, CTL_RESET_SD, 0x0001); in tmio_mmc_reset() 214 sd_ctrl_write16(host, CTL_SDIO_IRQ_MASK, host->sdio_irq_mask); in tmio_mmc_reset() 215 sd_ctrl_write16(host, CTL_TRANSACTION_CTL, 0x0001); in tmio_mmc_reset() 219 sd_ctrl_write16(host, CTL_SD_MEM_CARD_OPT, card_opt); in tmio_mmc_reset() 220 sd_ctrl_write16(host, CTL_SD_CARD_CLK_CTL, clk_ctrl); in tmio_mmc_reset() [all …]
|
D | renesas_sdhi_core.c | 90 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 …]
|
D | tmio_mmc.h | 250 static inline void sd_ctrl_write16(struct tmio_mmc_host *host, int addr, in sd_ctrl_write16() function
|
D | uniphier-sd.c | 80 sd_ctrl_write16(host, CTL_DMA_ENABLE, enable ? DMA_ENABLE_DMASDRW : 0); in uniphier_sd_dma_endisable()
|