Lines Matching refs:sd_ctrl_write16
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()
81 sd_ctrl_write16(host, CTL_RESET_SD, 0x0000); in tmio_mmc_reset()
82 sd_ctrl_write16(host, CTL_RESET_SDIO, 0x0000); in tmio_mmc_reset()
84 sd_ctrl_write16(host, CTL_RESET_SD, 0x0001); in tmio_mmc_reset()
85 sd_ctrl_write16(host, CTL_RESET_SDIO, 0x0001); in tmio_mmc_reset()
89 sd_ctrl_write16(host, CTL_SDIO_IRQ_MASK, host->sdio_irq_mask); in tmio_mmc_reset()
90 sd_ctrl_write16(host, CTL_TRANSACTION_CTL, 0x0001); in tmio_mmc_reset()