Searched defs:r2 (Results 1 - 4 of 4) sorted by relevance

/solaris-x11-s12/open-src/kernel/sys/drm/
H A Ddrm_rect.h137 * @r2: second rectangle
143 const struct drm_rect *r2)
145 return r1->x1 == r2->x1 && r1->x2 == r2->x2 &&
146 r1->y1 == r2->y1 && r1->y2 == r2->y2;
142 drm_rect_equals(const struct drm_rect *r1, const struct drm_rect *r2) argument
/solaris-x11-s12/open-src/kernel/drm/src/
H A Ddrm_rect.c30 * @r2: second rectangle
32 * Calculate the intersection of rectangles @r1 and @r2.
39 int drm_rect_intersect(struct drm_rect *r1, const struct drm_rect *r2) argument
41 r1->x1 = max(r1->x1, r2->x1);
42 r1->y1 = max(r1->y1, r2->y1);
43 r1->x2 = min(r1->x2, r2->x2);
44 r1->y2 = min(r1->y2, r2->y2);
/solaris-x11-s12/open-src/kernel/i915/src/
H A Dintel_ddi.c430 unsigned p, n2, r2; member in struct:wrpll_rnp
508 unsigned r2, unsigned n2, unsigned p,
517 best->r2 = r2;
526 * abs(freq2k - (LC_FREQ_2K * n2/(p * r2))) /
535 a = freq2k * budget * p * r2;
536 b = freq2k * budget * best->p * best->r2;
537 diff = ABS_DIFF((freq2k * p * r2), (LC_FREQ_2K * n2));
538 diff_best = ABS_DIFF((freq2k * best->p * best->r2),
545 if (best->p * best->r2 * dif
507 wrpll_update_rnp(uint64_t freq2k, unsigned budget, unsigned r2, unsigned n2, unsigned p, struct wrpll_rnp *best) argument
571 unsigned p, n2, r2; local
673 unsigned p, n2, r2; local
[all...]
H A Dintel_pm.c2489 struct hsw_wm_values *r2)
2496 if (r2->wm_lp[i] & WM3_LP_EN)
2497 val_r2 = r2->wm_lp[i] & WM1_LP_LATENCY_MASK;
2501 if (r2->enable_fbc_wm && !r1->enable_fbc_wm)
2502 return r2;
2508 return r2;
2488 hsw_find_best_result(struct hsw_wm_values *r1, struct hsw_wm_values *r2) argument

Completed in 23 milliseconds