Lines Matching refs:mvebu_mmc_read
35 static u32 mvebu_mmc_read(u32 offs) in mvebu_mmc_read() function
49 ctrl_reg = mvebu_mmc_read(SDIO_HOST_CTRL); in mvebu_mmc_setup_data()
80 cmd->cmdidx, mvebu_mmc_read(SDIO_HW_STATE)); in mvebu_mmc_send_cmd()
91 if (!(mvebu_mmc_read(SDIO_HW_STATE) & CMD_FIFO_EMPTY)) { in mvebu_mmc_send_cmd()
96 hw_state = mvebu_mmc_read(SDIO_HW_STATE); in mvebu_mmc_send_cmd()
168 while (!((mvebu_mmc_read(SDIO_NOR_INTR_STATUS)) & waittype)) { in mvebu_mmc_send_cmd()
169 if (mvebu_mmc_read(SDIO_NOR_INTR_STATUS) & SDIO_NOR_ERROR) { in mvebu_mmc_send_cmd()
172 mvebu_mmc_read(SDIO_ERR_INTR_STATUS)); in mvebu_mmc_send_cmd()
173 if (mvebu_mmc_read(SDIO_ERR_INTR_STATUS) & in mvebu_mmc_send_cmd()
195 = mvebu_mmc_read(SDIO_RSP(resp_indx)); in mvebu_mmc_send_cmd()
213 = mvebu_mmc_read(SDIO_RSP(resp_indx)); in mvebu_mmc_send_cmd()
235 if (mvebu_mmc_read(SDIO_ERR_INTR_STATUS) & in mvebu_mmc_send_cmd()
285 ctrl_reg = mvebu_mmc_read(SDIO_HOST_CTRL); in mvebu_mmc_set_bus()