Home
last modified time | relevance | path

Searched refs:last_clk (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/hw/openrisc/
H A Dcputimer.c32 uint64_t last_clk; member
56 or1k_timer->ttcr += (uint32_t)((now - or1k_timer->last_clk) in cpu_openrisc_count_update()
58 or1k_timer->last_clk = now; in cpu_openrisc_count_update()
72 now = or1k_timer->last_clk; in cpu_openrisc_timer_update()
141 or1k_timer->last_clk = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL); in openrisc_timer_reset()
150 VMSTATE_UINT64(last_clk, OR1KTimerState),
/openbmc/linux/sound/soc/codecs/
H A Dtlv320aic3x.c1044 int codec_clk = 0, bypass_pll = 0, fsref, last_clk = 0; in aic3x_hw_params() local
1136 abs(codec_clk - last_clk)) { in aic3x_hw_params()
1139 last_clk = tmp_clk; in aic3x_hw_params()
1163 if (abs(codec_clk - clk) < abs(codec_clk - last_clk)) { in aic3x_hw_params()
1165 last_clk = clk; in aic3x_hw_params()
1173 if (last_clk == 0) { in aic3x_hw_params()