Searched refs:host_base (Results 1 – 2 of 2) sorted by relevance
/external/arm-trusted-firmware/plat/socionext/uniphier/ |
D | uniphier_emmc.c | 92 static int uniphier_emmc_send_cmd(uintptr_t host_base, in uniphier_emmc_send_cmd() argument 99 mmio_write_32(host_base + SDHCI_INT_STATUS, -1); in uniphier_emmc_send_cmd() 100 mmio_write_32(host_base + SDHCI_SIGNAL_ENABLE, 0); in uniphier_emmc_send_cmd() 101 mmio_write_32(host_base + SDHCI_ARGUMENT, cmd->cmdarg); in uniphier_emmc_send_cmd() 108 mmio_write_16(host_base + SDHCI_TRANSFER_MODE, mode); in uniphier_emmc_send_cmd() 131 mmio_write_16(host_base + SDHCI_COMMAND, in uniphier_emmc_send_cmd() 135 stat = mmio_read_32(host_base + SDHCI_INT_STATUS); in uniphier_emmc_send_cmd() 140 mmio_write_32(host_base + SDHCI_INT_STATUS, stat); in uniphier_emmc_send_cmd() 141 dma_addr = mmio_read_32(host_base + SDHCI_DMA_ADDRESS); in uniphier_emmc_send_cmd() 142 mmio_write_32(host_base + SDHCI_DMA_ADDRESS, dma_addr); in uniphier_emmc_send_cmd() [all …]
|
D | uniphier_nand.c | 50 uintptr_t host_base; member 63 mmio_write_32(nand->host_base + DENALI_HOST_ADDR, addr); in uniphier_nand_host_write() 64 mmio_write_32(nand->host_base + DENALI_HOST_DATA, data); in uniphier_nand_host_write() 70 mmio_write_32(nand->host_base + DENALI_HOST_ADDR, addr); in uniphier_nand_host_read() 71 return mmio_read_32(nand->host_base + DENALI_HOST_DATA); in uniphier_nand_host_read() 130 mmio_write_32(nand->host_base + DENALI_HOST_ADDR, in uniphier_nand_read_pages() 137 mmio_write_32(nand->host_base + DENALI_HOST_DATA, in uniphier_nand_read_pages() 141 mmio_write_32(nand->host_base + DENALI_HOST_DATA, buf); in uniphier_nand_read_pages() 144 mmio_write_32(nand->host_base + DENALI_HOST_DATA, buf >> 32); in uniphier_nand_read_pages() 240 nand->host_base = 0x68000000; in uniphier_nand_hw_init()
|