Home
last modified time | relevance | path

Searched refs:r2 (Results 1 – 8 of 8) sorted by relevance

/include/media/
Dv4l2-rect.h80 const struct v4l2_rect *r2) in v4l2_rect_same_size() argument
82 return r1->width == r2->width && r1->height == r2->height; in v4l2_rect_same_size()
93 const struct v4l2_rect *r2) in v4l2_rect_same_position() argument
95 return r1->top == r2->top && r1->left == r2->left; in v4l2_rect_same_position()
106 const struct v4l2_rect *r2) in v4l2_rect_equal() argument
108 return v4l2_rect_same_size(r1, r2) && v4l2_rect_same_position(r1, r2); in v4l2_rect_equal()
119 const struct v4l2_rect *r2) 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/
Dioport.h231 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 …]
Darm-smccc.h526 register unsigned long r2 asm("r2"); \
531 "=r" (r0), "=r" (r1), "=r" (r2), "=r" (r3) \
534 *___res = (typeof(*___res)){r0, r1, r2, r3}; \
Dbpf.h420 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);
Dfilter.h949 u64 __bpf_call_base(u64 r1, u64 r2, u64 r3, u64 r4, u64 r5);
/include/drm/
Ddrm_rect.h206 const struct drm_rect *r2) 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/
Dgeneve.h32 u8 r2:1; member
36 u8 r2:1; member
/include/math-emu/
Dop-4.h516 #define __FP_FRAC_ADD_3(r2,r1,r0,x2,x1,x0,y2,y1,y0) \ argument
525 r2 = x2 + y2 + _c2; \
530 #define __FP_FRAC_ADD_4(r3,r2,r1,r0,x3,x2,x1,x0,y3,y2,y1,y0) \ argument
539 r2 = x2 + y2; \
540 _c3 = r2 < x2; \
541 r2 += _c2; \
542 _c3 |= r2 < _c2; \
548 #define __FP_FRAC_SUB_3(r2,r1,r0,x2,x1,x0,y2,y1,y0) \ argument
557 r2 = x2 - y2 - _c2; \
562 #define __FP_FRAC_SUB_4(r3,r2,r1,r0,x3,x2,x1,x0,y3,y2,y1,y0) \ argument
[all …]