Searched refs:buffers_since_start (Results 1 – 4 of 4) sorted by relevance
48 u64 buffers_since_start; in vivid_thread_touch_cap() local93 buffers_since_start = (u64)jiffies_since_start * denominator + in vivid_thread_touch_cap()95 do_div(buffers_since_start, HZ * numerator); in vivid_thread_touch_cap()105 dev->cap_seq_offset = buffers_since_start; in vivid_thread_touch_cap()106 buffers_since_start = 0; in vivid_thread_touch_cap()108 dropped_bufs = buffers_since_start + dev->touch_cap_seq_offset - dev->touch_cap_seq_count; in vivid_thread_touch_cap()109 dev->touch_cap_seq_count = buffers_since_start + dev->touch_cap_seq_offset; in vivid_thread_touch_cap()119 numerators_since_start = ++buffers_since_start * numerator; in vivid_thread_touch_cap()
144 u64 buffers_since_start; in vivid_thread_vid_out() local192 buffers_since_start = (u64)jiffies_since_start * denominator + in vivid_thread_vid_out()194 do_div(buffers_since_start, HZ * numerator); in vivid_thread_vid_out()204 dev->out_seq_offset = buffers_since_start; in vivid_thread_vid_out()205 buffers_since_start = 0; in vivid_thread_vid_out()207 dev->out_seq_count = buffers_since_start + dev->out_seq_offset; in vivid_thread_vid_out()219 numerators_since_start = buffers_since_start * numerator; in vivid_thread_vid_out()
123 u64 buffers_since_start; in vivid_thread_sdr_cap() local163 buffers_since_start = in vivid_thread_sdr_cap()166 do_div(buffers_since_start, HZ * SDR_CAP_SAMPLES_PER_BUF); in vivid_thread_sdr_cap()176 dev->sdr_cap_seq_offset = buffers_since_start; in vivid_thread_sdr_cap()177 buffers_since_start = 0; in vivid_thread_sdr_cap()180 buffers_since_start + dev->sdr_cap_seq_offset; in vivid_thread_sdr_cap()190 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() local851 buffers_since_start = (u64)jiffies_since_start * denominator + in vivid_thread_vid_cap()853 do_div(buffers_since_start, HZ * numerator); in vivid_thread_vid_cap()863 dev->cap_seq_offset = buffers_since_start; in vivid_thread_vid_cap()864 buffers_since_start = 0; in vivid_thread_vid_cap()866 dropped_bufs = buffers_since_start + dev->cap_seq_offset - dev->cap_seq_count; in vivid_thread_vid_cap()867 dev->cap_seq_count = buffers_since_start + dev->cap_seq_offset; in vivid_thread_vid_cap()878 numerators_since_start = ++buffers_since_start * numerator; in vivid_thread_vid_cap()