Lines Matching refs:dwmci_readl

97 		ctrl = dwmci_readl(host, DWMCI_CTRL);  in dwmci_wait_reset()
154 ctrl = dwmci_readl(host, DWMCI_CTRL); in dwmci_prepare_data()
158 ctrl = dwmci_readl(host, DWMCI_BMOD); in dwmci_prepare_data()
186 cto_clks = dwmci_readl(host, DWMCI_TMOUT) & 0xff; in dwmci_get_cto()
187 cto_div = (dwmci_readl(host, DWMCI_CLKDIV) & 0xff) * 2; in dwmci_get_cto()
221 if ((dwmci_readl(host, DWMCI_CMD) & 0x1F) == MMC_SEND_TUNING_BLOCK_HS200) in dwmci_data_transfer()
227 mask = dwmci_readl(host, DWMCI_RINTSTS); in dwmci_data_transfer()
241 status = dwmci_readl(host, DWMCI_CMD); in dwmci_data_transfer()
248 ctrl = dwmci_readl(host, DWMCI_BMOD); in dwmci_data_transfer()
262 len = dwmci_readl(host, DWMCI_STATUS); in dwmci_data_transfer()
269 *buf++ = dwmci_readl(host, DWMCI_DATA); in dwmci_data_transfer()
292 len = dwmci_readl(host, DWMCI_STATUS); in dwmci_data_transfer()
372 while (dwmci_readl(host, DWMCI_STATUS) & DWMCI_BUSY) {
441 mask = dwmci_readl(host, DWMCI_RINTSTS);
473 cmd->response[0] = dwmci_readl(host, DWMCI_RESP3);
474 cmd->response[1] = dwmci_readl(host, DWMCI_RESP2);
475 cmd->response[2] = dwmci_readl(host, DWMCI_RESP1);
476 cmd->response[3] = dwmci_readl(host, DWMCI_RESP0);
478 cmd->response[0] = dwmci_readl(host, DWMCI_RESP0);
487 ctrl = dwmci_readl(host, DWMCI_CTRL);
528 while (dwmci_readl(host, DWMCI_STATUS) & DWMCI_BUSY) {
589 mask = dwmci_readl(host, DWMCI_RINTSTS);
620 cmd->response[0] = dwmci_readl(host, DWMCI_RESP3);
621 cmd->response[1] = dwmci_readl(host, DWMCI_RESP2);
622 cmd->response[2] = dwmci_readl(host, DWMCI_RESP1);
623 cmd->response[3] = dwmci_readl(host, DWMCI_RESP0);
625 cmd->response[0] = dwmci_readl(host, DWMCI_RESP0);
671 status = dwmci_readl(host, DWMCI_CMD);
686 status = dwmci_readl(host, DWMCI_CMD);
713 status = dwmci_readl(host, DWMCI_STATUS);
762 regs = dwmci_readl(host, DWMCI_UHS_REG);
811 verid = dwmci_readl(host, DWMCI_VERID) & 0x0000ffff;
820 use_dma = SDMMC_GET_TRANS_MODE(dwmci_readl(host, DWMCI_HCON));
841 fifo_size = dwmci_readl(host, DWMCI_FIFOTH);
874 ret = (dwmci_readl(host, DWMCI_CDETECT) & (1 << 0)) == 0 ? 1 : 0;