Searched refs:frac_pos (Results 1 – 2 of 2) sorted by relevance
234 unsigned int frac_pos; /* fractional sample position (based HZ) */ member258 dpcm->frac_pos += delta; in dummy_systimer_update()259 while (dpcm->frac_pos >= dpcm->frac_buffer_size) in dummy_systimer_update()260 dpcm->frac_pos -= dpcm->frac_buffer_size; in dummy_systimer_update()292 dpcm->frac_pos = 0; in dummy_systimer_prepare()326 pos = dpcm->frac_pos / HZ; in dummy_systimer_pointer()
176 static inline unsigned int frac_pos(struct loopback_pcm *dpcm, unsigned int x) in frac_pos() function214 dpcm->period_size_frac = frac_pos(dpcm, dpcm->pcm_period_size); in loopback_jiffies_timer_start()