Home
last modified time | relevance | path

Searched refs:y1 (Results 1 – 25 of 140) sorted by relevance

123456

/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_rect.c47 r1->y1 = max(r1->y1, r2->y1); in drm_rect_intersect()
105 diff = clip->y1 - dst->y1; in drm_rect_clip_scaled()
110 src->y1 = src->y2 - new_src_h; in drm_rect_clip_scaled()
111 dst->y1 += diff; in drm_rect_clip_scaled()
126 src->y2 = src->y1 + new_src_h; in drm_rect_clip_scaled()
268 r->y1 = height - tmp.y2; in drm_rect_rotate()
269 r->y2 = height - tmp.y1; in drm_rect_rotate()
278 r->x1 = tmp.y1; in drm_rect_rotate()
280 r->y1 = width - tmp.x2; in drm_rect_rotate()
287 r->y1 = height - tmp.y2; in drm_rect_rotate()
[all …]
Ddrm_damage_helper.c81 dest->y1 = src->y1; in convert_clip_rect_to_rect()
290 iter->plane_src.y1 = state->src.y1 >> 16; in drm_atomic_helper_damage_iter_init()
368 rect->y1 = INT_MAX; in drm_atomic_helper_damage_merged()
375 rect->y1 = min(rect->y1, clip.y1); in drm_atomic_helper_damage_merged()
Ddrm_format_helper.c23 return clip->y1 * pitch + clip->x1 * cpp; in clip_offset()
41 unsigned int y, lines = clip->y2 - clip->y1; in drm_fb_memcpy()
69 unsigned int y, lines = clip->y2 - clip->y1; in drm_fb_memcpy_dstclip()
113 for (y = clip->y1; y < clip->y2; y++) { in drm_fb_swab()
176 unsigned y, lines = clip->y2 - clip->y1; in drm_fb_xrgb8888_to_rgb565()
220 unsigned y, lines = clip->y2 - clip->y1; in drm_fb_xrgb8888_to_rgb565_dstclip()
272 unsigned y, lines = clip->y2 - clip->y1; in drm_fb_xrgb8888_to_rgb888_dstclip()
326 for (y = clip->y1; y < clip->y2; y++) { in drm_fb_xrgb8888_to_gray8()
Ddrm_plane_helper.c118 .src_y = src->y1, in drm_plane_helper_check_update()
122 .crtc_y = dst->y1, in drm_plane_helper_check_update()
165 .y1 = src_y, in drm_primary_helper_update()
171 .y1 = crtc_y, in drm_primary_helper_update()
/kernel/linux/linux-5.10/arch/x86/crypto/
Dsha256-avx2-asm.S111 y1 = %r14d define
160 rorx $11, e, y1 # y1 = e >> 11 # S1B
168 xor y1, y0 # y0 = (e>>25) ^ (e>>11) # S1
170 vpaddd X0, XTMP0, XTMP0 # XTMP0 = W[-7] + W[-16]# y1 = (e >> 6)# S1
171 rorx $6, e, y1 # y1 = (e >> 6) # S1
174 xor y1, y0 # y0 = (e>>25) ^ (e>>11) ^ (e>>6) # S1
175 rorx $22, a, y1 # y1 = a >> 22 # S0A
180 xor T1, y1 # y1 = (a>>22) ^ (a>>13) # S0
185 xor T1, y1 # y1 = (a>>22) ^ (a>>13) ^ (a>>2) # S0
192 add y1, h # h = k + w + h + S0 # --
[all …]
Dsha512-avx2-asm.S96 y1 = %r14 define
187 rorx $18, e, y1 # y1 = e >> 18 # S1B
193 xor y1, y0 # y0 = (e>>41) ^ (e>>18) # S1
195 rorx $14, e, y1 # y1 = (e >> 14) # S1
198 xor y1, y0 # y0 = (e>>41) ^ (e>>18) ^ (e>>14) # S1
199 rorx $39, a, y1 # y1 = a >> 39 # S0A
203 xor T1, y1 # y1 = (a>>39) ^ (a>>34) # S0
207 xor T1, y1 # y1 = (a>>39) ^ (a>>34) ^ (a>>28) # S0
213 add y1, h # h = k + w + h + S0 # --
249 rorx $18, e, y1 # y1 = e >> 18 # S1B
[all …]
Dsha256-ssse3-asm.S107 y1 = %r14d define
153 mov a, y1 # y1 = a
155 ror $(22-13), y1 # y1 = a >> (22-13)
160 xor a, y1 # y1 = a ^ (a >> (22-13)
165 ror $(13-2), y1 # y1 = (a >> (13-2)) ^ (a >> (22-2))
168 xor a, y1 # y1 = a ^ (a >> (13-2)) ^ (a >> (22-2))
172 ror $2, y1 # y1 = S0 = (a>>2) ^ (a>>13) ^ (a>>22)
185 add y1, h # h = h + S1 + CH + k + w + S0
193 mov a, y1 # y1 = a
198 ror $(22-13), y1 # y1 = a >> (22-13)
[all …]
Dsha256-avx-asm.S114 y1 = %r14d define
159 mov a, y1 # y1 = a
161 MY_ROR (22-13), y1 # y1 = a >> (22-13)
165 xor a, y1 # y1 = a ^ (a >> (22-13)
170 MY_ROR (13-2), y1 # y1 = (a >> (13-2)) ^ (a >> (22-2))
173 xor a, y1 # y1 = a ^ (a >> (13-2)) ^ (a >> (22-2))
176 MY_ROR 2, y1 # y1 = S0 = (a>>2) ^ (a>>13) ^ (a>>22)
188 add y1, h # h = h + S1 + CH + k + w + S0
194 mov a, y1 # y1 = a
198 MY_ROR (22-13), y1 # y1 = a >> (22-13)
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/selftests/
Dtest-drm_rect.c53 src.y1 != 0 || src.y2 != 1 << 16, in igt_drm_rect_clip_scaled_not_clipped()
56 dst.y1 != 0 || dst.y2 != 1, in igt_drm_rect_clip_scaled_not_clipped()
69 src.y1 != 0 || src.y2 != 2 << 16, in igt_drm_rect_clip_scaled_not_clipped()
72 dst.y1 != 0 || dst.y2 != 1, in igt_drm_rect_clip_scaled_not_clipped()
85 src.y1 != 0 || src.y2 != 1 << 16, in igt_drm_rect_clip_scaled_not_clipped()
88 dst.y1 != 0 || dst.y2 != 2, in igt_drm_rect_clip_scaled_not_clipped()
109 src.y1 != 0 || src.y2 != 1 << 16, in igt_drm_rect_clip_scaled_clipped()
112 dst.y1 != 0 || dst.y2 != 1, in igt_drm_rect_clip_scaled_clipped()
125 src.y1 != 1 << 16 || src.y2 != 2 << 16, in igt_drm_rect_clip_scaled_clipped()
128 dst.y1 != 1 || dst.y2 != 2, in igt_drm_rect_clip_scaled_clipped()
[all …]
Dtest-drm_damage_helper.c12 static void set_plane_src(struct drm_plane_state *state, int x1, int y1, int x2, in set_plane_src() argument
16 state->src.y1 = y1; in set_plane_src()
21 static void set_damage_clip(struct drm_mode_rect *r, int x1, int y1, int x2, in set_damage_clip() argument
25 r->y1 = y1; in set_damage_clip()
44 int x1, int y1, int x2, int y2) in check_damage_clip() argument
51 int src_y1 = state->src.y1 >> 16; in check_damage_clip()
55 if (x1 >= x2 || y1 >= y2) { in check_damage_clip()
60 if (x1 < src_x1 || y1 < src_y1 || x2 > src_x2 || y2 > src_y2) { in check_damage_clip()
65 if (r->x1 != x1 || r->y1 != y1 || r->x2 != x2 || r->y2 != y2) { in check_damage_clip()
66 pr_err("Damage = %d %d %d %d\n", r->x1, r->y1, r->x2, r->y2); in check_damage_clip()
/kernel/linux/linux-5.10/include/drm/
Ddrm_rect.h44 int x1, y1, x2, y2; member
55 #define DRM_RECT_ARG(r) drm_rect_width(r), drm_rect_height(r), (r)->x1, (r)->y1
72 (r)->y1 >> 16, (((r)->y1 & 0xffff) * 15625) >> 10
86 r->y1 = y; in drm_rect_init()
106 r->y1 -= dh >> 1; in drm_rect_adjust_size()
123 r->y1 += dy; in drm_rect_translate()
139 drm_rect_translate(r, x - r->x1, y - r->y1); in drm_rect_translate_to()
153 r->y1 /= vert; in drm_rect_downscale()
179 return r->y2 - r->y1; in drm_rect_height()
206 r1->y1 == r2->y1 && r1->y2 == r2->y2; in drm_rect_equals()
/kernel/linux/linux-5.10/arch/sparc/include/asm/
Dsfp-machine_32.h78 #define __FP_FRAC_ADD_3(r2,r1,r0,x2,x1,x0,y2,y1,y0) \ argument
88 "rI" ((USItype)(y1)), \
93 #define __FP_FRAC_SUB_3(r2,r1,r0,x2,x1,x0,y2,y1,y0) \ argument
103 "rI" ((USItype)(y1)), \
108 #define __FP_FRAC_ADD_4(r3,r2,r1,r0,x3,x2,x1,x0,y3,y2,y1,y0) \ argument
125 "rI" ((USItype)(y1)), \
133 #define __FP_FRAC_SUB_4(r3,r2,r1,r0,x3,x2,x1,x0,y3,y2,y1,y0) \ argument
150 "rI" ((USItype)(y1)), \
158 #define __FP_FRAC_DEC_3(x2,x1,x0,y2,y1,y0) __FP_FRAC_SUB_3(x2,x1,x0,x2,x1,x0,y2,y1,y0) argument
160 #define __FP_FRAC_DEC_4(x3,x2,x1,x0,y3,y2,y1,y0) __FP_FRAC_SUB_4(x3,x2,x1,x0,x3,x2,x1,x0,y3,y2,y1,y… argument
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/isp/kernels/ctc/ctc1_5/
Dia_css_ctc1_5.host.c26 int y1, int y0, int x1, int x0) in ctc_gradient() argument
29 int dy = y1 - y0; in ctc_gradient()
47 assert(y1 >= 0 && y1 <= max_dydx); in ctc_gradient()
80 to->y1 = from->y1; in ia_css_ctc_encode()
95 from->y1, from->y0, in ia_css_ctc_encode()
100 from->y2, from->y1, in ia_css_ctc_encode()
/kernel/linux/linux-5.10/drivers/gpu/drm/tiny/
Dili9225.c82 unsigned int height = rect->y2 - rect->y1; in ili9225_fb_dirty()
87 u16 x1, x2, y1, y2; in ili9225_fb_dirty() local
113 y1 = rect->y1; in ili9225_fb_dirty()
116 y_start = y1; in ili9225_fb_dirty()
119 x1 = rect->y1; in ili9225_fb_dirty()
121 y1 = fb->width - rect->x2; in ili9225_fb_dirty()
129 y1 = fb->height - rect->y2; in ili9225_fb_dirty()
130 y2 = fb->height - rect->y1 - 1; in ili9225_fb_dirty()
136 x2 = fb->height - rect->y1 - 1; in ili9225_fb_dirty()
137 y1 = rect->x1; in ili9225_fb_dirty()
[all …]
Dst7586.c68 size_t len = (clip->x2 - clip->x1) * (clip->y2 - clip->y1); in st7586_xrgb8888_to_gray332()
79 for (y = clip->y1; y < clip->y2; y++) { in st7586_xrgb8888_to_gray332()
142 (rect->y1 >> 8) & 0xFF, rect->y1 & 0xFF, in st7586_fb_dirty()
147 (end - start) * (rect->y2 - rect->y1)); in st7586_fb_dirty()
178 .y1 = 0, in st7586_pipe_enable()
/kernel/linux/linux-5.10/kernel/time/
Dtimeconv.c50 static long leaps_between(long y1, long y2) in leaps_between() argument
52 long leaps1 = math_div(y1 - 1, 4) - math_div(y1 - 1, 100) in leaps_between()
53 + math_div(y1 - 1, 400); in leaps_between()
/kernel/linux/linux-5.10/drivers/video/fbdev/
Dxen-fbfront.c45 int x1, y1, x2, y2; /* dirty rectangle, member
141 int x1, int y1, int w, int h) in xenfb_refresh() argument
145 int y2 = y1 + h - 1; in xenfb_refresh()
155 if (info->y1 < y1) in xenfb_refresh()
156 y1 = info->y1; in xenfb_refresh()
168 info->y1 = y1; in xenfb_refresh()
175 info->x1 = info->y1 = INT_MAX; 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()
190 int y1, y2, miny, maxy; in xenfb_deferred_io() local
[all …]
Dhyperv_fb.c212 s32 x1, y1; /* top left corner */ member
282 int x1, y1, x2, y2; member
379 synthvid_update(struct fb_info *info, int x1, int y1, int x2, int y2) in synthvid_update() argument
396 msg.dirt.rect[0].y1 = (y1 > y2) ? 0 : y1; in synthvid_update()
400 (y2 < y1 || y2 > info->var.yres) ? info->var.yres : y2; in synthvid_update()
428 int y1, y2, miny, maxy; in synthvid_deferred_io() local
442 y1 = start / p->fix.line_length; in synthvid_deferred_io()
444 miny = min_t(int, miny, y1); in synthvid_deferred_io()
733 int x1, x2, y1, y2; in hvfb_update_work() local
743 y1 = par->y1; in hvfb_update_work()
[all …]
Dhgafb.c485 u_int rows, y1, y2; in hgafb_copyarea() local
490 y1 = area->sy; in hgafb_copyarea()
494 src = rowaddr(info, y1) + (area->sx >> 3); in hgafb_copyarea()
497 y1++; in hgafb_copyarea()
501 y1 = area->sy + area->height - 1; in hgafb_copyarea()
505 src = rowaddr(info, y1) + (area->sx >> 3); in hgafb_copyarea()
508 y1--; in hgafb_copyarea()
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/
Dvmwgfx_fb.c62 unsigned y1; member
219 dst_y1 = par->dirty.y1 - par->fb_y; in vmw_fb_dirty_flush()
233 par->dirty.y1 = par->dirty.y2 = 0; in vmw_fb_dirty_flush()
251 clip.y1 = dst_y1; in vmw_fb_dirty_flush()
268 unsigned x1, unsigned y1, in vmw_fb_dirty_mark() argument
273 unsigned y2 = y1 + height; in vmw_fb_dirty_mark()
278 par->dirty.y1 = y1; in vmw_fb_dirty_mark()
289 if (y1 < par->dirty.y1) in vmw_fb_dirty_mark()
290 par->dirty.y1 = y1; in vmw_fb_dirty_mark()
328 int y1, y2; in vmw_deferred_io() local
[all …]
/kernel/linux/linux-5.10/drivers/input/touchscreen/
Dmc13783_ts.c70 int x0, x1, x2, y0, y1, y2; in mc13783_ts_report_sample() local
81 y1 = (priv->sample[0] >> 12) & 0xfff; in mc13783_ts_report_sample()
88 x0, x1, x2, y0, y1, y2, cr0, cr1); in mc13783_ts_report_sample()
91 sort3(y0, y1, y2); in mc13783_ts_report_sample()
101 input_report_abs(idev, ABS_Y, y1); in mc13783_ts_report_sample()
104 x1, y1, 0x1000 - cr0); in mc13783_ts_report_sample()
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/dispnv04/
Dtvnv17.h117 static inline int interpolate(int y0, int y1, int y2, int x) in interpolate() argument
119 return y1 + (x < 50 ? y1 - y0 : y2 - y1) * (x - 50) / 50; in interpolate()
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/isp/kernels/ctc/ctc2/
Dia_css_ctc2.host.c40 static int ctc2_slope(int y1, int y0, int x1, int x0) in ctc2_slope() argument
44 int dy = y1 - y0; in ctc2_slope()
52 assert(y1 >= 0 && y1 <= max_slope); in ctc2_slope()
/kernel/linux/linux-5.10/drivers/media/usb/gspca/
Dw996Xcf.c360 y1 = v0 + hw_bufsize / 4, in w9968cf_init() local
361 u1 = y1 + hw_bufsize / 2, in w9968cf_init()
377 reg_w(sd, 0x22, y1 & 0xffff); /* Y buf.1, low */ in w9968cf_init()
378 reg_w(sd, 0x23, y1 >> 16); /* Y buf.1, high */ in w9968cf_init()
384 reg_w(sd, 0x32, y1 & 0xffff); /* JPEG buf 0 low */ in w9968cf_init()
385 reg_w(sd, 0x33, y1 >> 16); /* JPEG buf 0 high */ in w9968cf_init()
387 reg_w(sd, 0x34, y1 & 0xffff); /* JPEG buf 1 low */ in w9968cf_init()
388 reg_w(sd, 0x35, y1 >> 16); /* JPEG bug 1 high */ in w9968cf_init()
/kernel/linux/linux-5.10/crypto/
Decc.c1068 static void ecc_point_double_jacobian(u64 *x1, u64 *y1, u64 *z1, in ecc_point_double_jacobian() argument
1081 vli_mod_square_fast(t4, y1, curve); in ecc_point_double_jacobian()
1087 vli_mod_mult_fast(y1, y1, z1, curve); in ecc_point_double_jacobian()
1128 vli_set(z1, y1, ndigits); in ecc_point_double_jacobian()
1129 vli_set(y1, t4, ndigits); in ecc_point_double_jacobian()
1133 static void apply_z(u64 *x1, u64 *y1, u64 *z, const struct ecc_curve *curve) in apply_z() argument
1140 vli_mod_mult_fast(y1, y1, t1, curve); /* y1 * z^3 */ in apply_z()
1144 static void xycz_initial_double(u64 *x1, u64 *y1, u64 *x2, u64 *y2, in xycz_initial_double() argument
1151 vli_set(y2, y1, ndigits); in xycz_initial_double()
1159 apply_z(x1, y1, z, curve); in xycz_initial_double()
[all …]

123456