Lines Matching refs:elm_read_reg
100 static u32 elm_read_reg(struct elm_info *info, int offset) in elm_read_reg() function
154 reg_val = elm_read_reg(info, ELM_PAGE_CTRL); in elm_configure_page_mode()
271 reg_val = elm_read_reg(info, offset); in elm_start_processing()
301 reg_val = elm_read_reg(info, offset); in elm_error_correction()
315 reg_val = elm_read_reg(info, offset); in elm_error_correction()
353 reg_val = elm_read_reg(info, ELM_IRQSTATUS); in elm_decode_bch_error_page()
367 reg_val = elm_read_reg(info, ELM_IRQENABLE); in elm_decode_bch_error_page()
378 reg_val = elm_read_reg(info, ELM_IRQSTATUS); in elm_isr()
454 regs->elm_irqenable = elm_read_reg(info, ELM_IRQENABLE); in elm_context_save()
455 regs->elm_sysconfig = elm_read_reg(info, ELM_SYSCONFIG); in elm_context_save()
456 regs->elm_location_config = elm_read_reg(info, ELM_LOCATION_CONFIG); in elm_context_save()
457 regs->elm_page_ctrl = elm_read_reg(info, ELM_PAGE_CTRL); in elm_context_save()
462 regs->elm_syndrome_fragment_6[i] = elm_read_reg(info, in elm_context_save()
464 regs->elm_syndrome_fragment_5[i] = elm_read_reg(info, in elm_context_save()
466 regs->elm_syndrome_fragment_4[i] = elm_read_reg(info, in elm_context_save()
469 regs->elm_syndrome_fragment_3[i] = elm_read_reg(info, in elm_context_save()
471 regs->elm_syndrome_fragment_2[i] = elm_read_reg(info, in elm_context_save()
474 regs->elm_syndrome_fragment_1[i] = elm_read_reg(info, in elm_context_save()
476 regs->elm_syndrome_fragment_0[i] = elm_read_reg(info, in elm_context_save()
484 regs->elm_syndrome_fragment_6[i] = elm_read_reg(info, in elm_context_save()