Home
last modified time | relevance | path

Searched refs:host_base (Results 1 – 3 of 3) sorted by relevance

/external/arm-trusted-firmware/plat/socionext/uniphier/
Duniphier_emmc.c97 static int uniphier_emmc_send_cmd(uintptr_t host_base, in uniphier_emmc_send_cmd() argument
104 mmio_write_32(host_base + SDHCI_INT_STATUS, -1); in uniphier_emmc_send_cmd()
105 mmio_write_32(host_base + SDHCI_SIGNAL_ENABLE, 0); in uniphier_emmc_send_cmd()
106 mmio_write_32(host_base + SDHCI_ARGUMENT, cmd->cmdarg); in uniphier_emmc_send_cmd()
113 mmio_write_16(host_base + SDHCI_TRANSFER_MODE, mode); in uniphier_emmc_send_cmd()
136 mmio_write_16(host_base + SDHCI_COMMAND, in uniphier_emmc_send_cmd()
140 stat = mmio_read_32(host_base + SDHCI_INT_STATUS); in uniphier_emmc_send_cmd()
145 mmio_write_32(host_base + SDHCI_INT_STATUS, stat); in uniphier_emmc_send_cmd()
146 dma_addr = mmio_read_32(host_base + SDHCI_DMA_ADDRESS); in uniphier_emmc_send_cmd()
147 mmio_write_32(host_base + SDHCI_DMA_ADDRESS, dma_addr); in uniphier_emmc_send_cmd()
[all …]
Duniphier_nand.c51 uintptr_t host_base; member
64 mmio_write_32(nand->host_base + DENALI_HOST_ADDR, addr); in uniphier_nand_host_write()
65 mmio_write_32(nand->host_base + DENALI_HOST_DATA, data); in uniphier_nand_host_write()
71 mmio_write_32(nand->host_base + DENALI_HOST_ADDR, addr); in uniphier_nand_host_read()
72 return mmio_read_32(nand->host_base + DENALI_HOST_DATA); in uniphier_nand_host_read()
131 mmio_write_32(nand->host_base + DENALI_HOST_ADDR, in uniphier_nand_read_pages()
138 mmio_write_32(nand->host_base + DENALI_HOST_DATA, in uniphier_nand_read_pages()
142 mmio_write_32(nand->host_base + DENALI_HOST_DATA, buf); in uniphier_nand_read_pages()
145 mmio_write_32(nand->host_base + DENALI_HOST_DATA, buf >> 32); in uniphier_nand_read_pages()
241 nand->reg_base = nand->host_base + 0x100000; in uniphier_nand_hw_init()
[all …]
/external/arm-trusted-firmware/drivers/brcm/emmc/
Demmc_chal_sd.c357 uint32_t mode, uint32_t sd_base, uint32_t host_base) in chal_sd_start() argument
371 chal_sd_setup_handler(handle, sd_base, host_base); in chal_sd_start()