Searched refs:buffers_since_start (Results 1 – 4 of 4) sorted by relevance
47 u64 buffers_since_start; in vivid_thread_touch_cap() local88 buffers_since_start = (u64)jiffies_since_start * denominator + in vivid_thread_touch_cap()90 do_div(buffers_since_start, HZ * numerator); in vivid_thread_touch_cap()100 dev->cap_seq_offset = buffers_since_start; in vivid_thread_touch_cap()101 buffers_since_start = 0; in vivid_thread_touch_cap()103 dropped_bufs = buffers_since_start + dev->touch_cap_seq_offset - dev->touch_cap_seq_count; in vivid_thread_touch_cap()104 dev->touch_cap_seq_count = buffers_since_start + dev->touch_cap_seq_offset; in vivid_thread_touch_cap()112 numerators_since_start = ++buffers_since_start * numerator; in vivid_thread_touch_cap()
143 u64 buffers_since_start; in vivid_thread_vid_out() local190 buffers_since_start = (u64)jiffies_since_start * denominator + in vivid_thread_vid_out()192 do_div(buffers_since_start, HZ * numerator); in vivid_thread_vid_out()202 dev->out_seq_offset = buffers_since_start; in vivid_thread_vid_out()203 buffers_since_start = 0; in vivid_thread_vid_out()205 dev->out_seq_count = buffers_since_start + dev->out_seq_offset; in vivid_thread_vid_out()217 numerators_since_start = buffers_since_start * numerator; in vivid_thread_vid_out()
122 u64 buffers_since_start; in vivid_thread_sdr_cap() local159 buffers_since_start = in vivid_thread_sdr_cap()162 do_div(buffers_since_start, HZ * SDR_CAP_SAMPLES_PER_BUF); in vivid_thread_sdr_cap()172 dev->sdr_cap_seq_offset = buffers_since_start; in vivid_thread_sdr_cap()173 buffers_since_start = 0; in vivid_thread_sdr_cap()176 buffers_since_start + dev->sdr_cap_seq_offset; in vivid_thread_sdr_cap()185 samples_since_start = buffers_since_start * SDR_CAP_SAMPLES_PER_BUF; in vivid_thread_sdr_cap()
797 u64 buffers_since_start; in vivid_thread_vid_cap() local847 buffers_since_start = (u64)jiffies_since_start * denominator + in vivid_thread_vid_cap()849 do_div(buffers_since_start, HZ * numerator); in vivid_thread_vid_cap()859 dev->cap_seq_offset = buffers_since_start; in vivid_thread_vid_cap()860 buffers_since_start = 0; in vivid_thread_vid_cap()862 dropped_bufs = buffers_since_start + dev->cap_seq_offset - dev->cap_seq_count; in vivid_thread_vid_cap()863 dev->cap_seq_count = buffers_since_start + dev->cap_seq_offset; in vivid_thread_vid_cap()874 numerators_since_start = ++buffers_since_start * numerator; in vivid_thread_vid_cap()