Lines Matching refs:emif
161 struct emif_reg_struct *emif = (struct emif_reg_struct *)EMIF1_BASE; in ddr_check_ecc_status() local
162 u32 err_1b = readl(&emif->emif_1b_ecc_err_cnt); in ddr_check_ecc_status()
163 u32 int_status = readl(&emif->emif_irqstatus_raw_sys); in ddr_check_ecc_status()
188 struct emif_reg_struct *emif = (struct emif_reg_struct *)EMIF1_BASE; in ddr_memory_ecc_err() local
189 u32 ecc_ctrl = readl(&emif->emif_ecc_ctrl_reg); in ddr_memory_ecc_err()
198 writel(0, &emif->emif_ecc_ctrl_reg); in ddr_memory_ecc_err()
214 writel(ecc_ctrl, &emif->emif_ecc_ctrl_reg); in ddr_memory_ecc_err()
230 struct emif_reg_struct *emif = (struct emif_reg_struct *)EMIF1_BASE; in is_addr_valid() local
237 ecc_ctrl = readl(&emif->emif_ecc_ctrl_reg); in is_addr_valid()
238 range = readl(&emif->emif_ecc_address_range_1); in is_addr_valid()
254 range = readl(&emif->emif_ecc_address_range_2); in is_addr_valid()
269 struct emif_reg_struct *emif = (struct emif_reg_struct *)EMIF1_BASE; in is_ecc_enabled() local
270 u32 ecc_ctrl = readl(&emif->emif_ecc_ctrl_reg); in is_ecc_enabled()