Home
last modified time | relevance | path

Searched refs:NPCM7XX_MMC_BA (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/tests/qtest/
H A Dnpcm7xx_sdhci-test.c25 #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()
47 sdhci_cmd_regs(qts, NPCM7XX_MMC_BA, 0, 0, 0, 0, SDHC_ALL_SEND_CID); 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()
[all …]
/openbmc/qemu/hw/arm/
H A Dnpcm7xx.c69 #define NPCM7XX_MMC_BA (0xf0842000) macro
763 sysbus_mmio_map(SYS_BUS_DEVICE(&s->mmc), 0, NPCM7XX_MMC_BA); in npcm7xx_realize()