Lines Matching defs:MMC_READ

210 #define MMC_READ(sc, reg) \
624 idst = MMC_READ(sc, SUNXI_MMC_IDST);
625 mint = MMC_READ(sc, SUNXI_MMC_MINT);
640 imask = MMC_READ(sc, SUNXI_MMC_IMASK);
647 imask = MMC_READ(sc, SUNXI_MMC_IMASK);
673 imask = MMC_READ(sc, SUNXI_MMC_IMASK);
682 imask = MMC_READ(sc, SUNXI_MMC_IMASK);
715 gctrl = MMC_READ(sc, SUNXI_MMC_GCTRL);
719 if (!(MMC_READ(sc, SUNXI_MMC_GCTRL) & SUNXI_MMC_GCTRL_RESET))
730 gctrl = MMC_READ(sc, SUNXI_MMC_GCTRL);
777 const uint32_t present = MMC_READ(sc, SUNXI_MMC_STATUS) &
816 if (!(MMC_READ(sc, SUNXI_MMC_CMD) & SUNXI_MMC_CMD_START))
824 MMC_READ(sc, SUNXI_MMC_GCTRL));
826 MMC_READ(sc, SUNXI_MMC_CLKCR));
828 MMC_READ(sc, SUNXI_MMC_TIMEOUT));
830 MMC_READ(sc, SUNXI_MMC_WIDTH));
832 MMC_READ(sc, SUNXI_MMC_CMD));
834 MMC_READ(sc, SUNXI_MMC_MINT));
836 MMC_READ(sc, SUNXI_MMC_RINT));
838 MMC_READ(sc, SUNXI_MMC_STATUS));
853 clkcr = MMC_READ(sc, SUNXI_MMC_CLKCR);
862 clkcr = MMC_READ(sc, SUNXI_MMC_CLKCR);
881 ntsr = MMC_READ(sc, SUNXI_MMC_NTSR);
892 gctrl = MMC_READ(sc, SUNXI_MMC_GCTRL);
909 clkcr = MMC_READ(sc, SUNXI_MMC_CLKCR);
1076 val = MMC_READ(sc, SUNXI_MMC_GCTRL);
1218 cmd->c_resp[0] = MMC_READ(sc, SUNXI_MMC_RESP0);
1219 cmd->c_resp[1] = MMC_READ(sc, SUNXI_MMC_RESP1);
1220 cmd->c_resp[2] = MMC_READ(sc, SUNXI_MMC_RESP2);
1221 cmd->c_resp[3] = MMC_READ(sc, SUNXI_MMC_RESP3);
1232 cmd->c_resp[0] = MMC_READ(sc, SUNXI_MMC_RESP0);
1247 MMC_READ(sc, SUNXI_MMC_GCTRL) |
1250 if (!(MMC_READ(sc, SUNXI_MMC_GCTRL) & SUNXI_MMC_GCTRL_RESET))
1258 MMC_READ(sc, SUNXI_MMC_GCTRL) | SUNXI_MMC_GCTRL_FIFORESET);
1268 imask = MMC_READ(sc, SUNXI_MMC_IMASK);
1285 imask = MMC_READ(sc, SUNXI_MMC_IMASK);