Home
last modified time | relevance | path

Searched refs:jdelta (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/drivers/hwmon/
Dfam15h_power.c204 jdelta[MAX_CUS]; in power1_average_show() local
238 jdelta[cu] = data->max_cu_acc_power + data->cu_acc_power[cu]; in power1_average_show()
239 jdelta[cu] -= prev_cu_acc_power[cu]; in power1_average_show()
241 jdelta[cu] = data->cu_acc_power[cu] - prev_cu_acc_power[cu]; in power1_average_show()
244 jdelta[cu] *= data->cpu_pwr_sample_ratio * 1000; in power1_average_show()
245 do_div(jdelta[cu], tdelta); in power1_average_show()
248 avg_acc += jdelta[cu]; in power1_average_show()
/kernel/linux/linux-5.10/sound/core/
Dpcm_lib.c264 unsigned long jdelta; in snd_pcm_update_hw_ptr0() local
353 jdelta = curr_jiffies - runtime->hw_ptr_jiffies; in snd_pcm_update_hw_ptr0()
354 if (jdelta < runtime->hw_ptr_buffer_jiffies / 2) in snd_pcm_update_hw_ptr0()
356 hdelta = jdelta - delta * HZ / runtime->rate; in snd_pcm_update_hw_ptr0()
394 jdelta = curr_jiffies - runtime->hw_ptr_jiffies; in snd_pcm_update_hw_ptr0()
395 if (((hdelta * HZ) / runtime->rate) > jdelta + HZ/100) { in snd_pcm_update_hw_ptr0()
396 delta = jdelta / in snd_pcm_update_hw_ptr0()
416 (long)runtime->period_size, jdelta, in snd_pcm_update_hw_ptr0()
/kernel/linux/linux-5.10/drivers/hid/
Dhid-multitouch.c949 unsigned long jdelta = jiffies_to_usecs(jiffies - app->jiffies); in mt_compute_timestamp() local
959 if (jdelta > MAX_TIMESTAMP_INTERVAL) in mt_compute_timestamp()