Lines Matching refs:limit

39 static bool mrst_lvds_find_best_pll(const struct gma_limit_t *limit,
43 static bool mrst_sdvo_find_best_pll(const struct gma_limit_t *limit,
86 const struct gma_limit_t *limit = NULL; in mrst_limit() local
94 limit = &mrst_limits[MRST_LIMIT_LVDS_100L]; in mrst_limit()
97 limit = &mrst_limits[MRST_LIMIT_LVDS_83]; in mrst_limit()
100 limit = &mrst_limits[MRST_LIMIT_LVDS_100]; in mrst_limit()
104 limit = &mrst_limits[MRST_LIMIT_SDVO]; in mrst_limit()
106 limit = NULL; in mrst_limit()
110 return limit; in mrst_limit()
126 static bool mrst_sdvo_find_best_pll(const struct gma_limit_t *limit, in mrst_sdvo_find_best_pll() argument
137 for (clock.m = limit->m.min; clock.m <= limit->m.max; clock.m++) { in mrst_sdvo_find_best_pll()
138 for (clock.n = limit->n.min; clock.n <= limit->n.max; in mrst_sdvo_find_best_pll()
140 for (clock.p1 = limit->p1.min; in mrst_sdvo_find_best_pll()
141 clock.p1 <= limit->p1.max; clock.p1++) { in mrst_sdvo_find_best_pll()
143 clock.p = clock.p1 * limit->p2.p2_slow; in mrst_sdvo_find_best_pll()
147 if (target_vco > limit->vco.max) in mrst_sdvo_find_best_pll()
150 if (target_vco < limit->vco.min) in mrst_sdvo_find_best_pll()
184 static bool mrst_lvds_find_best_pll(const struct gma_limit_t *limit, in mrst_lvds_find_best_pll() argument
194 for (clock.m = limit->m.min; clock.m <= limit->m.max; clock.m++) { in mrst_lvds_find_best_pll()
195 for (clock.p1 = limit->p1.min; clock.p1 <= limit->p1.max; in mrst_lvds_find_best_pll()
372 const struct gma_limit_t *limit; in oaktrail_crtc_mode_set() local
506 limit = mrst_limit(crtc, refclk); in oaktrail_crtc_mode_set()
507 ok = limit->find_pll(limit, crtc, adjusted_mode->clock, in oaktrail_crtc_mode_set()
665 .limit = mrst_limit,