Searched refs:frac_pos (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/sound/drivers/
H A Ddummy.c241 unsigned int frac_pos; /* fractional sample position (based HZ) */ member in struct:dummy_systimer_pcm
265 dpcm->frac_pos += delta; dummy_systimer_update()
266 while (dpcm->frac_pos >= dpcm->frac_buffer_size) dummy_systimer_update()
267 dpcm->frac_pos -= dpcm->frac_buffer_size; dummy_systimer_update()
299 dpcm->frac_pos = 0; dummy_systimer_prepare()
333 pos = dpcm->frac_pos / HZ; dummy_systimer_pointer()
H A Daloop.c138 static inline unsigned int frac_pos(struct loopback_pcm *dpcm, unsigned int x) frac_pos() function
176 dpcm->period_size_frac = frac_pos(dpcm, dpcm->pcm_period_size); loopback_timer_start()
579 /* note check overflow in frac_pos() using pcm_rate_shift before

Completed in 193 milliseconds