Home
last modified time | relevance | path

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

/openbmc/linux/sound/drivers/
H A Ddummy.c234 unsigned int frac_pos; /* fractional sample position (based HZ) */ member
258 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()
H A Daloop.c176 static inline unsigned int frac_pos(struct loopback_pcm *dpcm, unsigned int x) in frac_pos() function
214 dpcm->period_size_frac = frac_pos(dpcm, dpcm->pcm_period_size); in loopback_jiffies_timer_start()