Lines Matching refs:mci_readl

175 	seq_printf(s, "STATUS:\t0x%08x\n", mci_readl(host, STATUS));  in dw_mci_regs_show()
176 seq_printf(s, "RINTSTS:\t0x%08x\n", mci_readl(host, RINTSTS)); in dw_mci_regs_show()
177 seq_printf(s, "CMD:\t0x%08x\n", mci_readl(host, CMD)); in dw_mci_regs_show()
178 seq_printf(s, "CTRL:\t0x%08x\n", mci_readl(host, CTRL)); in dw_mci_regs_show()
179 seq_printf(s, "INTMASK:\t0x%08x\n", mci_readl(host, INTMASK)); in dw_mci_regs_show()
180 seq_printf(s, "CLKENA:\t0x%08x\n", mci_readl(host, CLKENA)); in dw_mci_regs_show()
212 ctrl = mci_readl(host, CTRL); in dw_mci_ctrl_reset()
314 clk_en_a = mci_readl(host, CLKENA); in dw_mci_prepare_command()
389 cto_clks = mci_readl(host, TMOUT) & 0xff; in dw_mci_set_cto()
390 cto_div = (mci_readl(host, CLKDIV) & 0xff) * 2; in dw_mci_set_cto()
473 u32 bmod = mci_readl(host, BMOD); in dw_mci_idmac_reset()
484 temp = mci_readl(host, CTRL); in dw_mci_idmac_stop_dma()
492 temp = mci_readl(host, BMOD); in dw_mci_idmac_stop_dma()
784 temp = mci_readl(host, CTRL); in dw_mci_idmac_start_dma()
792 temp = mci_readl(host, BMOD); in dw_mci_idmac_start_dma()
836 fifoth_val = mci_readl(host, FIFOTH); in dw_mci_edmac_start_dma()
1015 present = (mci_readl(slot->host, CDETECT) & (1 << slot->id)) in dw_mci_get_cd()
1157 temp = mci_readl(host, CTRL); in dw_mci_submit_data_dma()
1163 temp = mci_readl(host, INTMASK); in dw_mci_submit_data_dma()
1213 temp = mci_readl(host, INTMASK); in dw_mci_submit_data()
1218 temp = mci_readl(host, CTRL); in dw_mci_submit_data()
1486 regs = mci_readl(slot->host, UHS_REG); in dw_mci_set_ios()
1524 regs = mci_readl(slot->host, PWREN); in dw_mci_set_ios()
1569 regs = mci_readl(slot->host, PWREN); in dw_mci_set_ios()
1590 status = mci_readl(slot->host, STATUS); in dw_mci_card_busy()
1612 uhs = mci_readl(host, UHS_REG); in dw_mci_switch_voltage()
1643 mci_readl(slot->host, WRTPRT) & (1 << slot->id) ? 1 : 0; in dw_mci_get_ro()
1670 reset = mci_readl(host, RST_N); in dw_mci_hw_reset()
1694 clk_en_a_old = mci_readl(host, CLKENA); in dw_mci_init_card()
1722 int_mask = mci_readl(host, INTMASK); in __dw_mci_enable_sdio_irq()
1824 if (!(mci_readl(host, CTRL) & SDMMC_CTRL_RESET)) { in dw_mci_reset()
1905 cmd->resp[3] = mci_readl(host, RESP0); in dw_mci_command_complete()
1906 cmd->resp[2] = mci_readl(host, RESP1); in dw_mci_command_complete()
1907 cmd->resp[1] = mci_readl(host, RESP2); in dw_mci_command_complete()
1908 cmd->resp[0] = mci_readl(host, RESP3); in dw_mci_command_complete()
1910 cmd->resp[0] = mci_readl(host, RESP0); in dw_mci_command_complete()
1983 drto_clks = mci_readl(host, TMOUT) >> 8; in dw_mci_set_drto()
1984 drto_div = (mci_readl(host, CLKDIV) & 0xff) * 2; in dw_mci_set_drto()
2008 xfer_clks = mci_readl(host, TMOUT) >> 8; in dw_mci_set_xfer_timeout()
2009 xfer_div = (mci_readl(host, CLKDIV) & 0xff) * 2; in dw_mci_set_xfer_timeout()
2609 fcnt = (SDMMC_GET_FCNT(mci_readl(host, STATUS)) in dw_mci_read_data_pio()
2621 status = mci_readl(host, MINTSTS); in dw_mci_read_data_pio()
2625 (dto && SDMMC_GET_FCNT(mci_readl(host, STATUS)))); in dw_mci_read_data_pio()
2667 SDMMC_GET_FCNT(mci_readl(host, STATUS))) in dw_mci_write_data_pio()
2679 status = mci_readl(host, MINTSTS); in dw_mci_write_data_pio()
2728 pending = mci_readl(host, MINTSTS); /* read-only mask reg */ in dw_mci_interrupt()
2834 pending = mci_readl(host, IDSTS64); in dw_mci_interrupt()
2843 pending = mci_readl(host, IDSTS); in dw_mci_interrupt()
3007 host->use_dma = SDMMC_GET_TRANS_MODE(mci_readl(host, HCON)); in dw_mci_init_dma()
3023 addr_config = SDMMC_GET_ADDR_CONFIG(mci_readl(host, HCON)); in dw_mci_init_dma()
3113 pending = mci_readl(host, MINTSTS); /* read-only mask reg */ in dw_mci_cto_timer()
3194 pending = mci_readl(host, MINTSTS); /* read-only mask reg */ in dw_mci_dto_timer()
3314 temp = mci_readl(host, INTMASK); in dw_mci_enable_cd()
3359 BUG_ON(mci_readl(host, RINTSTS) & DW_MCI_ERROR_FLAGS); in dw_mci_probe()
3420 i = SDMMC_GET_HDATA_WIDTH(mci_readl(host, HCON)); in dw_mci_probe()
3469 fifo_size = mci_readl(host, FIFOTH); in dw_mci_probe()
3487 host->verid = SDMMC_GET_VERID(mci_readl(host, VERID)); in dw_mci_probe()
3529 fifo_size = mci_readl(host, CTRL); in dw_mci_probe()
3533 fifo_size = mci_readl(host, INTMASK); in dw_mci_probe()
3651 ret = mci_readl(host, CTRL); in dw_mci_runtime_resume()
3655 ret = mci_readl(host, INTMASK); in dw_mci_runtime_resume()