Searched refs:r1 (Results 1 - 3 of 3) sorted by relevance

/solaris-x11-s12/open-src/kernel/drm/src/
H A Ddrm_rect.c29 * @r1: first rectangle
32 * Calculate the intersection of rectangles @r1 and @r2.
33 * @r1 will be overwritten with the intersection.
36 * %true if rectangle @r1 is still visible after the operation,
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
[all...]
/solaris-x11-s12/open-src/kernel/sys/drm/
H A Ddrm_rect.h136 * @r1: first rectangle
142 static int drm_rect_equals(const struct drm_rect *r1, argument
145 return r1->x1 == r2->x1 && r1->x2 == r2->x2 &&
146 r1->y1 == r2->y1 && r1->y2 == r2->y2;
/solaris-x11-s12/open-src/kernel/i915/src/
H A Dintel_pm.c2487 * case both are at the same level. Prefer r1 in case they're the same. */
2488 struct hsw_wm_values *hsw_find_best_result(struct hsw_wm_values *r1, argument
2494 if (r1->wm_lp[i] & WM3_LP_EN)
2495 val_r1 = r1->wm_lp[i] & WM1_LP_LATENCY_MASK;
2501 if (r2->enable_fbc_wm && !r1->enable_fbc_wm)
2504 return r1;
2506 return r1;

Completed in 39 milliseconds