Home
last modified time | relevance | path

Searched refs:reg_base (Results 1 – 12 of 12) sorted by relevance

/device/linaro/bootloader/arm-trusted-firmware/plat/socionext/uniphier/
Duniphier_nand.c51 uintptr_t reg_base; member
87 mmio_write_32(nand->reg_base + DENALI_ECC_ENABLE, 0); in uniphier_nand_block_isbad()
89 mmio_write_32(nand->reg_base + DENALI_INTR_STATUS0, -1); in uniphier_nand_block_isbad()
102 status = mmio_read_32(nand->reg_base + DENALI_INTR_STATUS0); in uniphier_nand_block_isbad()
124 mmio_write_32(nand->reg_base + DENALI_ECC_ENABLE, 1); in uniphier_nand_read_pages()
125 mmio_write_32(nand->reg_base + DENALI_DMA_ENABLE, 1); in uniphier_nand_read_pages()
127 mmio_write_32(nand->reg_base + DENALI_INTR_STATUS0, -1); in uniphier_nand_read_pages()
147 status = mmio_read_32(nand->reg_base + DENALI_INTR_STATUS0); in uniphier_nand_read_pages()
150 mmio_write_32(nand->reg_base + DENALI_DMA_ENABLE, 0); in uniphier_nand_read_pages()
245 nand->reg_base = 0x68100000; in uniphier_nand_hw_init()
[all …]
/device/linaro/bootloader/arm-trusted-firmware/drivers/synopsys/emmc/
Ddw_mmc.c141 mmio_write_32(dw_params.reg_base + DWMMC_CMD, in dw_update_clk()
145 data = mmio_read_32(dw_params.reg_base + DWMMC_CMD); in dw_update_clk()
148 data = mmio_read_32(dw_params.reg_base + DWMMC_RINTSTS); in dw_update_clk()
169 data = mmio_read_32(dw_params.reg_base + DWMMC_STATUS); in dw_set_clk()
173 mmio_write_32(dw_params.reg_base + DWMMC_CLKENA, 0); in dw_set_clk()
176 mmio_write_32(dw_params.reg_base + DWMMC_CLKDIV, div); in dw_set_clk()
180 mmio_write_32(dw_params.reg_base + DWMMC_CLKENA, 1); in dw_set_clk()
181 mmio_write_32(dw_params.reg_base + DWMMC_CLKSRC, 0); in dw_set_clk()
190 assert((dw_params.reg_base & EMMC_BLOCK_MASK) == 0); in dw_init()
192 base = dw_params.reg_base; in dw_init()
[all …]
/device/linaro/bootloader/arm-trusted-firmware/drivers/ufs/
Dufs.c57 assert((ufs_params.reg_base != 0) && (val != NULL)); in ufshc_dme_get()
59 base = ufs_params.reg_base; in ufshc_dme_get()
92 assert((ufs_params.reg_base != 0)); in ufshc_dme_set()
94 base = ufs_params.reg_base; in ufshc_dme_set()
159 data = mmio_read_32(ufs_params.reg_base + UTRLDBR); in get_empty_slot()
219 mmio_write_32(ufs_params.reg_base + UTRLBA, in ufs_prepare_cmd()
221 mmio_write_32(ufs_params.reg_base + UTRLBAU, in ufs_prepare_cmd()
321 mmio_write_32(ufs_params.reg_base + UTRLBA, in ufs_prepare_query()
323 mmio_write_32(ufs_params.reg_base + UTRLBAU, in ufs_prepare_query()
373 mmio_write_32(ufs_params.reg_base + UTRLBA, in ufs_prepare_nop_out()
[all …]
/device/linaro/bootloader/arm-trusted-firmware/drivers/synopsys/ufs/
Ddw_ufs.c22 assert((params != NULL) && (params->reg_base != 0)); in dwufs_phy_init()
24 base = params->reg_base; in dwufs_phy_init()
101 assert((params != NULL) && (params->reg_base != 0)); in dwufs_phy_set_pwr_mode()
103 base = params->reg_base; in dwufs_phy_set_pwr_mode()
184 ufs_params.reg_base = params->reg_base; in dw_ufs_init()
/device/linaro/bootloader/arm-trusted-firmware/include/drivers/synopsys/
Ddw_mmc.h11 uintptr_t reg_base; member
/device/linaro/bootloader/arm-trusted-firmware/include/drivers/
Ddw_ufs.h102 uintptr_t reg_base; member
Dufs.h503 uintptr_t reg_base; member
/device/linaro/bootloader/arm-trusted-firmware/plat/hisilicon/poplar/include/
Dhi3798cv200.h73 .reg_base = REG_BASE_MCI, \
/device/linaro/bootloader/arm-trusted-firmware/plat/hisilicon/hikey960/
Dhikey960_bl2_setup.c182 ufs_params.reg_base = UFS_REG_BASE; in hikey960_init_ufs()
Dhikey960_bl1_setup.c590 ufs_params.reg_base = UFS_REG_BASE; in hikey960_ufs_init()
/device/linaro/bootloader/arm-trusted-firmware/plat/hisilicon/hikey/
Dhikey_bl2_setup.c469 params.reg_base = DWMMC0_BASE; in bl2_early_platform_setup()
Dhikey_bl1_setup.c522 params.reg_base = DWMMC0_BASE; in bl1_platform_setup()