Home
last modified time | relevance | path

Searched refs:x2 (Results 1 – 25 of 102) sorted by relevance

12345

/drivers/gpu/drm/
A Ddrm_rect.c48 r1->x2 = min(r1->x2, r2->x2); in drm_rect_intersect()
112 diff = dst->x2 - clip->x2; in drm_rect_clip_scaled()
118 dst->x2 -= diff; in drm_rect_clip_scaled()
278 r->x2 = tmp.y2; in drm_rect_rotate()
279 r->y1 = width - tmp.x2; in drm_rect_rotate()
284 r->x1 = width - tmp.x2; in drm_rect_rotate()
285 r->x2 = width - tmp.x1; in drm_rect_rotate()
294 r->y2 = tmp.x2; in drm_rect_rotate()
338 r->x2 = width - tmp.y1; in drm_rect_rotate_inv()
340 r->y2 = tmp.x2; in drm_rect_rotate_inv()
[all …]
A Ddrm_damage_helper.c47 dest->x2 = src->x2; in convert_clip_rect_to_rect()
243 iter->plane_src.x2 = (src.x2 >> 16) + !!(src.x2 & 0xFFFF); in drm_atomic_helper_damage_iter_init()
322 rect->x2 = 0; in drm_atomic_helper_damage_merged()
329 rect->x2 = max(rect->x2, clip.x2); in drm_atomic_helper_damage_merged()
/drivers/gpu/drm/vmwgfx/
A Dvmwgfx_msg_arm64.h55 register u64 x2 asm("x2") = cmd; in vmware_hypercall1()
65 : "r" (x1), "r" (x2), "r" (x3), "r" (x7) in vmware_hypercall1()
78 register u64 x2 asm("x2") = cmd; in vmware_hypercall5()
89 : "+r" (x0), "+r" (x2) in vmware_hypercall5()
93 *out2 = x2; in vmware_hypercall5()
104 register u64 x2 asm("x2") = cmd; in vmware_hypercall6()
119 *out2 = x2; in vmware_hypercall6()
134 register u64 x2 asm("x2") = cmd; in vmware_hypercall7()
150 *out2 = x2; in vmware_hypercall7()
163 register u64 x2 asm("x2") = in2; in vmware_hypercall_hb()
[all …]
A Dvmwgfx_kms.c810 if (rects[i].x2 > bounding_box.x2) in vmw_kms_check_display_memory()
811 bounding_box.x2 = rects[i].x2; in vmw_kms_check_display_memory()
836 bb_mem = (u64) bounding_box.x2 * bounding_box.y2 * 4; in vmw_kms_check_display_memory()
974 rects[i].x2 = 0; in vmw_kms_check_topology()
1449 drm_rects[i].x2 = curr_rect.x + curr_rect.w; in vmw_kms_update_layout_ioctl()
1454 drm_rects[i].x2, drm_rects[i].y2); in vmw_kms_update_layout_ioctl()
1464 drm_rects[i].x2 > mode_config->max_width || in vmw_kms_update_layout_ioctl()
1468 drm_rects[i].x2, drm_rects[i].y2); in vmw_kms_update_layout_ioctl()
1562 dirty->unit_x2 = (s32) clips_ptr->x2 + dest_x - in vmw_kms_helper_dirty()
1814 bb.x2 = INT_MIN; in vmw_du_helper_plane_update()
[all …]
/drivers/gpu/drm/tests/
A Ddrm_rect_test.c63 KUNIT_EXPECT_FALSE_MSG(test, src.x1 != 0 || src.x2 != 1 << 16 || in drm_test_rect_clip_scaled_not_clipped()
65 KUNIT_EXPECT_FALSE_MSG(test, dst.x1 != 0 || dst.x2 != 1 || in drm_test_rect_clip_scaled_not_clipped()
77 KUNIT_EXPECT_FALSE_MSG(test, src.x1 != 0 || src.x2 != 2 << 16 || in drm_test_rect_clip_scaled_not_clipped()
79 KUNIT_EXPECT_FALSE_MSG(test, dst.x1 != 0 || dst.x2 != 1 || in drm_test_rect_clip_scaled_not_clipped()
91 KUNIT_EXPECT_FALSE_MSG(test, src.x1 != 0 || src.x2 != 1 << 16 || in drm_test_rect_clip_scaled_not_clipped()
93 KUNIT_EXPECT_FALSE_MSG(test, dst.x1 != 0 || dst.x2 != 2 || in drm_test_rect_clip_scaled_not_clipped()
111 KUNIT_EXPECT_FALSE_MSG(test, src.x1 != 0 || src.x2 != 1 << 16 || in drm_test_rect_clip_scaled_clipped()
113 KUNIT_EXPECT_FALSE_MSG(test, dst.x1 != 0 || dst.x2 != 1 || in drm_test_rect_clip_scaled_clipped()
125 KUNIT_EXPECT_FALSE_MSG(test, src.x1 != 1 << 16 || src.x2 != 2 << 16 || in drm_test_rect_clip_scaled_clipped()
139 KUNIT_EXPECT_FALSE_MSG(test, src.x1 != 0 || src.x2 != 2 << 16 || in drm_test_rect_clip_scaled_clipped()
[all …]
A Ddrm_damage_helper_test.c59 static void set_plane_src(struct drm_plane_state *state, int x1, int y1, int x2, in set_plane_src() argument
64 state->src_w = x2 - x1; in set_plane_src()
69 state->src.x2 = x2; in set_plane_src()
73 static void set_damage_clip(struct drm_mode_rect *r, int x1, int y1, int x2, in set_damage_clip() argument
78 r->x2 = x2; in set_damage_clip()
96 int x1, int y1, int x2, int y2) in check_damage_clip() argument
107 int src_x2 = (state.src.x2 >> 16) + !!(state.src.x2 & 0xFFFF); in check_damage_clip()
110 if (x1 >= x2 || y1 >= y2) in check_damage_clip()
112 if (x1 < src_x1 || y1 < src_y1 || x2 > src_x2 || y2 > src_y2) in check_damage_clip()
114 if (r->x1 != x1 || r->y1 != y1 || r->x2 != x2 || r->y2 != y2) in check_damage_clip()
[all …]
/drivers/gpu/drm/tiny/
A Dili9225.c90 u16 x1, x2, y1, y2; in ili9225_fb_dirty() local
112 x2 = rect->x2 - 1; in ili9225_fb_dirty()
120 x2 = rect->y2 - 1; in ili9225_fb_dirty()
121 y1 = fb->width - rect->x2; in ili9225_fb_dirty()
127 x1 = fb->width - rect->x2; in ili9225_fb_dirty()
128 x2 = fb->width - rect->x1 - 1; in ili9225_fb_dirty()
131 x_start = x2; in ili9225_fb_dirty()
136 x2 = fb->height - rect->y1 - 1; in ili9225_fb_dirty()
138 y2 = rect->x2 - 1; in ili9225_fb_dirty()
139 x_start = x2; in ili9225_fb_dirty()
[all …]
A Dgm12u320.c255 int block, dst_offset, len, remain, ret, x1, x2, y1, y2; in gm12u320_copy_fb_to_blocks() local
267 x2 = gm12u320->fb_update.rect.x2; in gm12u320_copy_fb_to_blocks()
281 x2 += (GM12U320_REAL_WIDTH - GM12U320_USER_WIDTH) / 2; in gm12u320_copy_fb_to_blocks()
285 len = (x2 - x1) * 3; in gm12u320_copy_fb_to_blocks()
422 rect->x2 = max(rect->x2, dirty->x2); in gm12u320_fb_mark_dirty()
/drivers/video/fbdev/mb862xx/
A Dmb862xxfb_accel.c194 int x2, y2, vxres, vyres; in mb86290fb_imageblit() local
196 x2 = image->dx + image->width; in mb86290fb_imageblit()
200 x2 = min(x2, vxres); in mb86290fb_imageblit()
202 width = x2 - dx; in mb86290fb_imageblit()
252 u32 x2, y2, vxres, vyres, height, width, fg; in mb86290fb_fillrect() local
264 x2 = rect->dx + rect->width; in mb86290fb_fillrect()
266 x2 = min(x2, vxres); in mb86290fb_fillrect()
268 width = x2 - rect->dx; in mb86290fb_fillrect()
/drivers/video/fbdev/
A Dhyperv_fb.c274 int x1, y1, x2, y2; member
379 if (x2 == INT_MAX) in synthvid_update()
380 x2 = info->var.xres; in synthvid_update()
391 msg.dirt.rect[0].x2 = in synthvid_update()
392 (x2 < x1 || x2 > info->var.xres) ? info->var.xres : x2; in synthvid_update()
716 int x1, x2, y1, y2; in hvfb_update_work() local
725 x2 = par->x2; in hvfb_update_work()
731 par->x2 = par->y2 = 0; in hvfb_update_work()
760 int x2 = x1 + w; in hvfb_ondemand_refresh_throttle() local
768 par->x2 = max_t(int, par->x2, x2); in hvfb_ondemand_refresh_throttle()
[all …]
A Dxen-fbfront.c45 int x1, y1, x2, y2; /* dirty rectangle, member
144 int x2 = x1 + w - 1; in xenfb_refresh() local
161 if (info->x2 > x2) in xenfb_refresh()
162 x2 = info->x2; in xenfb_refresh()
167 info->x2 = x2; in xenfb_refresh()
176 info->x2 = info->y2 = 0; in xenfb_refresh()
180 if (x1 <= x2 && y1 <= y2) in xenfb_refresh()
181 xenfb_do_update(info, x1, y1, x2 - x1 + 1, y2 - y1 + 1); in xenfb_refresh()
A Dtridentfb.c360 u32 d1 = point(x2, y2); in blade_copy_rect()
361 u32 d2 = point(x2 + w - 1, y2 + h - 1); in blade_copy_rect()
363 if ((y1 > y2) || ((y1 == y2) && (x1 > x2))) in blade_copy_rect()
448 if ((x1 < x2) && (y1 == y2)) { in xp_copy_rect()
451 x2_tmp = x2 + w - 1; in xp_copy_rect()
454 x2_tmp = x2; in xp_copy_rect()
522 u32 d1 = point(x2, y2); in image_copy_rect()
523 u32 d2 = point(x2 + w - 1, y2 + h - 1); in image_copy_rect()
587 if ((x1 < x2) && (y1 == y2)) { in tgui_copy_rect()
590 x2_tmp = x2 + w - 1; in tgui_copy_rect()
[all …]
A Dvga16fb.c899 int x, x2, y2, vxres, vyres, width, height, line_ofs; in vga16fb_fillrect() local
911 x2 = rect->dx + rect->width; in vga16fb_fillrect()
913 x2 = x2 < vxres ? x2 : vxres; in vga16fb_fillrect()
915 width = x2 - rect->dx; in vga16fb_fillrect()
1030 int x, x2, y2, old_dx, old_dy, vxres, vyres; in vga16fb_copyarea() local
1050 x2 = area->dx + area->width; in vga16fb_copyarea()
1054 x2 = x2 < vxres ? x2 : vxres; in vga16fb_copyarea()
1056 width = x2 - dx; in vga16fb_copyarea()
A Damifb.c590 #define DIVUL(x1, x2) ((((long)((unsigned long long)x1 >> 8) / x2) << 8) + \ argument
591 ((((long)((unsigned long long)x1 >> 8) % x2) << 8) / x2))
3161 int dst_idx, x2, y2; in amifb_fillrect() local
3174 x2 = x2 < info->var.xres_virtual ? x2 : info->var.xres_virtual; in amifb_fillrect()
3176 width = x2 - rect->dx; in amifb_fillrect()
3239 int x2, y2; in amifb_copyarea() local
3250 x2 = x2 < info->var.xres_virtual ? x2 : info->var.xres_virtual; in amifb_copyarea()
3252 width = x2 - dx; in amifb_copyarea()
3332 int x2, y2; in amifb_imageblit() local
3347 x2 = x2 < info->var.xres_virtual ? x2 : info->var.xres_virtual; in amifb_imageblit()
[all …]
/drivers/staging/media/atomisp/pci/isp/kernels/ctc/ctc1_5/
A Dia_css_ctc1_5.host.c80 to->x2 = from->x2; in ia_css_ctc_encode()
92 from->x2, from->x1); in ia_css_ctc_encode()
97 from->x3, from->x2); in ia_css_ctc_encode()
/drivers/input/touchscreen/
A Dmc13783_ts.c70 int x0, x1, x2, y0, y1, y2; in mc13783_ts_report_sample() local
79 x2 = priv->sample[2] & 0xfff; in mc13783_ts_report_sample()
88 x0, x1, x2, y0, y1, y2, cr0, cr1); in mc13783_ts_report_sample()
90 sort3(x0, x1, x2); in mc13783_ts_report_sample()
96 (x2 - x0 < sample_tolerance && in mc13783_ts_report_sample()
/drivers/clocksource/
A Dtimer-atmel-st.c33 unsigned int x1, x2; in read_CRTR() local
37 regmap_read(regmap_st, AT91_ST_CRTR, &x2); in read_CRTR()
38 if (x1 == x2) in read_CRTR()
40 x1 = x2; in read_CRTR()
/drivers/gpu/drm/sitronix/
A Dst7571-i2c.c289 size = (rect->x2 - rect->x1) * (rect->y2 - rect->y1) / 8; in st7571_prepare_buffer_monochrome()
301 u32 size = (rect->x2 - rect->x1) * (rect->y2 - rect->y1) / 8; in st7571_prepare_buffer_grayscale()
314 size = (rect->x2 - rect->x1) * (rect->y2 - rect->y1) / 8; in st7571_prepare_buffer_grayscale()
319 size = (rect->x2 - rect->x1) * (rect->y2 - rect->y1) / 4; in st7571_prepare_buffer_grayscale()
335 for (int x = rect->x1; x < rect->x2; x++) in st7571_fb_update_rect_monochrome()
341 for (int x = rect->x1; x < rect->x2; x++) in st7571_fb_update_rect_monochrome()
354 int x2; in st7571_fb_update_rect_grayscale() local
366 x2 = rect->x2; in st7571_fb_update_rect_grayscale()
370 x2 = rect->x2 * 2; in st7571_fb_update_rect_grayscale()
375 for (int x = x1; x < x2; x++) in st7571_fb_update_rect_grayscale()
[all …]
A Dst7586.c71 size_t len = (clip->x2 - clip->x1) * (clip->y2 - clip->y1); in st7586_xrgb8888_to_gray332()
86 for (x = clip->x1; x < clip->x2; x += 3) { in st7586_xrgb8888_to_gray332()
122 rect->x2 = roundup(rect->x2, 3); in st7586_fb_dirty()
132 end = rect->x2 / 3; in st7586_fb_dirty()
181 .x2 = fb->width, in st7586_pipe_enable()
/drivers/comedi/drivers/tests/
A Dni_routes_test.c68 #define I2(x1, x2) \ argument
70 (x1), (x2), 0 \
72 #define I3(x1, x2, x3) \ argument
74 (x1), (x2), (x3), 0 \
78 #define O9(x1, x2, x3, x4, x5, x6, x7, x8, x9) \ argument
80 O(x1), O(x2), O(x3), O(x4), O(x5), O(x6), O(x7), O(x8), O(x9), \
117 #define RV9(x1, x2, x3, x4, x5, x6, x7, x8, x9) \ argument
118 [x1] = V(x1), [x2] = V(x2), [x3] = V(x3), [x4] = V(x4), \
/drivers/net/wireless/mediatek/mt76/mt7921/
A DKconfig13 This adds support for MT7921E 802.11ax 2x2:2SS wireless devices.
24 This adds support for MT7921S 802.11ax 2x2:2SS wireless devices.
35 This adds support for MT7921U 802.11ax 2x2:2SS wireless devices.
/drivers/gpu/drm/qxl/
A Dqxl_draw.c162 clips->x2 += dumb_shadow_offset; in qxl_draw_dirty_fb()
165 right = clips->x2; in qxl_draw_dirty_fb()
173 right = max_t(int, right, (int)clips_ptr->x2); in qxl_draw_dirty_fb()
247 rects[i].right = clips_ptr->x2; in qxl_draw_dirty_fb()
/drivers/media/dvb-frontends/
A Dsi21xx.c710 unsigned int x2; in si21xx_set_frontend() local
768 x2 = ((rf_freq - lnb_lo) / (afs[i] * 2500)) * in si21xx_set_frontend()
772 ((band_low < x2) && (x2 < band_high))) in si21xx_set_frontend()
781 x2 = ((rf_freq - lnb_lo) / (afs[i] * 5000)) * in si21xx_set_frontend()
785 ((band_low < x2) && (x2 < band_high))) in si21xx_set_frontend()
/drivers/net/wireless/mediatek/mt76/mt7925/
A DKconfig15 2x2:2SS 4096-QAM, 160MHz channels.
28 2x2:2SS 4096-QAM, 160MHz channels.
/drivers/staging/vc04_services/include/linux/raspberrypi/
A Dvchiq.h7 #define VCHIQ_MAKE_FOURCC(x0, x1, x2, x3) \ argument
8 (((x0) << 24) | ((x1) << 16) | ((x2) << 8) | (x3))

Completed in 61 milliseconds

12345