Lines Matching full:den
406 duty->den = 2; in clk_rcg2_get_duty_cycle()
417 duty->den = 2; in clk_rcg2_get_duty_cycle()
429 duty->den = n; in clk_rcg2_get_duty_cycle()
456 duty_per = (duty->num * 100) / duty->den; in clk_rcg2_set_duty_cycle()
517 int den; member
561 request *= frac->den; in clk_edp_pixel_set_rate()
573 f.n = frac->den; in clk_edp_pixel_set_rate()
611 request *= frac->den; in clk_edp_pixel_determine_rate()
623 frac->num, frac->den, in clk_edp_pixel_determine_rate()
624 !!frac->den, hid_div); in clk_edp_pixel_determine_rate()
787 request = (req->rate * frac->den) / frac->num; in clk_pixel_determine_rate()
795 req->rate = (src_rate * frac->num) / frac->den; in clk_pixel_determine_rate()
825 request = (rate * frac->den) / frac->num; in clk_pixel_set_rate()
837 f.n = frac->den; in clk_pixel_set_rate()
1441 unsigned long num, den; in clk_rcg2_dp_set_rate() local
1445 GENMASK(rcg->mnd_width - 1, 0), &den, &num); in clk_rcg2_dp_set_rate()
1447 if (!num || !den) in clk_rcg2_dp_set_rate()
1466 if (num != den) { in clk_rcg2_dp_set_rate()
1468 f.n = den; in clk_rcg2_dp_set_rate()
1487 unsigned long num, den; in clk_rcg2_dp_determine_rate() local
1493 GENMASK(rcg->mnd_width - 1, 0), &den, &num); in clk_rcg2_dp_determine_rate()
1495 if (!num || !den) in clk_rcg2_dp_determine_rate()
1499 do_div(tmp, den); in clk_rcg2_dp_determine_rate()