• Home
  • Raw
  • Download

Lines Matching refs:limit

36 static bool mrst_lvds_find_best_pll(const struct gma_limit_t *limit,
40 static bool mrst_sdvo_find_best_pll(const struct gma_limit_t *limit,
83 const struct gma_limit_t *limit = NULL; in mrst_limit() local
91 limit = &mrst_limits[MRST_LIMIT_LVDS_100L]; in mrst_limit()
94 limit = &mrst_limits[MRST_LIMIT_LVDS_83]; in mrst_limit()
97 limit = &mrst_limits[MRST_LIMIT_LVDS_100]; in mrst_limit()
101 limit = &mrst_limits[MRST_LIMIT_SDVO]; in mrst_limit()
103 limit = NULL; in mrst_limit()
107 return limit; in mrst_limit()
123 static bool mrst_sdvo_find_best_pll(const struct gma_limit_t *limit, in mrst_sdvo_find_best_pll() argument
134 for (clock.m = limit->m.min; clock.m <= limit->m.max; clock.m++) { in mrst_sdvo_find_best_pll()
135 for (clock.n = limit->n.min; clock.n <= limit->n.max; in mrst_sdvo_find_best_pll()
137 for (clock.p1 = limit->p1.min; in mrst_sdvo_find_best_pll()
138 clock.p1 <= limit->p1.max; clock.p1++) { in mrst_sdvo_find_best_pll()
140 clock.p = clock.p1 * limit->p2.p2_slow; in mrst_sdvo_find_best_pll()
144 if (target_vco > limit->vco.max) in mrst_sdvo_find_best_pll()
147 if (target_vco < limit->vco.min) in mrst_sdvo_find_best_pll()
181 static bool mrst_lvds_find_best_pll(const struct gma_limit_t *limit, in mrst_lvds_find_best_pll() argument
191 for (clock.m = limit->m.min; clock.m <= limit->m.max; clock.m++) { in mrst_lvds_find_best_pll()
192 for (clock.p1 = limit->p1.min; clock.p1 <= limit->p1.max; in mrst_lvds_find_best_pll()
369 const struct gma_limit_t *limit; in oaktrail_crtc_mode_set() local
502 limit = mrst_limit(crtc, refclk); in oaktrail_crtc_mode_set()
503 ok = limit->find_pll(limit, crtc, adjusted_mode->clock, in oaktrail_crtc_mode_set()
661 .limit = mrst_limit,