Searched refs:jdelta (Results 1 – 3 of 3) sorted by relevance
203 jdelta[MAX_CUS]; in power1_average_show() local237 jdelta[cu] = data->max_cu_acc_power + data->cu_acc_power[cu]; in power1_average_show()238 jdelta[cu] -= prev_cu_acc_power[cu]; in power1_average_show()240 jdelta[cu] = data->cu_acc_power[cu] - prev_cu_acc_power[cu]; in power1_average_show()243 jdelta[cu] *= data->cpu_pwr_sample_ratio * 1000; in power1_average_show()244 do_div(jdelta[cu], tdelta); in power1_average_show()247 avg_acc += jdelta[cu]; in power1_average_show()
293 unsigned long jdelta; in snd_pcm_update_hw_ptr0() local382 jdelta = curr_jiffies - runtime->hw_ptr_jiffies; in snd_pcm_update_hw_ptr0()383 if (jdelta < runtime->hw_ptr_buffer_jiffies / 2) in snd_pcm_update_hw_ptr0()385 hdelta = jdelta - delta * HZ / runtime->rate; in snd_pcm_update_hw_ptr0()423 jdelta = curr_jiffies - runtime->hw_ptr_jiffies; in snd_pcm_update_hw_ptr0()424 if (((hdelta * HZ) / runtime->rate) > jdelta + HZ/100) { in snd_pcm_update_hw_ptr0()425 delta = jdelta / in snd_pcm_update_hw_ptr0()445 (long)runtime->period_size, jdelta, in snd_pcm_update_hw_ptr0()
994 unsigned long jdelta = jiffies_to_usecs(jiffies - app->jiffies); in mt_compute_timestamp() local1004 if (jdelta > MAX_TIMESTAMP_INTERVAL) in mt_compute_timestamp()