Lines Matching refs:NPCM7XX_MMC_BA
25 #define NPCM7XX_MMC_BA 0xF0842000 macro
41 qtest_writew(qts, NPCM7XX_MMC_BA + SDHC_SWRST, SDHC_RESET_ALL); in setup_sd_card()
42 qtest_writew(qts, NPCM7XX_MMC_BA + SDHC_CLKCON, in setup_sd_card()
45 sdhci_cmd_regs(qts, NPCM7XX_MMC_BA, 0, 0, 0, 0, SDHC_APP_CMD); in setup_sd_card()
46 sdhci_cmd_regs(qts, NPCM7XX_MMC_BA, 0, 0, 0x41200000, 0, (41 << 8)); in setup_sd_card()
47 sdhci_cmd_regs(qts, NPCM7XX_MMC_BA, 0, 0, 0, 0, SDHC_ALL_SEND_CID); in setup_sd_card()
48 sdhci_cmd_regs(qts, NPCM7XX_MMC_BA, 0, 0, 0, 0, SDHC_SEND_RELATIVE_ADDR in setup_sd_card()
50 rca = qtest_readl(qts, NPCM7XX_MMC_BA + SDHC_RSPREG0) >> 16; in setup_sd_card()
51 sdhci_cmd_regs(qts, NPCM7XX_MMC_BA, 0, 0, rca << 16, 0, in setup_sd_card()
71 ret = sdhci_read_cmd(qts, NPCM7XX_MMC_BA, rmsg, len); in write_sdread()
96 sdhci_write_cmd(qts, NPCM7XX_MMC_BA, msg, len, NPCM7XX_BLK_SIZE); in sdwrite_read()
125 uint64_t addr = NPCM7XX_MMC_BA; in test_reset()
137 switch (addr - NPCM7XX_MMC_BA) { in test_reset()