Lines Matching refs:gcnt
239 u32 gcnt; member
366 u32 gcnt, ctl, irq, ro_sel, step_quot; in cpr_corner_restore() local
372 gcnt = drv->gcnt; in cpr_corner_restore()
373 gcnt |= fuse->quot - corner->quot_adjust; in cpr_corner_restore()
384 cpr_write(drv, REG_RBCPR_GCNT_TARGET(ro_sel), gcnt); in cpr_corner_restore()
389 dev_dbg(drv->dev, "gcnt = %#08x, ctl = %#08x, irq = %#08x\n", gcnt, in cpr_corner_restore()
683 u32 val, gcnt; in cpr_config() local
706 gcnt = (drv->ref_clk_khz * desc->gcnt_us) / 1000; in cpr_config()
707 gcnt = gcnt & RBCPR_GCNT_TARGET_GCNT_MASK; in cpr_config()
708 gcnt <<= RBCPR_GCNT_TARGET_GCNT_SHIFT; in cpr_config()
709 drv->gcnt = gcnt; in cpr_config()
1559 u32 gcnt, ro_sel, ctl, irq_status, reg, error_steps; in cpr_debug_info_show() local
1572 gcnt = cpr_read(drv, REG_RBCPR_GCNT_TARGET(ro_sel)); in cpr_debug_info_show()
1573 seq_printf(s, "rbcpr_gcnt_target (%u) = %#02X\n", ro_sel, gcnt); in cpr_debug_info_show()