Searched refs:fraction_init (Results 1 – 1 of 1) sorted by relevance
489 static void fraction_init(struct fraction *f, int numerator, int denominator) in fraction_init() function950 fraction_init(&s->samples_per_cycle, s->rate, 8000); in stream_configure()951 fraction_init(&s->ready_samples, 0, 8000); in stream_configure()958 fraction_init(&s->ticks_per_syt_offset, in stream_configure()960 fraction_init(&s->cycle_offset, (transfer_delay % 3072) * s->rate, s->rate); in stream_configure()