Lines Matching refs:elm_read_reg

90 static u32 elm_read_reg(struct elm_info *info, int offset)  in elm_read_reg()  function
147 reg_val = elm_read_reg(info, ELM_PAGE_CTRL); in elm_configure_page_mode()
264 reg_val = elm_read_reg(info, offset); in elm_start_processing()
294 reg_val = elm_read_reg(info, offset); in elm_error_correction()
308 reg_val = elm_read_reg(info, offset); in elm_error_correction()
344 reg_val = elm_read_reg(info, ELM_IRQSTATUS); in elm_decode_bch_error_page()
358 reg_val = elm_read_reg(info, ELM_IRQENABLE); in elm_decode_bch_error_page()
369 reg_val = elm_read_reg(info, ELM_IRQSTATUS); in elm_isr()
442 regs->elm_irqenable = elm_read_reg(info, ELM_IRQENABLE); in elm_context_save()
443 regs->elm_sysconfig = elm_read_reg(info, ELM_SYSCONFIG); in elm_context_save()
444 regs->elm_location_config = elm_read_reg(info, ELM_LOCATION_CONFIG); in elm_context_save()
445 regs->elm_page_ctrl = elm_read_reg(info, ELM_PAGE_CTRL); in elm_context_save()
450 regs->elm_syndrome_fragment_6[i] = elm_read_reg(info, in elm_context_save()
452 regs->elm_syndrome_fragment_5[i] = elm_read_reg(info, in elm_context_save()
454 regs->elm_syndrome_fragment_4[i] = elm_read_reg(info, in elm_context_save()
458 regs->elm_syndrome_fragment_3[i] = elm_read_reg(info, in elm_context_save()
460 regs->elm_syndrome_fragment_2[i] = elm_read_reg(info, in elm_context_save()
464 regs->elm_syndrome_fragment_1[i] = elm_read_reg(info, in elm_context_save()
466 regs->elm_syndrome_fragment_0[i] = elm_read_reg(info, in elm_context_save()
474 regs->elm_syndrome_fragment_6[i] = elm_read_reg(info, in elm_context_save()