Lines Matching refs:elm_write_reg

85 static void elm_write_reg(struct elm_info *info, int offset, u32 val)  in elm_write_reg()  function
125 elm_write_reg(info, ELM_LOCATION_CONFIG, reg_val); in elm_config()
153 elm_write_reg(info, ELM_PAGE_CTRL, reg_val); in elm_configure_page_mode()
181 elm_write_reg(info, offset, val); in elm_load_syndrome()
186 elm_write_reg(info, offset, val); in elm_load_syndrome()
191 elm_write_reg(info, offset, val); in elm_load_syndrome()
196 elm_write_reg(info, offset, val); in elm_load_syndrome()
202 elm_write_reg(info, offset, val); in elm_load_syndrome()
207 elm_write_reg(info, offset, val); in elm_load_syndrome()
211 elm_write_reg(info, offset, val); in elm_load_syndrome()
214 elm_write_reg(info, offset, val); in elm_load_syndrome()
217 elm_write_reg(info, offset, val); in elm_load_syndrome()
220 elm_write_reg(info, offset, val); in elm_load_syndrome()
223 elm_write_reg(info, offset, val); in elm_load_syndrome()
226 elm_write_reg(info, offset, val); in elm_load_syndrome()
229 elm_write_reg(info, offset, val); in elm_load_syndrome()
266 elm_write_reg(info, offset, reg_val); in elm_start_processing()
320 elm_write_reg(info, ELM_IRQSTATUS, BIT(i)); in elm_error_correction()
345 elm_write_reg(info, ELM_IRQSTATUS, reg_val & INTR_STATUS_PAGE_VALID); in elm_decode_bch_error_page()
346 elm_write_reg(info, ELM_IRQENABLE, INTR_EN_PAGE_MASK); in elm_decode_bch_error_page()
359 elm_write_reg(info, ELM_IRQENABLE, reg_val & ~INTR_EN_PAGE_MASK); in elm_decode_bch_error_page()
373 elm_write_reg(info, ELM_IRQSTATUS, in elm_isr()
490 elm_write_reg(info, ELM_IRQENABLE, regs->elm_irqenable); in elm_context_restore()
491 elm_write_reg(info, ELM_SYSCONFIG, regs->elm_sysconfig); in elm_context_restore()
492 elm_write_reg(info, ELM_LOCATION_CONFIG, regs->elm_location_config); in elm_context_restore()
493 elm_write_reg(info, ELM_PAGE_CTRL, regs->elm_page_ctrl); in elm_context_restore()
498 elm_write_reg(info, ELM_SYNDROME_FRAGMENT_6 + offset, in elm_context_restore()
500 elm_write_reg(info, ELM_SYNDROME_FRAGMENT_5 + offset, in elm_context_restore()
502 elm_write_reg(info, ELM_SYNDROME_FRAGMENT_4 + offset, in elm_context_restore()
506 elm_write_reg(info, ELM_SYNDROME_FRAGMENT_3 + offset, in elm_context_restore()
508 elm_write_reg(info, ELM_SYNDROME_FRAGMENT_2 + offset, in elm_context_restore()
512 elm_write_reg(info, ELM_SYNDROME_FRAGMENT_1 + offset, in elm_context_restore()
514 elm_write_reg(info, ELM_SYNDROME_FRAGMENT_0 + offset, in elm_context_restore()
521 elm_write_reg(info, ELM_SYNDROME_FRAGMENT_6 + offset, in elm_context_restore()