Searched refs:ecc_block_base (Results 1 – 2 of 2) sorted by relevance
119 void __iomem *ecc_block_base; in socfpga_init_arria10_ocram_ecc() local134 ecc_block_base = of_iomap(np, 0); in socfpga_init_arria10_ocram_ecc()136 if (!ecc_block_base) { in socfpga_init_arria10_ocram_ecc()145 (ecc_block_base + ALTR_A10_ECC_ERRINTEN_OFST)); in socfpga_init_arria10_ocram_ecc()147 (ecc_block_base + ALTR_A10_ECC_CTRL_OFST)); in socfpga_init_arria10_ocram_ecc()153 ret = altr_init_memory_port(ecc_block_base); in socfpga_init_arria10_ocram_ecc()161 (ecc_block_base + ALTR_A10_ECC_CTRL_OFST)); in socfpga_init_arria10_ocram_ecc()163 (ecc_block_base + ALTR_A10_ECC_ERRINTEN_OFST)); in socfpga_init_arria10_ocram_ecc()170 iounmap(ecc_block_base); in socfpga_init_arria10_ocram_ecc()
963 void __iomem *ecc_block_base; in altr_init_a10_ecc_block() local985 ecc_block_base = of_iomap(np, 0); in altr_init_a10_ecc_block()986 if (!ecc_block_base) { in altr_init_a10_ecc_block()995 (ecc_block_base + ALTR_A10_ECC_ERRINTENR_OFST)); in altr_init_a10_ecc_block()997 (ecc_block_base + ALTR_A10_ECC_CTRL_OFST)); in altr_init_a10_ecc_block()1001 ret = altr_init_memory_port(ecc_block_base, 0); in altr_init_a10_ecc_block()1009 ret = altr_init_memory_port(ecc_block_base, 1); in altr_init_a10_ecc_block()1022 ecc_set_bits(ecc_ctrl_en_mask, (ecc_block_base + in altr_init_a10_ecc_block()1025 (ecc_block_base + ALTR_A10_ECC_ERRINTENS_OFST)); in altr_init_a10_ecc_block()1030 iounmap(ecc_block_base); in altr_init_a10_ecc_block()
Completed in 7 milliseconds