Lines Matching refs:nom
876 * @nom: nominator
885 static void avivo_reduce_ratio(unsigned *nom, unsigned *den,
891 tmp = gcd(*nom, *den);
892 *nom /= tmp;
896 if (*nom < nom_min) {
897 tmp = DIV_ROUND_UP(nom_min, *nom);
898 *nom *= tmp;
905 *nom *= tmp;
913 * @nom: nominator
924 static void avivo_get_fb_ref_div(unsigned nom, unsigned den, unsigned post_div,
933 *fb_div = DIV_ROUND_CLOSEST(nom * *ref_div * post_div, den);
971 unsigned nom, den;
1031 nom = target_clock;
1035 avivo_reduce_ratio(&nom, &den, fb_div_min, post_div_min);
1046 avivo_get_fb_ref_div(nom, den, post_div, fb_div_max,
1061 avivo_get_fb_ref_div(nom, den, post_div, fb_div_max, ref_div_max,