Home
last modified time | relevance | path

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

/openbmc/linux/arch/arm/mach-socfpga/
H A Docram.c117 void __iomem *ecc_block_base; in socfpga_init_arria10_ocram_ecc() local
132 ecc_block_base = of_iomap(np, 0); in socfpga_init_arria10_ocram_ecc()
134 if (!ecc_block_base) { in socfpga_init_arria10_ocram_ecc()
143 (ecc_block_base + ALTR_A10_ECC_ERRINTEN_OFST)); in socfpga_init_arria10_ocram_ecc()
145 (ecc_block_base + ALTR_A10_ECC_CTRL_OFST)); in socfpga_init_arria10_ocram_ecc()
151 ret = altr_init_memory_port(ecc_block_base); in socfpga_init_arria10_ocram_ecc()
159 (ecc_block_base + ALTR_A10_ECC_CTRL_OFST)); in socfpga_init_arria10_ocram_ecc()
161 (ecc_block_base + ALTR_A10_ECC_ERRINTEN_OFST)); in socfpga_init_arria10_ocram_ecc()
168 iounmap(ecc_block_base); in socfpga_init_arria10_ocram_ecc()
/openbmc/linux/drivers/edac/
H A Daltera_edac.c963 void __iomem *ecc_block_base; in altr_init_a10_ecc_block() local
985 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()