Home
last modified time | relevance | path

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

/drivers/media/platform/vivid/
Dvivid-kthread-out.c123 unsigned long jiffies_since_start; in vivid_thread_vid_out() local
165 jiffies_since_start = cur_jiffies - dev->jiffies_vid_out; in vivid_thread_vid_out()
167 buffers_since_start = (u64)jiffies_since_start * denominator + in vivid_thread_vid_out()
177 if (jiffies_since_start > JIFFIES_RESYNC) { in vivid_thread_vid_out()
196 jiffies_since_start = jiffies - dev->jiffies_vid_out; in vivid_thread_vid_out()
208 if (next_jiffies_since_start < jiffies_since_start) in vivid_thread_vid_out()
209 next_jiffies_since_start = jiffies_since_start; in vivid_thread_vid_out()
211 wait_jiffies = next_jiffies_since_start - jiffies_since_start; in vivid_thread_vid_out()
Dvivid-sdr-cap.c124 unsigned long jiffies_since_start; in vivid_thread_sdr_cap() local
157 jiffies_since_start = cur_jiffies - dev->jiffies_sdr_cap; in vivid_thread_sdr_cap()
160 (u64)jiffies_since_start * dev->sdr_adc_freq + in vivid_thread_sdr_cap()
170 if (jiffies_since_start > JIFFIES_RESYNC) { in vivid_thread_sdr_cap()
188 jiffies_since_start = jiffies - dev->jiffies_sdr_cap; in vivid_thread_sdr_cap()
200 if (next_jiffies_since_start < jiffies_since_start) in vivid_thread_sdr_cap()
201 next_jiffies_since_start = jiffies_since_start; in vivid_thread_sdr_cap()
203 wait_jiffies = next_jiffies_since_start - jiffies_since_start; in vivid_thread_sdr_cap()
Dvivid-kthread-cap.c775 unsigned long jiffies_since_start; in vivid_thread_vid_cap() local
821 jiffies_since_start = cur_jiffies - dev->jiffies_vid_cap; in vivid_thread_vid_cap()
823 buffers_since_start = (u64)jiffies_since_start * denominator + in vivid_thread_vid_cap()
833 if (jiffies_since_start > JIFFIES_RESYNC) { in vivid_thread_vid_cap()
852 jiffies_since_start = jiffies - dev->jiffies_vid_cap; in vivid_thread_vid_cap()
864 if (next_jiffies_since_start < jiffies_since_start) in vivid_thread_vid_cap()
865 next_jiffies_since_start = jiffies_since_start; in vivid_thread_vid_cap()
867 wait_jiffies = next_jiffies_since_start - jiffies_since_start; in vivid_thread_vid_cap()