Lines Matching refs:sd_ctrl_write16

140 		sd_ctrl_write16(host, CTL_TRANSACTION_CTL, 0x0001);  in tmio_mmc_enable_sdio_irq()
141 sd_ctrl_write16(host, CTL_SDIO_IRQ_MASK, host->sdio_irq_mask); in tmio_mmc_enable_sdio_irq()
144 sd_ctrl_write16(host, CTL_SDIO_IRQ_MASK, host->sdio_irq_mask); in tmio_mmc_enable_sdio_irq()
145 sd_ctrl_write16(host, CTL_TRANSACTION_CTL, 0x0000); in tmio_mmc_enable_sdio_irq()
172 sd_ctrl_write16(host, CTL_SD_CARD_CLK_CTL, clk & 0x1ff); in tmio_mmc_set_clock()
180 sd_ctrl_write16(host, CTL_CLK_AND_WAIT_CTL, 0x0000); in tmio_mmc_clk_stop()
184 sd_ctrl_write16(host, CTL_SD_CARD_CLK_CTL, ~0x0100 & in tmio_mmc_clk_stop()
191 sd_ctrl_write16(host, CTL_SD_CARD_CLK_CTL, 0x0100 | in tmio_mmc_clk_start()
197 sd_ctrl_write16(host, CTL_CLK_AND_WAIT_CTL, 0x0100); in tmio_mmc_clk_start()
205 sd_ctrl_write16(host, CTL_RESET_SD, 0x0000); in tmio_mmc_reset()
208 sd_ctrl_write16(host, CTL_RESET_SDIO, 0x0000); in tmio_mmc_reset()
210 sd_ctrl_write16(host, CTL_RESET_SD, 0x0001); in tmio_mmc_reset()
212 sd_ctrl_write16(host, CTL_RESET_SDIO, 0x0001); in tmio_mmc_reset()
328 sd_ctrl_write16(host, CTL_STOP_INTERNAL_ACTION, 0x001); in tmio_mmc_start_command()
353 sd_ctrl_write16(host, CTL_STOP_INTERNAL_ACTION, 0x100); in tmio_mmc_start_command()
374 sd_ctrl_write16(host, CTL_SD_CMD, c); in tmio_mmc_start_command()
410 sd_ctrl_write16(host, CTL_SD_DATA_PORT, *buf8); in tmio_mmc_transfer_data()
510 sd_ctrl_write16(host, CTL_STOP_INTERNAL_ACTION, 0x000); in tmio_mmc_do_data_irq()
726 sd_ctrl_write16(host, CTL_SDIO_STATUS, sdio_status); in tmio_mmc_sdio_irq()
777 sd_ctrl_write16(host, CTL_SD_XFER_LEN, data->blksz); in tmio_mmc_start_data()
778 sd_ctrl_write16(host, CTL_XFER_BLK_COUNT, data->blocks); in tmio_mmc_start_data()
903 sd_ctrl_write16(host, CTL_SD_MEM_CARD_OPT, 0x80e0); in tmio_mmc_set_bus_width()
906 sd_ctrl_write16(host, CTL_SD_MEM_CARD_OPT, 0x00e0); in tmio_mmc_set_bus_width()
1172 sd_ctrl_write16(_host, CTL_SDIO_IRQ_MASK, _host->sdio_irq_mask); in tmio_mmc_host_probe()
1173 sd_ctrl_write16(_host, CTL_TRANSACTION_CTL, 0x0000); in tmio_mmc_host_probe()