Lines Matching defs:ratio
125 * Check if the divider is available for internal ratio mode
316 * fsl_asrc_set_ideal_ratio - Calculate and set the ratio for Ideal Ratio mode only
321 * The ratio is a 32-bit fixed point value with 26 fractional bits.
328 unsigned long ratio;
336 /* Calculate the intergal part of the ratio */
337 ratio = (inrate / outrate) << IDEAL_RATIO_DECIMAL_DEPTH;
348 ratio |= 1 << (IDEAL_RATIO_DECIMAL_DEPTH - i);
355 regmap_write(asrc->regmap, REG_ASRIDRL(index), ratio);
356 regmap_write(asrc->regmap, REG_ASRIDRH(index), ratio >> 24);
371 * The ideal ratio configuration can work with a flexible clock rate setting.
459 pair_err("exceed supported ratio range [1/24, 8] for \
468 /* We only have output clock for ideal ratio mode */
476 * ideal ratio configuration, clock rate has to be strictly aligned
477 * with the sample rate. For ideal ratio configuration, clock rates
659 /* Select proper clock source for internal ratio mode */
674 /* Select proper clock source for internal ratio mode */
687 /* Switch to ideal ratio mode if there is no proper clock source */