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