/include/media/ |
D | v4l2-rect.h | 79 static inline bool v4l2_rect_same_size(const struct v4l2_rect *r1, in v4l2_rect_same_size() argument 82 return r1->width == r2->width && r1->height == r2->height; in v4l2_rect_same_size() 92 static inline bool v4l2_rect_same_position(const struct v4l2_rect *r1, in v4l2_rect_same_position() argument 95 return r1->top == r2->top && r1->left == r2->left; in v4l2_rect_same_position() 105 static inline bool v4l2_rect_equal(const struct v4l2_rect *r1, in v4l2_rect_equal() argument 108 return v4l2_rect_same_size(r1, r2) && v4l2_rect_same_position(r1, r2); in v4l2_rect_equal() 118 const struct v4l2_rect *r1, in v4l2_rect_intersect() argument 123 r->top = max(r1->top, r2->top); in v4l2_rect_intersect() 124 r->left = max(r1->left, r2->left); in v4l2_rect_intersect() 125 bottom = min(r1->top + r1->height, r2->top + r2->height); in v4l2_rect_intersect() [all …]
|
/include/linux/ |
D | ioport.h | 231 static inline bool resource_contains(struct resource *r1, struct resource *r2) in resource_contains() argument 233 if (resource_type(r1) != resource_type(r2)) in resource_contains() 235 if (r1->flags & IORESOURCE_UNSET || r2->flags & IORESOURCE_UNSET) in resource_contains() 237 return r1->start <= r2->start && r1->end >= r2->end; in resource_contains() 241 static inline bool resource_overlaps(struct resource *r1, struct resource *r2) in resource_overlaps() argument 243 return r1->start <= r2->end && r1->end >= r2->start; in resource_overlaps() 247 resource_intersection(struct resource *r1, struct resource *r2, struct resource *r) in resource_intersection() argument 249 if (!resource_overlaps(r1, r2)) in resource_intersection() 251 r->start = max(r1->start, r2->start); in resource_intersection() 252 r->end = min(r1->end, r2->end); in resource_intersection() [all …]
|
D | arm-smccc.h | 525 register unsigned long r1 asm("r1"); \ 531 "=r" (r0), "=r" (r1), "=r" (r2), "=r" (r3) \ 534 *___res = (typeof(*___res)){r0, r1, r2, r3}; \
|
D | bpf.h | 420 u64 (*func)(u64 r1, u64 r2, u64 r3, u64 r4, u64 r5); 2188 u64 bpf_user_rnd_u32(u64 r1, u64 r2, u64 r3, u64 r4, u64 r5); 2189 u64 bpf_get_raw_cpu_id(u64 r1, u64 r2, u64 r3, u64 r4, u64 r5);
|
D | filter.h | 949 u64 __bpf_call_base(u64 r1, u64 r2, u64 r3, u64 r4, u64 r5);
|
/include/drm/ |
D | drm_rect.h | 205 static inline bool drm_rect_equals(const struct drm_rect *r1, in drm_rect_equals() argument 208 return r1->x1 == r2->x1 && r1->x2 == r2->x2 && in drm_rect_equals() 209 r1->y1 == r2->y1 && r1->y2 == r2->y2; in drm_rect_equals()
|
/include/net/ |
D | geneve.h | 33 u8 r1:1; member 35 u8 r1:1; member
|
/include/math-emu/ |
D | op-4.h | 516 #define __FP_FRAC_ADD_3(r2,r1,r0,x2,x1,x0,y2,y1,y0) \ argument 521 r1 = x1 + y1; \ 522 _c2 = r1 < x1; \ 523 r1 += _c1; \ 524 _c2 |= r1 < _c1; \ 530 #define __FP_FRAC_ADD_4(r3,r2,r1,r0,x3,x2,x1,x0,y3,y2,y1,y0) \ argument 535 r1 = x1 + y1; \ 536 _c2 = r1 < x1; \ 537 r1 += _c1; \ 538 _c2 |= r1 < _c1; \ [all …]
|