Lines Matching refs:sd_ctrl_write16

142 		sd_ctrl_write16(host, CTL_TRANSACTION_CTL, 0x0001);  in tmio_mmc_enable_sdio_irq()
143 sd_ctrl_write16(host, CTL_SDIO_IRQ_MASK, host->sdio_irq_mask); in tmio_mmc_enable_sdio_irq()
146 sd_ctrl_write16(host, CTL_SDIO_IRQ_MASK, host->sdio_irq_mask); in tmio_mmc_enable_sdio_irq()
147 sd_ctrl_write16(host, CTL_TRANSACTION_CTL, 0x0000); in tmio_mmc_enable_sdio_irq()
174 sd_ctrl_write16(host, CTL_SD_CARD_CLK_CTL, clk & 0x1ff); in tmio_mmc_set_clock()
182 sd_ctrl_write16(host, CTL_CLK_AND_WAIT_CTL, 0x0000); in tmio_mmc_clk_stop()
186 sd_ctrl_write16(host, CTL_SD_CARD_CLK_CTL, ~0x0100 & in tmio_mmc_clk_stop()
193 sd_ctrl_write16(host, CTL_SD_CARD_CLK_CTL, 0x0100 | in tmio_mmc_clk_start()
199 sd_ctrl_write16(host, CTL_CLK_AND_WAIT_CTL, 0x0100); in tmio_mmc_clk_start()
207 sd_ctrl_write16(host, CTL_RESET_SD, 0x0000); in tmio_mmc_reset()
210 sd_ctrl_write16(host, CTL_RESET_SDIO, 0x0000); in tmio_mmc_reset()
212 sd_ctrl_write16(host, CTL_RESET_SD, 0x0001); in tmio_mmc_reset()
214 sd_ctrl_write16(host, CTL_RESET_SDIO, 0x0001); in tmio_mmc_reset()
330 sd_ctrl_write16(host, CTL_STOP_INTERNAL_ACTION, 0x001); in tmio_mmc_start_command()
355 sd_ctrl_write16(host, CTL_STOP_INTERNAL_ACTION, 0x100); in tmio_mmc_start_command()
376 sd_ctrl_write16(host, CTL_SD_CMD, c); in tmio_mmc_start_command()
412 sd_ctrl_write16(host, CTL_SD_DATA_PORT, *buf8); in tmio_mmc_transfer_data()
512 sd_ctrl_write16(host, CTL_STOP_INTERNAL_ACTION, 0x000); in tmio_mmc_do_data_irq()
728 sd_ctrl_write16(host, CTL_SDIO_STATUS, sdio_status); in tmio_mmc_sdio_irq()
779 sd_ctrl_write16(host, CTL_SD_XFER_LEN, data->blksz); in tmio_mmc_start_data()
780 sd_ctrl_write16(host, CTL_XFER_BLK_COUNT, data->blocks); in tmio_mmc_start_data()
905 sd_ctrl_write16(host, CTL_SD_MEM_CARD_OPT, 0x80e0); in tmio_mmc_set_bus_width()
908 sd_ctrl_write16(host, CTL_SD_MEM_CARD_OPT, 0x00e0); in tmio_mmc_set_bus_width()
1175 sd_ctrl_write16(_host, CTL_SDIO_IRQ_MASK, _host->sdio_irq_mask); in tmio_mmc_host_probe()
1176 sd_ctrl_write16(_host, CTL_TRANSACTION_CTL, 0x0000); in tmio_mmc_host_probe()