Searched refs:drift (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-6.6/arch/mips/kvm/ |
H A D | emulate.c | 524 * @before: Time before Count was saved, lower bound of drift calculation. 526 * @min_drift: Minimum amount of drift permitted before correction. 529 * Restores the timer from a particular @count, accounting for drift. This can 541 * Returns: Amount of correction to count_bias due to drift. 549 int drift, ret = 0; in kvm_mips_restore_hrtimer() local 556 * Detect significantly negative drift, where count is lower than in kvm_mips_restore_hrtimer() 557 * expected. Some negative drift is expected when hardware counter is in kvm_mips_restore_hrtimer() 559 * time to jump forwards a little, within reason. If the drift is too in kvm_mips_restore_hrtimer() 562 drift = count - before_count; in kvm_mips_restore_hrtimer() 563 if (drift < min_drif in kvm_mips_restore_hrtimer() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/vc4/ |
H A D | vc4_hdmi.c | 607 u32 drift; in vc4_hdmi_recenter_fifo() local 610 drift = HDMI_READ(HDMI_FIFO_CTL); in vc4_hdmi_recenter_fifo() 611 drift &= VC4_HDMI_FIFO_VALID_WRITE_MASK; in vc4_hdmi_recenter_fifo() 614 drift & ~VC4_HDMI_FIFO_CTL_RECENTER); in vc4_hdmi_recenter_fifo() 616 drift | VC4_HDMI_FIFO_CTL_RECENTER); in vc4_hdmi_recenter_fifo() 619 drift & ~VC4_HDMI_FIFO_CTL_RECENTER); in vc4_hdmi_recenter_fifo() 621 drift | VC4_HDMI_FIFO_CTL_RECENTER); in vc4_hdmi_recenter_fifo()
|
/kernel/linux/linux-5.10/arch/mips/kvm/ |
H A D | emulate.c | 523 * @before: Time before Count was saved, lower bound of drift calculation. 525 * @min_drift: Minimum amount of drift permitted before correction. 528 * Restores the timer from a particular @count, accounting for drift. This can 540 * Returns: Amount of correction to count_bias due to drift. 548 int drift, ret = 0; in kvm_mips_restore_hrtimer() local 555 * Detect significantly negative drift, where count is lower than in kvm_mips_restore_hrtimer() 556 * expected. Some negative drift is expected when hardware counter is in kvm_mips_restore_hrtimer() 558 * time to jump forwards a little, within reason. If the drift is too in kvm_mips_restore_hrtimer() 561 drift = count - before_count; in kvm_mips_restore_hrtimer() 562 if (drift < min_drif in kvm_mips_restore_hrtimer() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/vc4/ |
H A D | vc4_hdmi.c | 1638 u32 drift; in vc4_hdmi_recenter_fifo() local 1647 drift = HDMI_READ(HDMI_FIFO_CTL); in vc4_hdmi_recenter_fifo() 1648 drift &= VC4_HDMI_FIFO_VALID_WRITE_MASK; in vc4_hdmi_recenter_fifo() 1651 drift & ~VC4_HDMI_FIFO_CTL_RECENTER); in vc4_hdmi_recenter_fifo() 1653 drift | VC4_HDMI_FIFO_CTL_RECENTER); in vc4_hdmi_recenter_fifo() 1662 drift & ~VC4_HDMI_FIFO_CTL_RECENTER); in vc4_hdmi_recenter_fifo() 1664 drift | VC4_HDMI_FIFO_CTL_RECENTER); in vc4_hdmi_recenter_fifo()
|
Completed in 11 milliseconds