Home
last modified time | relevance | path

Searched refs:r1 (Results 1 – 10 of 10) sorted by relevance

/include/media/
A Dv4l2-rect.h82 return r1->width == r2->width && r1->height == r2->height; in v4l2_rect_same_size()
95 return r1->top == r2->top && r1->left == r2->left; in v4l2_rect_same_position()
108 return v4l2_rect_same_size(r1, r2) && v4l2_rect_same_position(r1, r2); in v4l2_rect_equal()
123 r->top = max(r1->top, r2->top); in v4l2_rect_intersect()
125 bottom = min(r1->top + r1->height, r2->top + r2->height); in v4l2_rect_intersect()
126 right = min(r1->left + r1->width, r2->left + r2->width); in v4l2_rect_intersect()
174 r2->left >= r1->left + r1->width) in v4l2_rect_overlap()
182 r2->top >= r1->top + r1->height) in v4l2_rect_overlap()
197 if (r1->left < r2->left || r1->top < r2->top) in v4l2_rect_enclosed()
199 if (r1->left + r1->width > r2->left + r2->width) in v4l2_rect_enclosed()
[all …]
/include/linux/
A Drange.h17 static inline bool range_contains(const struct range *r1, in range_contains() argument
20 return r1->start <= r2->start && r1->end >= r2->end; in range_contains()
24 static inline bool range_overlaps(const struct range *r1, in range_overlaps() argument
27 return r1->start <= r2->end && r1->end >= r2->start; in range_overlaps()
A Dioport.h304 if (resource_type(r1) != resource_type(r2)) in resource_contains()
306 if (r1->flags & IORESOURCE_UNSET || r2->flags & IORESOURCE_UNSET) in resource_contains()
308 return r1->start <= r2->start && r1->end >= r2->end; in resource_contains()
314 return r1->start <= r2->end && r1->end >= r2->start; in resource_overlaps()
320 if (!resource_overlaps(r1, r2)) in resource_intersection()
322 r->start = max(r1->start, r2->start); in resource_intersection()
323 r->end = min(r1->end, r2->end); in resource_intersection()
327 static inline bool resource_union(const struct resource *r1, const struct resource *r2, in resource_union() argument
330 if (!resource_overlaps(r1, r2)) in resource_union()
332 r->start = min(r1->start, r2->start); in resource_union()
[all …]
A Darm-smccc.h364 static inline uuid_t smccc_res_to_uuid(u32 r0, u32 r1, u32 r2, u32 r3) in smccc_res_to_uuid() argument
373 [4] = (r1 >> 0) & 0xff, in smccc_res_to_uuid()
374 [5] = (r1 >> 8) & 0xff, in smccc_res_to_uuid()
375 [6] = (r1 >> 16) & 0xff, in smccc_res_to_uuid()
376 [7] = (r1 >> 24) & 0xff, in smccc_res_to_uuid()
618 register unsigned long r1 asm("r1"); \
624 "=r" (r0), "=r" (r1), "=r" (r2), "=r" (r3) \
629 *___res = (typeof(*___res)){r0, r1, r2, r3}; \
A Dbpf.h877 u64 (*func)(u64 r1, u64 r2, u64 r3, u64 r4, u64 r5);
3498 u64 bpf_user_rnd_u32(u64 r1, u64 r2, u64 r3, u64 r4, u64 r5);
3499 u64 bpf_get_raw_cpu_id(u64 r1, u64 r2, u64 r3, u64 r4, u64 r5);
A Dfilter.h1132 u64 __bpf_call_base(u64 r1, u64 r2, u64 r3, u64 r4, u64 r5);
/include/drm/
A Ddrm_rect.h221 static inline bool drm_rect_equals(const struct drm_rect *r1, in drm_rect_equals() argument
224 return r1->x1 == r2->x1 && r1->x2 == r2->x2 && in drm_rect_equals()
225 r1->y1 == r2->y1 && r1->y2 == r2->y2; in drm_rect_equals()
/include/net/
A Dgeneve.h33 u8 r1:1; member
35 u8 r1:1; member
/include/math-emu/
A Dop-4.h521 r1 = x1 + y1; \
522 _c2 = r1 < x1; \
523 r1 += _c1; \
535 r1 = x1 + y1; \
536 _c2 = r1 < x1; \
537 r1 += _c1; \
553 r1 = x1 - y1; \
554 _c2 = r1 > x1; \
555 r1 -= _c1; \
567 r1 = x1 - y1; \
[all …]
/include/sound/
A Drawmidi.h195 static inline void snd_rawmidi_tie_devices(struct snd_rawmidi *r1, in snd_rawmidi_tie_devices() argument
199 r1->tied_device = r2->device + 1; in snd_rawmidi_tie_devices()
200 r2->tied_device = r1->device + 1; in snd_rawmidi_tie_devices()

Completed in 34 milliseconds