Searched refs:jdelta (Results 1 – 3 of 3) sorted by relevance
204 jdelta[MAX_CUS]; in power1_average_show() local238 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()
264 unsigned long jdelta; in snd_pcm_update_hw_ptr0() local353 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()
949 unsigned long jdelta = jiffies_to_usecs(jiffies - app->jiffies); in mt_compute_timestamp() local959 if (jdelta > MAX_TIMESTAMP_INTERVAL) in mt_compute_timestamp()