| /linux/drivers/gpu/drm/ |
| H A D | drm_rect.c | 47 r1->y1 = max(r1->y1, r2->y1); in drm_rect_intersect() 104 diff = clip->y1 - dst->y1; in drm_rect_clip_scaled() 109 src->y1 = src->y2 - new_src_h; in drm_rect_clip_scaled() 110 dst->y1 += diff; in drm_rect_clip_scaled() 125 src->y2 = src->y1 + new_src_h; in drm_rect_clip_scaled() 267 r->y1 = height - tmp.y2; in drm_rect_rotate() 268 r->y2 = height - tmp.y1; in drm_rect_rotate() 277 r->x1 = tmp.y1; in drm_rect_rotate() 279 r->y1 = width - tmp.x2; in drm_rect_rotate() 286 r->y1 = height - tmp.y2; in drm_rect_rotate() [all …]
|
| H A D | drm_plane_helper.c | 112 .src_y = src->y1, in drm_plane_helper_check_update() 116 .crtc_y = dst->y1, in drm_plane_helper_check_update() 182 .y1 = src_y, in drm_plane_helper_update_primary() 188 .y1 = crtc_y, in drm_plane_helper_update_primary()
|
| H A D | drm_fb_helper.c | |
| H A D | drm_fbdev_ttm.c | 72 size_t offset = clip->y1 * fb->pitches[0]; in drm_fbdev_ttm_damage_blit_real() 99 for (y = clip->y1; y < clip->y2; y++) { in drm_fbdev_ttm_damage_blit_real() 148 if (!(clip->x1 < clip->x2 && clip->y1 < clip->y2)) in drm_fbdev_ttm_helper_fb_dirty()
|
| /linux/lib/crypto/x86/ |
| H A D | sha256-avx2-asm.S | 111 y1 = %r14d define 158 rorx $11, e, y1 # y1 = e >> 11 # S1B 166 xor y1, y0 # y0 = (e>>25) ^ (e>>11) # S1 168 vpaddd X0, XTMP0, XTMP0 # XTMP0 = W[-7] + W[-16]# y1 = (e >> 6)# S1 169 rorx $6, e, y1 # y1 = (e >> 6) # S1 172 xor y1, y0 # y0 = (e>>25) ^ (e>>11) ^ (e>>6) # S1 173 rorx $22, a, y1 # y1 [all...] |
| H A D | sha512-avx2-asm.S | 96 y1 = %r14 define 183 rorx $18, e, y1 # y1 = e >> 18 # S1B 189 xor y1, y0 # y0 = (e>>41) ^ (e>>18) # S1 191 rorx $14, e, y1 # y1 = (e >> 14) # S1 194 xor y1, y0 # y0 = (e>>41) ^ (e>>18) ^ (e>>14) # S1 195 rorx $39, a, y1 # y1 = a >> 39 # S0A 199 xor T1, y1 # y [all...] |
| H A D | sha256-avx-asm.S | 114 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 # y [all...] |
| H A D | sha256-ssse3-asm.S | 107 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 # y [all...] |
| /linux/include/drm/ |
| H A D | drm_rect.h | 47 int x1, y1, x2, y2; member 62 .y1 = (y), \ 74 #define DRM_RECT_ARG(r) drm_rect_width(r), drm_rect_height(r), (r)->x1, (r)->y1 91 (r)->y1 >> 16, (((r)->y1 & 0xffff) * 15625) >> 10 105 r->y1 = y; in drm_rect_init() 125 r->y1 -= dh >> 1; in drm_rect_adjust_size() 142 r->y1 += dy; in drm_rect_translate() 158 drm_rect_translate(r, x - r->x1, y - r->y1); in drm_rect_translate_to() 172 r->y1 /= vert; in drm_rect_downscale() 198 return r->y2 - r->y1; in drm_rect_height() [all …]
|
| /linux/arch/sparc/include/asm/ |
| H A D | sfp-machine_32.h | 78 #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
|
| /linux/arch/x86/crypto/ |
| H A D | aria-aesni-avx-asm_64.S | 173 y0, y1, y2, y3, \ argument 185 vmovdqu (9 * 16)(rio), y1; \ 196 y0, y1, y2, y3, \ argument 201 y0, y1, y2, y3, \ 214 vmovdqu y1, 1 * 16(mem_cd); \ 224 y0, y1, y2, y3, \ argument 236 vmovdqu y1, 9 * 16(mem); \ 378 y0, y1, y2, y3, \ argument 382 vpxor y1, x5, x5; \ 388 vpxor y5, y1, y1; \ [all …]
|
| H A D | aria-aesni-avx2-asm_64.S | 189 y0, y1, y2, y3, \ argument 201 vmovdqu (9 * 32)(rio), y1; \ 212 y0, y1, y2, y3, \ argument 217 y0, y1, y2, y3, \ 230 vmovdqu y1, 1 * 32(mem_cd); \ 240 y0, y1, y2, y3, \ argument 252 vmovdqu y1, 9 * 32(mem); \ 420 y0, y1, y2, y3, \ argument 424 vpxor y1, x5, x5; \ 430 vpxor y5, y1, y1; \ [all …]
|
| H A D | aria-gfni-avx512-asm_64.S | 173 y0, y1, y2, y3, \ argument 185 vmovdqu64 (9 * 64)(rio), y1; \ 196 y0, y1, y2, y3, \ argument 201 y0, y1, y2, y3, \ 214 vmovdqu64 y1, 1 * 64(mem_cd); \ 224 y0, y1, y2, y3, \ argument 236 vmovdqu64 y1, 9 * 64(mem); \ 270 y0, y1, y2, y3, \ argument 293 vpxorq t0, y1, y1; \ 331 y0, y1, y2, y3, \ argument [all …]
|
| /linux/drivers/video/fbdev/ |
| H A D | xen-fbfront.c | 45 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 in xenfb_refresh() 189 int y1, y2, miny, maxy; xenfb_deferred_io() local [all...] |
| /linux/drivers/gpu/drm/tests/ |
| H A D | drm_damage_helper_test.c | 59 static void set_plane_src(struct drm_plane_state *state, int x1, int y1, int x2, in set_plane_src() argument 63 state->src_y = y1; in set_plane_src() 65 state->src_h = y2 - y1; in set_plane_src() 68 state->src.y1 = y1; 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 77 r->y1 = y1; in set_damage_clip() 96 int x1, int y1, int x2, int y2) in check_damage_clip() argument 106 int src_y1 = state.src.y1 >> 16; 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() [all …]
|
| /linux/include/linux/ |
| H A D | fixp-arith.h | 154 static inline int fixp_linear_interpolate(int x0, int y0, int x1, int y1, int x) in fixp_linear_interpolate() argument 156 if (y0 == y1 || x == x0) in fixp_linear_interpolate() 159 return y1; in fixp_linear_interpolate() 161 return y0 + ((y1 - y0) * (x - x0) / (x1 - x0)); in fixp_linear_interpolate()
|
| /linux/drivers/input/touchscreen/ |
| H A D | mc13783_ts.c | 68 int x0, x1, x2, y0, y1, y2; in mc13783_ts_report_sample() local 79 y1 = (priv->sample[0] >> 12) & 0xfff; in mc13783_ts_report_sample() 86 x0, x1, x2, y0, y1, y2, cr0, cr1); in mc13783_ts_report_sample() 89 sort3(y0, y1, y2); in mc13783_ts_report_sample() 99 input_report_abs(idev, ABS_Y, y1); in mc13783_ts_report_sample() 102 x1, y1, 0x1000 - cr0); in mc13783_ts_report_sample()
|
| /linux/drivers/gpu/drm/nouveau/dispnv04/ |
| H A D | tvnv17.h | 117 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()
|
| /linux/Documentation/userspace-api/media/dvb/ |
| H A D | legacy_dvb_osd.rst | 97 - | x0,y0,x1,y1, 148 | opacity{y1} 213 - | x0,y0,x1,y1, 217 - | Fills pixels x0,y0 through x1,y1 with the content of data[]. 235 - x0,y0,x1,y1,color 237 - | Fills pixels x0,y0 through x1,y1 with the color <color>. 244 - x0,y0,x1,y1,color 246 - | Draw a line from x0,y0 to x1,y1 with the color <color>. 253 - | x0,y0,x1,y1, 298 - | x0,y0,x1,y1, [all …]
|
| /linux/drivers/media/usb/gspca/ |
| H A D | w996Xcf.c | 359 y1 = v0 + hw_bufsize / 4, in w9968cf_init() local 360 u1 = y1 + hw_bufsize / 2, in w9968cf_init() 376 reg_w(sd, 0x22, y1 & 0xffff); /* Y buf.1, low */ in w9968cf_init() 377 reg_w(sd, 0x23, y1 >> 16); /* Y buf.1, high */ in w9968cf_init() 383 reg_w(sd, 0x32, y1 & 0xffff); /* JPEG buf 0 low */ in w9968cf_init() 384 reg_w(sd, 0x33, y1 >> 16); /* JPEG buf 0 high */ in w9968cf_init() 386 reg_w(sd, 0x34, y1 & 0xffff); /* JPEG buf 1 low */ in w9968cf_init() 387 reg_w(sd, 0x35, y1 >> 16); /* JPEG bug 1 high */ in w9968cf_init()
|
| /linux/drivers/gpu/drm/gud/ |
| H A D | gud_pipe.c | 118 for (y = rect->y1; y < rect->y2; y++) { in gud_xrgb8888_to_color() 206 buf = vaddr + rect->y1 * pitch; in gud_prep_flush() 213 req->y = cpu_to_le32(rect->y1); in gud_prep_flush() 319 gdrm->damage.y1 = INT_MAX; in gud_clear_damage() 348 rect.y1 += i * lines; in gud_flush_damage() 349 rect.y2 = min_t(u32, rect.y1 + lines, damage->y2); in gud_flush_damage() 421 gdrm->damage.y1 = min(gdrm->damage.y1, damage->y1); in gud_fb_queue_damage()
|
| /linux/drivers/iio/magnetometer/ |
| H A D | yamaha-yas530.c | 285 static int yas530_measure(struct yas5xx *yas5xx, u16 *t, u16 *x, u16 *y1, u16 *y2) in yas530_measure() argument 330 *y1 = yas530_extract_axis(&data[4]); in yas530_measure() 344 *y1 = yas532_extract_axis(&data[4]); in yas530_measure() 369 static int yas537_measure(struct yas5xx *yas5xx, u16 *t, u16 *x, u16 *y1, u16 *y2) in yas537_measure() argument 422 *y1 = xy1y2[1]; in yas537_measure() 506 u16 t_ref, t_comp, t, x, y1, y2; in yas530_get_measure() local 512 ret = yas530_measure(yas5xx, &t, &x, &y1, &y2); in yas530_get_measure() 518 sy1 = yas530_linearize(yas5xx, y1, 1); in yas530_get_measure() 588 u16 t, x, y1, y2; in yas537_get_measure() local 592 ret = yas537_measure(yas5xx, &t, &x, &y1, &y2); in yas537_get_measure() [all …]
|
| /linux/include/math-emu/ |
| H A D | op-4.h | 516 #define __FP_FRAC_ADD_3(r2,r1,r0,x2,x1,x0,y2,y1,y0) \ argument 521 r1 = x1 + y1; \ 530 #define __FP_FRAC_ADD_4(r3,r2,r1,r0,x3,x2,x1,x0,y3,y2,y1,y0) \ argument 535 r1 = x1 + y1; \ 548 #define __FP_FRAC_SUB_3(r2,r1,r0,x2,x1,x0,y2,y1,y0) \ argument 553 r1 = x1 - y1; \ 562 #define __FP_FRAC_SUB_4(r3,r2,r1,r0,x3,x2,x1,x0,y3,y2,y1,y0) \ argument 567 r1 = x1 - y1; \ 580 #define __FP_FRAC_DEC_3(x2,x1,x0,y2,y1,y0) \ argument 584 __FP_FRAC_SUB_3 (x2, x1, x0, _t2, _t1, _t0, y2, y1, y0); \ [all …]
|
| /linux/drivers/gpu/drm/i915/display/ |
| H A D | intel_psr.c | 2680 if (crtc_state->psr2_su_area.y1 == -1) in psr2_man_trk_ctl_calc() 2684 val |= ADLP_PSR2_MAN_TRK_CTL_SU_REGION_START_ADDR(crtc_state->psr2_su_area.y1); in psr2_man_trk_ctl_calc() 2688 crtc_state->psr2_su_area.y1 % 4 || in psr2_man_trk_ctl_calc() 2692 crtc_state->psr2_su_area.y1 / 4 + 1); in psr2_pipe_srcsz_early_tpt_calc() 2723 if (overlap_damage_area->y1 == -1) { 2724 overlap_damage_area->y1 = inter.y1; in intel_psr2_sel_fetch_pipe_alignment() 2729 if (inter.y1 < overlap_damage_area->y1) in intel_psr2_sel_fetch_pipe_alignment() 2730 overlap_damage_area->y1 in intel_psr2_sel_fetch_pipe_alignment() [all...] |
| /linux/drivers/gpu/drm/virtio/ |
| H A D | virtgpu_plane.c | 150 uint32_t h = rect->y2 - rect->y1; in virtio_gpu_panic_update_dumb_bo() 152 uint32_t y = rect->y1; in virtio_gpu_panic_update_dumb_bo() 173 uint32_t h = rect->y2 - rect->y1; in virtio_gpu_update_dumb_bo() 175 uint32_t y = rect->y1; in virtio_gpu_update_dumb_bo() 314 rect.y1, in virtio_gpu_prepare_imported_obj() 316 rect.y2 - rect.y1); in virtio_gpu_prepare_imported_obj() 555 rect.y1 = 0; in virtio_panic_flush()
|