Lines Matching refs:cpr_read
262 static u32 cpr_read(struct cpr_drv *drv, u32 offset) in cpr_read() function
346 reg_val = cpr_read(drv, REG_RBCPR_CTL); in cpr_ctl_is_enabled()
354 reg_val = cpr_read(drv, REG_RBCPR_RESULT_0); in cpr_ctl_is_busy()
360 corner->save_ctl = cpr_read(drv, REG_RBCPR_CTL); in cpr_corner_save()
361 corner->save_irq = cpr_read(drv, REG_RBIF_IRQ_EN(0)); in cpr_corner_save()
477 val = cpr_read(drv, REG_RBCPR_RESULT_0); in cpr_scale()
598 val = cpr_read(drv, REG_RBIF_IRQ_STATUS); in cpr_irq_handler()
600 val = cpr_read(drv, REG_RBIF_IRQ_STATUS); in cpr_irq_handler()
610 val = cpr_read(drv, REG_RBCPR_CTL); in cpr_irq_handler()
738 val = cpr_read(drv, REG_RBCPR_VERSION); in cpr_config()
1547 gcnt = cpr_read(drv, REG_RBCPR_GCNT_TARGET(ro_sel)); in cpr_debug_info_show()
1550 ctl = cpr_read(drv, REG_RBCPR_CTL); in cpr_debug_info_show()
1553 irq_status = cpr_read(drv, REG_RBIF_IRQ_STATUS); in cpr_debug_info_show()
1556 reg = cpr_read(drv, REG_RBCPR_RESULT_0); in cpr_debug_info_show()