Searched refs:ratios (Results 1 – 3 of 3) sorted by relevance
69 } ratios[] = { in find_suitable_clock() local97 for (r = 0; (best_diff != 0) && (r < ARRAY_SIZE(ratios)); ++r) { in find_suitable_clock()99 if ((ratios[r].ratio_val % bits_per_frame) != 0) { in find_suitable_clock()105 i2s_cfg->frame_clk_freq * ratios[r].ratio_val; in find_suitable_clock()124 uint32_t lrck_freq = actual_mck / ratios[r].ratio_val; in find_suitable_clock()159 mck_freq / ratios[r].ratio_val; in find_suitable_clock()185 config->ratio = ratios[best_r].ratio_enum; in find_suitable_clock()187 best_mck, best_mck / ratios[best_r].ratio_val); in find_suitable_clock()
238 } ratios[] = { in find_suitable_clock() local243 for (int r = 0; best_diff != 0 && r < ARRAY_SIZE(ratios); ++r) { in find_suitable_clock()244 uint8_t ratio = ratios[r].ratio_val; in find_suitable_clock()248 config->ratio = ratios[r].ratio_enum; in find_suitable_clock()
579 to align with iperf ratios.