Lines Matching refs:limit

38 static bool mrst_lvds_find_best_pll(const struct gma_limit_t *limit,
42 static bool mrst_sdvo_find_best_pll(const struct gma_limit_t *limit,
85 const struct gma_limit_t *limit = NULL; in mrst_limit() local
93 limit = &mrst_limits[MRST_LIMIT_LVDS_100L]; in mrst_limit()
96 limit = &mrst_limits[MRST_LIMIT_LVDS_83]; in mrst_limit()
99 limit = &mrst_limits[MRST_LIMIT_LVDS_100]; in mrst_limit()
103 limit = &mrst_limits[MRST_LIMIT_SDVO]; in mrst_limit()
105 limit = NULL; in mrst_limit()
109 return limit; in mrst_limit()
125 static bool mrst_sdvo_find_best_pll(const struct gma_limit_t *limit, in mrst_sdvo_find_best_pll() argument
136 for (clock.m = limit->m.min; clock.m <= limit->m.max; clock.m++) { in mrst_sdvo_find_best_pll()
137 for (clock.n = limit->n.min; clock.n <= limit->n.max; in mrst_sdvo_find_best_pll()
139 for (clock.p1 = limit->p1.min; in mrst_sdvo_find_best_pll()
140 clock.p1 <= limit->p1.max; clock.p1++) { in mrst_sdvo_find_best_pll()
142 clock.p = clock.p1 * limit->p2.p2_slow; in mrst_sdvo_find_best_pll()
146 if (target_vco > limit->vco.max) in mrst_sdvo_find_best_pll()
149 if (target_vco < limit->vco.min) in mrst_sdvo_find_best_pll()
183 static bool mrst_lvds_find_best_pll(const struct gma_limit_t *limit, in mrst_lvds_find_best_pll() argument
193 for (clock.m = limit->m.min; clock.m <= limit->m.max; clock.m++) { in mrst_lvds_find_best_pll()
194 for (clock.p1 = limit->p1.min; clock.p1 <= limit->p1.max; in mrst_lvds_find_best_pll()
371 const struct gma_limit_t *limit; in oaktrail_crtc_mode_set() local
505 limit = mrst_limit(crtc, refclk); in oaktrail_crtc_mode_set()
506 ok = limit->find_pll(limit, crtc, adjusted_mode->clock, in oaktrail_crtc_mode_set()
664 .limit = mrst_limit,