Searched refs:r2 (Results 1 - 6 of 6) sorted by relevance
/solaris-x11-s11/open-src/kernel/sys/drm/ |
H A D | drm_rect.h | 137 * @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-s11/open-src/kernel/drm/src/ |
H A D | drm_rect.c | 30 * @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-s11/open-src/kernel/i915/src/ |
H A D | intel_ddi.c | 430 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 D | intel_pm.c | 2489 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
|
/solaris-x11-s11/open-src/lib/DPS/sun-src/libdps/ |
H A D | dpsXcmu.c | 1089 int i, r0, r1, r2, r3, size, entries, redMult; local 1127 r2 = FindRampSize(black, altWhite); 1132 if (r2 > size) size = r2; 1136 else if (size == r2) SetRamp(black, altWhite, size, &redMult, &base);
|
/solaris-x11-s11/open-src/lib/DPS/sun-src/libdpstk/ |
H A D | DPSScrollW.c | 334 static Boolean Intersects(float *r1, float *r2) argument 336 if (RIGHT(r1) <= LEFT(r2)) return False; 337 if (RIGHT(r2) <= LEFT(r1)) return False; 338 if (TOP(r1) <= BOTTOM(r2)) return False; 339 if (TOP(r2) <= BOTTOM(r1)) return False; 402 static void Intersection(float *r1, float *r2, float *dst) argument 404 LEFT(dst) = MAX(LEFT(r1), LEFT(r2)); 405 BOTTOM(dst) = MAX(BOTTOM(r1), BOTTOM(r2)); 406 WIDTH(dst) = MIN(RIGHT(r1), RIGHT(r2)) - LEFT(dst); 407 HEIGHT(dst) = MIN(TOP(r1), TOP(r2)) 467 IntersectRects( float **r1, short *r1_size, short *num_r1, float *r2, int num_r2) argument [all...] |
Completed in 38 milliseconds