Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/media/test-drivers/vivid/
Dvivid-kthread-touch.c50 unsigned long jiffies_since_start; in vivid_thread_touch_cap() local
91 jiffies_since_start = cur_jiffies - dev->jiffies_touch_cap; in vivid_thread_touch_cap()
93 buffers_since_start = (u64)jiffies_since_start * denominator + in vivid_thread_touch_cap()
103 if (jiffies_since_start > JIFFIES_RESYNC) { in vivid_thread_touch_cap()
122 jiffies_since_start = jiffies - dev->jiffies_touch_cap; in vivid_thread_touch_cap()
134 if (next_jiffies_since_start < jiffies_since_start) in vivid_thread_touch_cap()
135 next_jiffies_since_start = jiffies_since_start; in vivid_thread_touch_cap()
137 wait_jiffies = next_jiffies_since_start - jiffies_since_start; in vivid_thread_touch_cap()
Dvivid-kthread-out.c146 unsigned long jiffies_since_start; in vivid_thread_vid_out() local
190 jiffies_since_start = cur_jiffies - dev->jiffies_vid_out; in vivid_thread_vid_out()
192 buffers_since_start = (u64)jiffies_since_start * denominator + in vivid_thread_vid_out()
202 if (jiffies_since_start > JIFFIES_RESYNC) { in vivid_thread_vid_out()
222 jiffies_since_start = jiffies - dev->jiffies_vid_out; in vivid_thread_vid_out()
234 if (next_jiffies_since_start < jiffies_since_start) in vivid_thread_vid_out()
235 next_jiffies_since_start = jiffies_since_start; in vivid_thread_vid_out()
237 wait_jiffies = next_jiffies_since_start - jiffies_since_start; in vivid_thread_vid_out()
Dvivid-sdr-cap.c125 unsigned long jiffies_since_start; in vivid_thread_sdr_cap() local
161 jiffies_since_start = cur_jiffies - dev->jiffies_sdr_cap; in vivid_thread_sdr_cap()
164 (u64)jiffies_since_start * dev->sdr_adc_freq + in vivid_thread_sdr_cap()
174 if (jiffies_since_start > JIFFIES_RESYNC) { in vivid_thread_sdr_cap()
193 jiffies_since_start = jiffies - dev->jiffies_sdr_cap; in vivid_thread_sdr_cap()
205 if (next_jiffies_since_start < jiffies_since_start) in vivid_thread_sdr_cap()
206 next_jiffies_since_start = jiffies_since_start; in vivid_thread_sdr_cap()
208 wait_jiffies = next_jiffies_since_start - jiffies_since_start; in vivid_thread_sdr_cap()
Dvivid-kthread-cap.c799 unsigned long jiffies_since_start; in vivid_thread_vid_cap() local
849 jiffies_since_start = cur_jiffies - dev->jiffies_vid_cap; in vivid_thread_vid_cap()
851 buffers_since_start = (u64)jiffies_since_start * denominator + in vivid_thread_vid_cap()
861 if (jiffies_since_start > JIFFIES_RESYNC) { in vivid_thread_vid_cap()
881 jiffies_since_start = jiffies - dev->jiffies_vid_cap; in vivid_thread_vid_cap()
893 if (next_jiffies_since_start < jiffies_since_start) in vivid_thread_vid_cap()
894 next_jiffies_since_start = jiffies_since_start; in vivid_thread_vid_cap()
896 wait_jiffies = next_jiffies_since_start - jiffies_since_start; in vivid_thread_vid_cap()