Lines Matching refs:dwmci_readl
95 ctrl = dwmci_readl(host, DWMCI_CTRL); in dwmci_wait_reset()
152 ctrl = dwmci_readl(host, DWMCI_CTRL); in dwmci_prepare_data()
156 ctrl = dwmci_readl(host, DWMCI_BMOD); in dwmci_prepare_data()
172 drto_clks = dwmci_readl(host, DWMCI_TMOUT) >> 8; in dwmci_get_drto()
173 drto_div = (dwmci_readl(host, DWMCI_CLKDIV) & 0xff) * 2; in dwmci_get_drto()
208 cto_clks = dwmci_readl(host, DWMCI_TMOUT) & 0xff; in dwmci_get_cto()
209 cto_div = (dwmci_readl(host, DWMCI_CLKDIV) & 0xff) * 2; in dwmci_get_cto()
245 mask = dwmci_readl(host, DWMCI_RINTSTS); in dwmci_data_transfer()
254 status = dwmci_readl(host, DWMCI_CMD); in dwmci_data_transfer()
261 ctrl = dwmci_readl(host, DWMCI_BMOD); in dwmci_data_transfer()
275 len = dwmci_readl(host, DWMCI_STATUS); in dwmci_data_transfer()
282 *buf++ = dwmci_readl(host, DWMCI_DATA); in dwmci_data_transfer()
305 len = dwmci_readl(host, DWMCI_STATUS); in dwmci_data_transfer()
386 while (dwmci_readl(host, DWMCI_STATUS) & DWMCI_BUSY) {
453 mask = dwmci_readl(host, DWMCI_RINTSTS);
485 cmd->response[0] = dwmci_readl(host, DWMCI_RESP3);
486 cmd->response[1] = dwmci_readl(host, DWMCI_RESP2);
487 cmd->response[2] = dwmci_readl(host, DWMCI_RESP1);
488 cmd->response[3] = dwmci_readl(host, DWMCI_RESP0);
490 cmd->response[0] = dwmci_readl(host, DWMCI_RESP0);
499 ctrl = dwmci_readl(host, DWMCI_CTRL);
534 while (dwmci_readl(host, DWMCI_STATUS) & DWMCI_BUSY) {
595 mask = dwmci_readl(host, DWMCI_RINTSTS);
626 cmd->response[0] = dwmci_readl(host, DWMCI_RESP3);
627 cmd->response[1] = dwmci_readl(host, DWMCI_RESP2);
628 cmd->response[2] = dwmci_readl(host, DWMCI_RESP1);
629 cmd->response[3] = dwmci_readl(host, DWMCI_RESP0);
631 cmd->response[0] = dwmci_readl(host, DWMCI_RESP0);
677 status = dwmci_readl(host, DWMCI_CMD);
692 status = dwmci_readl(host, DWMCI_CMD);
719 status = dwmci_readl(host, DWMCI_STATUS);
768 regs = dwmci_readl(host, DWMCI_UHS_REG);
801 verid = dwmci_readl(host, DWMCI_VERID) & 0x0000ffff;
810 use_dma = SDMMC_GET_TRANS_MODE(dwmci_readl(host, DWMCI_HCON));
831 fifo_size = dwmci_readl(host, DWMCI_FIFOTH);