Lines Matching refs:mmc_readl
77 #define mmc_readl(host, reg) \ macro
313 rval = mmc_readl(host, REG_GCTRL); in sunxi_mmc_reset_host()
350 rval = mmc_readl(host, REG_GCTRL); in sunxi_mmc_init_host()
430 rval = mmc_readl(host, REG_GCTRL); in sunxi_mmc_start_dma()
467 ri = mmc_readl(host, REG_RINTR); in sunxi_mmc_send_manual_stop()
477 req->stop->resp[0] = mmc_readl(host, REG_RESP0); in sunxi_mmc_send_manual_stop()
533 mrq->cmd->resp[0] = mmc_readl(host, REG_RESP3); in sunxi_mmc_finalize_request()
534 mrq->cmd->resp[1] = mmc_readl(host, REG_RESP2); in sunxi_mmc_finalize_request()
535 mrq->cmd->resp[2] = mmc_readl(host, REG_RESP1); in sunxi_mmc_finalize_request()
536 mrq->cmd->resp[3] = mmc_readl(host, REG_RESP0); in sunxi_mmc_finalize_request()
538 mrq->cmd->resp[0] = mmc_readl(host, REG_RESP0); in sunxi_mmc_finalize_request()
548 rval = mmc_readl(host, REG_GCTRL); in sunxi_mmc_finalize_request()
579 idma_int = mmc_readl(host, REG_IDST); in sunxi_mmc_irq()
580 msk_int = mmc_readl(host, REG_MISTA); in sunxi_mmc_irq()
669 rval = mmc_readl(host, REG_CLKCR); in sunxi_mmc_oclk_onoff()
683 rval = mmc_readl(host, REG_CMDR); in sunxi_mmc_oclk_onoff()
688 mmc_readl(host, REG_RINTR) & ~SDXC_SDIO_INTERRUPT); in sunxi_mmc_oclk_onoff()
696 rval = mmc_readl(host, REG_CLKCR); in sunxi_mmc_oclk_onoff()
821 rval = mmc_readl(host, REG_CLKCR); in sunxi_mmc_clk_set_rate()
837 rval = mmc_readl(host, REG_SD_NTSR); in sunxi_mmc_clk_set_rate()
890 rval = mmc_readl(host, REG_GCTRL); in sunxi_mmc_set_clk()
985 imask = mmc_readl(host, REG_IMASK); in sunxi_mmc_enable_sdio_irq()
1109 return !!(mmc_readl(host, REG_STAS) & SDXC_CARD_DATA_BUSY); in sunxi_mmc_card_busy()