Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/gpu/drm/
Ddrm_rect.c45 r1->y1 = max(r1->y1, r2->y1); in drm_rect_intersect()
79 diff = clip->y1 - dst->y1; in drm_rect_clip_scaled()
81 int64_t tmp = src->y1 + (int64_t) diff * vscale; in drm_rect_clip_scaled()
82 src->y1 = clamp_t(int64_t, tmp, INT_MIN, INT_MAX); in drm_rect_clip_scaled()
291 r->y1 >> 16, ((r->y1 & 0xffff) * 15625) >> 10); in drm_rect_debug_print()
293 DRM_DEBUG_KMS("%dx%d%+d%+d\n", w, h, r->x1, r->y1); in drm_rect_debug_print()
328 r->y1 = height - tmp.y2; in drm_rect_rotate()
329 r->y2 = height - tmp.y1; in drm_rect_rotate()
338 r->x1 = tmp.y1; in drm_rect_rotate()
340 r->y1 = width - tmp.x2; in drm_rect_rotate()
[all …]
Ddrm_plane_helper.c239 .y1 = src_y, in drm_primary_helper_update()
245 .y1 = crtc_y, in drm_primary_helper_update()
/linux-4.1.27/arch/x86/crypto/
Dsha256-avx2-asm.S114 y1 = %r14d define
163 rorx $11, e, y1 # y1 = e >> 11 # S1B
171 xor y1, y0 # y0 = (e>>25) ^ (e>>11) # S1
173 vpaddd X0, XTMP0, XTMP0 # XTMP0 = W[-7] + W[-16]# y1 = (e >> 6)# S1
174 rorx $6, e, y1 # y1 = (e >> 6) # S1
177 xor y1, y0 # y0 = (e>>25) ^ (e>>11) ^ (e>>6) # S1
178 rorx $22, a, y1 # y1 = a >> 22 # S0A
183 xor T1, y1 # y1 = (a>>22) ^ (a>>13) # S0
188 xor T1, y1 # y1 = (a>>22) ^ (a>>13) ^ (a>>2) # S0
195 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-avx-asm.S115 y1 = %r14d define
160 mov a, y1 # y1 = a
162 MY_ROR (22-13), y1 # y1 = a >> (22-13)
166 xor a, y1 # y1 = a ^ (a >> (22-13)
171 MY_ROR (13-2), y1 # y1 = (a >> (13-2)) ^ (a >> (22-2))
174 xor a, y1 # y1 = a ^ (a >> (13-2)) ^ (a >> (22-2))
177 MY_ROR 2, y1 # y1 = S0 = (a>>2) ^ (a>>13) ^ (a>>22)
189 add y1, h # h = h + S1 + CH + k + w + S0
195 mov a, y1 # y1 = a
199 MY_ROR (22-13), y1 # y1 = a >> (22-13)
[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 …]
Dcamellia-aesni-avx-asm_64.S211 #define two_roundsm16(x0, x1, x2, x3, x4, x5, x6, x7, y0, y1, y2, y3, y4, y5, \ argument
243 #define enc_rounds16(x0, x1, x2, x3, x4, x5, x6, x7, y0, y1, y2, y3, y4, y5, \ argument
245 two_roundsm16(x0, x1, x2, x3, x4, x5, x6, x7, y0, y1, y2, y3, y4, y5, \
247 two_roundsm16(x0, x1, x2, x3, x4, x5, x6, x7, y0, y1, y2, y3, y4, y5, \
249 two_roundsm16(x0, x1, x2, x3, x4, x5, x6, x7, y0, y1, y2, y3, y4, y5, \
252 #define dec_rounds16(x0, x1, x2, x3, x4, x5, x6, x7, y0, y1, y2, y3, y4, y5, \ argument
254 two_roundsm16(x0, x1, x2, x3, x4, x5, x6, x7, y0, y1, y2, y3, y4, y5, \
256 two_roundsm16(x0, x1, x2, x3, x4, x5, x6, x7, y0, y1, y2, y3, y4, y5, \
258 two_roundsm16(x0, x1, x2, x3, x4, x5, x6, x7, y0, y1, y2, y3, y4, y5, \
481 #define inpack16_pre(x0, x1, x2, x3, x4, x5, x6, x7, y0, y1, y2, y3, y4, y5, \ argument
[all …]
Dcamellia-aesni-avx2-asm_64.S250 #define two_roundsm32(x0, x1, x2, x3, x4, x5, x6, x7, y0, y1, y2, y3, y4, y5, \ argument
282 #define enc_rounds32(x0, x1, x2, x3, x4, x5, x6, x7, y0, y1, y2, y3, y4, y5, \ argument
284 two_roundsm32(x0, x1, x2, x3, x4, x5, x6, x7, y0, y1, y2, y3, y4, y5, \
286 two_roundsm32(x0, x1, x2, x3, x4, x5, x6, x7, y0, y1, y2, y3, y4, y5, \
288 two_roundsm32(x0, x1, x2, x3, x4, x5, x6, x7, y0, y1, y2, y3, y4, y5, \
291 #define dec_rounds32(x0, x1, x2, x3, x4, x5, x6, x7, y0, y1, y2, y3, y4, y5, \ argument
293 two_roundsm32(x0, x1, x2, x3, x4, x5, x6, x7, y0, y1, y2, y3, y4, y5, \
295 two_roundsm32(x0, x1, x2, x3, x4, x5, x6, x7, y0, y1, y2, y3, y4, y5, \
297 two_roundsm32(x0, x1, x2, x3, x4, x5, x6, x7, y0, y1, y2, y3, y4, y5, \
520 #define inpack32_pre(x0, x1, x2, x3, x4, x5, x6, x7, y0, y1, y2, y3, y4, y5, \ argument
[all …]
Dtwofish-avx-x86_64-asm_64.S132 #define round_head_2(a, b, x1, y1, x2, y2) \ argument
142 G(RGI3, RGI4, y1, s1, s2, s3, s0); \
145 vmovq RGS2, y1; \
146 vpinsrq $1, RGS3, y1, y1; \
/linux-4.1.27/drivers/video/fbdev/
Dauo_k1901fb.c125 u16 y1, u16 y2) in auok1901_update_region() argument
138 y1 &= 0xfffe; in auok1901_update_region()
142 1, y1+1, xres, y2-y1, mode); in auok1901_update_region()
146 args[1] = y1 + 1; in auok1901_update_region()
148 args[3] = y2 - y1; in auok1901_update_region()
149 buf += y1 * line_length; in auok1901_update_region()
151 args, ((y2 - y1) * line_length)/2, in auok1901_update_region()
158 args[2] = y1 + 1; in auok1901_update_region()
160 args[4] = y2 - y1; in auok1901_update_region()
172 u16 y1, u16 y2) in auok1901fb_dpy_update_pages() argument
[all …]
Dauo_k1900fb.c86 u16 y1, u16 y2) in auok1900_update_region() argument
99 y1 &= 0xfffe; in auok1900_update_region()
103 1, y1+1, xres, y2-y1, mode); in auok1900_update_region()
107 args[1] = y1 + 1; in auok1900_update_region()
109 args[3] = y2 - y1; in auok1900_update_region()
110 buf += y1 * line_length; in auok1900_update_region()
112 ((y2 - y1) * line_length)/2, (u16 *) buf); in auok1900_update_region()
124 u16 y1, u16 y2) in auok1900fb_dpy_update_pages() argument
139 auok1900_update_region(par, mode, y1, y2); in auok1900fb_dpy_update_pages()
Dxen-fbfront.c43 int x1, y1, x2, y2; /* dirty rectangle, member
139 int x1, int y1, int w, int h) in xenfb_refresh() argument
143 int y2 = y1 + h - 1; in xenfb_refresh()
153 if (info->y1 < y1) in xenfb_refresh()
154 y1 = info->y1; in xenfb_refresh()
166 info->y1 = y1; in xenfb_refresh()
173 info->x1 = info->y1 = INT_MAX; in xenfb_refresh()
178 if (x1 <= x2 && y1 <= y2) in xenfb_refresh()
179 xenfb_do_update(info, x1, y1, x2 - x1 + 1, y2 - y1 + 1); in xenfb_refresh()
188 int y1, y2, miny, maxy; in xenfb_deferred_io() local
[all …]
Dhgafb.c478 u_int rows, y1, y2; in hgafb_copyarea() local
483 y1 = area->sy; in hgafb_copyarea()
487 src = rowaddr(info, y1) + (area->sx >> 3); in hgafb_copyarea()
490 y1++; in hgafb_copyarea()
494 y1 = area->sy + area->height - 1; in hgafb_copyarea()
498 src = rowaddr(info, y1) + (area->sx >> 3); in hgafb_copyarea()
501 y1--; in hgafb_copyarea()
Dtridentfb.c233 u32 x1, u32 y1, u32 x2, u32 y2, u32 w, u32 h) in blade_copy_rect() argument
236 u32 s1 = point(x1, y1); in blade_copy_rect()
237 u32 s2 = point(x1 + w - 1, y1 + h - 1); in blade_copy_rect()
241 if ((y1 > y2) || ((y1 == y2) && (x1 > x2))) in blade_copy_rect()
321 u32 x1, u32 y1, u32 x2, u32 y2, u32 w, u32 h) in xp_copy_rect() argument
326 if ((x1 < x2) && (y1 == y2)) { in xp_copy_rect()
335 if (y1 < y2) { in xp_copy_rect()
337 y1_tmp = y1 + h - 1; in xp_copy_rect()
340 y1_tmp = y1; in xp_copy_rect()
395 u32 x1, u32 y1, u32 x2, u32 y2, u32 w, u32 h) in image_copy_rect() argument
[all …]
Dbroadsheetfb.c863 u16 y1, u16 y2) in broadsheetfb_dpy_update_pages() argument
870 y1 &= 0xFFFC; in broadsheetfb_dpy_update_pages()
876 args[2] = y1; in broadsheetfb_dpy_update_pages()
884 buf += y1 * par->info->var.xres; in broadsheetfb_dpy_update_pages()
885 broadsheet_burst_write(par, ((1 + y2 - y1) * par->info->var.xres)/2, in broadsheetfb_dpy_update_pages()
933 u16 y1 = 0, h = 0; in broadsheetfb_dpy_deferred_io() local
948 y1 = (cur->index << PAGE_SHIFT) / xres; in broadsheetfb_dpy_deferred_io()
955 broadsheetfb_dpy_update_pages(info->par, y1, y1 + h); in broadsheetfb_dpy_deferred_io()
957 y1 = (cur->index << PAGE_SHIFT) / xres; in broadsheetfb_dpy_deferred_io()
968 broadsheetfb_dpy_update_pages(info->par, y1, in broadsheetfb_dpy_deferred_io()
[all …]
Dauo_k190x.c294 u16 y1 = 0, h = 0; in auok190xfb_dpy_deferred_io() local
333 y1 = (cur->index << PAGE_SHIFT) / line_length; in auok190xfb_dpy_deferred_io()
340 par->update_partial(par, y1, y1 + h); in auok190xfb_dpy_deferred_io()
343 y1 = (cur->index << PAGE_SHIFT) / line_length; in auok190xfb_dpy_deferred_io()
354 par->update_partial(par, y1, min((u16) (y1 + h), yres)); in auok190xfb_dpy_deferred_io()
Dauo_k190x.h103 void (*update_partial)(struct auok190xfb_par *par, u16 y1, u16 y2);
Dhpfb.c125 static void topcat_blit(int x0, int y0, int x1, int y1, int w, int h, int rr) in topcat_blit() argument
139 out_be16(fb_regs + DEST_Y, y1); in topcat_blit()
Dpxa168fb.h114 #define CFG_CKEY_Y1(y1) ((y1) << 16) argument
Dcg6.c200 u32 x1, y1, z1, color1; member
375 sbus_writel(area->sy + area->height - 1, &fbc->y1); in cg6_copyarea()
Dhyperv_fb.c175 s32 x1, y1; /* top left corner */ member
337 msg.dirt.rect[0].y1 = 0; in synthvid_update()
/linux-4.1.27/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
/linux-4.1.27/include/drm/
Ddrm_rect.h42 int x1, y1, x2, y2; member
60 r->y1 -= dh >> 1; in drm_rect_adjust_size()
77 r->y1 += dy; in drm_rect_translate()
93 r->y1 /= vert; in drm_rect_downscale()
119 return r->y2 - r->y1; in drm_rect_height()
146 r1->y1 == r2->y1 && r1->y2 == r2->y2; in drm_rect_equals()
/linux-4.1.27/net/bluetooth/
Decc.c549 static void ecc_point_double_jacobian(u64 *x1, u64 *y1, u64 *z1) in ecc_point_double_jacobian() argument
558 vli_mod_square_fast(t4, y1); /* t4 = y1^2 */ in ecc_point_double_jacobian()
561 vli_mod_mult_fast(y1, y1, z1); /* t2 = y1*z1 = z3 */ in ecc_point_double_jacobian()
588 vli_set(z1, y1); in ecc_point_double_jacobian()
589 vli_set(y1, t4); in ecc_point_double_jacobian()
593 static void apply_z(u64 *x1, u64 *y1, u64 *z) in apply_z() argument
600 vli_mod_mult_fast(y1, y1, t1); /* y1 * z^3 */ in apply_z()
604 static void xycz_initial_double(u64 *x1, u64 *y1, u64 *x2, u64 *y2, in xycz_initial_double() argument
610 vli_set(y2, y1); in xycz_initial_double()
618 apply_z(x1, y1, z); in xycz_initial_double()
[all …]
/linux-4.1.27/arch/s390/include/asm/
Dsfp-machine.h75 #define __FP_FRAC_ADD_3(r2,r1,r0,x2,x1,x0,y2,y1,y0) ({ \ argument
95 : "d" (y1) : "cc"); \
101 #define __FP_FRAC_SUB_3(r2,r1,r0,x2,x1,x0,y2,y1,y0) ({ \ argument
121 : "d" (y1) : "cc"); \
127 #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
/linux-4.1.27/kernel/time/
Dtimeconv.c49 static long leaps_between(long y1, long y2) in leaps_between() argument
51 long leaps1 = math_div(y1 - 1, 4) - math_div(y1 - 1, 100) in leaps_between()
52 + math_div(y1 - 1, 400); in leaps_between()
/linux-4.1.27/drivers/gpu/drm/vmwgfx/
Dvmwgfx_fb.c62 unsigned y1; member
232 y = par->dirty.y1; in vmw_fb_dirty_flush()
236 par->dirty.y1 = par->dirty.y2 = 0; in vmw_fb_dirty_flush()
263 unsigned x1, unsigned y1, in vmw_fb_dirty_mark() argument
269 unsigned y2 = y1 + height; in vmw_fb_dirty_mark()
274 par->dirty.y1 = y1; in vmw_fb_dirty_mark()
284 if (y1 < par->dirty.y1) in vmw_fb_dirty_mark()
285 par->dirty.y1 = y1; in vmw_fb_dirty_mark()
301 int y1, y2; in vmw_deferred_io() local
313 y1 = min / info->fix.line_length; in vmw_deferred_io()
[all …]
Dvmwgfx_kms.c36 int x1, x2, y1, y2; member
53 int y1 = max_t(int, clip.y1, rects[i].y1); in vmw_clip_cliprects() local
59 if (y1 >= y2) in vmw_clip_cliprects()
63 out_rects[k].top = y1; in vmw_clip_cliprects()
498 top = clips->y1; in do_surface_dirty_sou()
506 top = min_t(int, top, (int)clips_ptr->y1); in do_surface_dirty_sou()
523 tmp[i].y1 = clips_ptr->y1 - top; in do_surface_dirty_sou()
534 clip.y1 = top - unit->crtc.y; in do_surface_dirty_sou()
540 clip.y1 >= unit->crtc.mode.vdisplay || in do_surface_dirty_sou()
550 cmd->body.destRect.top = clip.y1; in do_surface_dirty_sou()
[all …]
/linux-4.1.27/drivers/input/touchscreen/
Dmc13783_ts.c74 int x0, x1, x2, y0, y1, y2; in mc13783_ts_report_sample() local
85 y1 = (priv->sample[0] >> 12) & 0xfff; in mc13783_ts_report_sample()
92 x0, x1, x2, y0, y1, y2, cr0, cr1); in mc13783_ts_report_sample()
95 sort3(y0, y1, y2); in mc13783_ts_report_sample()
105 input_report_abs(idev, ABS_Y, y1); in mc13783_ts_report_sample()
108 x1, y1, 0x1000 - cr0); in mc13783_ts_report_sample()
/linux-4.1.27/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()
/linux-4.1.27/drivers/gpu/drm/qxl/
Dqxl_fb.c71 unsigned y1; member
108 u32 x1, x2, y1, y2; in qxl_fb_dirty_flush() local
115 y1 = qfbdev->dirty.y1; in qxl_fb_dirty_flush()
120 qxl_io_log(qdev, "dirty x[%d, %d], y[%d, %d]", x1, x2, y1, y2); in qxl_fb_dirty_flush()
122 image->dy = y1; in qxl_fb_dirty_flush()
124 image->height = y2 - y1; in qxl_fb_dirty_flush()
135 image->data = qfbdev->shadow + (x1 * 4) + (stride * y1); in qxl_fb_dirty_flush()
141 qfbdev->dirty.y1 = 0; in qxl_fb_dirty_flush()
151 int y1, y2; in qxl_deferred_io() local
163 y1 = min / info->fix.line_length; in qxl_deferred_io()
[all …]
Dqxl_draw.c301 top = clips->y1; in qxl_draw_dirty_fb()
309 top = min_t(int, top, (int)clips_ptr->y1); in qxl_draw_dirty_fb()
381 rects[i].top = clips_ptr->y1; in qxl_draw_dirty_fb()
Dqxl_display.c232 .y1 = 0, in qxl_crtc_page_flip()
495 norect.x1 = norect.y1 = 0; in qxl_framebuffer_surface_dirty()
/linux-4.1.27/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()
/linux-4.1.27/drivers/gpu/drm/omapdrm/
Dtcm-sita.h87 void assign(struct tcm_area *a, u16 x0, u16 y0, u16 x1, u16 y1) in assign() argument
92 a->p1.y = y1; in assign()
Domap_dmm_tiler.h34 u32 y1:8; member
Domap_dmm_tiler.c212 int rows = (1 + area->y1 - area->y0); in dmm_txn_append()
224 pat->area.y1 += engine->tcm->y_offset; in dmm_txn_append()
318 .x1 = slice.p1.x, .y1 = slice.p1.y, in fill()
/linux-4.1.27/drivers/gpu/drm/i915/
Dintel_atomic_plane.c135 intel_state->src.y1 = state->src_y; in intel_plane_atomic_check()
139 intel_state->dst.y1 = state->crtc_y; in intel_plane_atomic_check()
145 intel_state->clip.y1 = 0; in intel_plane_atomic_check()
Dintel_sprite.c918 crtc_y = dst->y1; in intel_check_sprite_plane()
952 src->y1 < (int) state->base.src_y || in intel_check_sprite_plane()
964 src_y = src->y1 >> 16; in intel_check_sprite_plane()
1011 src->y1 = src_y; in intel_check_sprite_plane()
1017 dst->y1 = crtc_y; in intel_check_sprite_plane()
1081 crtc_y = state->dst.y1; in intel_commit_sprite_plane()
1085 src_y = state->src.y1; in intel_commit_sprite_plane()
Di915_gem_execbuffer.c1103 if (box->y2 <= box->y1 || box->x2 <= box->x1 || in i915_emit_box()
1106 box->x1, box->y1, box->x2, box->y2); in i915_emit_box()
1116 intel_ring_emit(ring, (box->x1 & 0xffff) | box->y1 << 16); in i915_emit_box()
1126 intel_ring_emit(ring, (box->x1 & 0xffff) | box->y1 << 16); in i915_emit_box()
Dintel_display.c12541 crtc->y = src->y1 >> 16; in intel_commit_primary_plane()
/linux-4.1.27/drivers/gpu/drm/i2c/
Dch7006_priv.h158 static inline int interpolate(int y0, int y1, int y2, int x) in interpolate() argument
160 return y1 + (x < 50 ? y1 - y0 : y2 - y1) * (x - 50) / 50; in interpolate()
/linux-4.1.27/drivers/gpu/drm/mga/
Dmga_state.c63 MGA_YTOP, box->y1 * pitch, MGA_YBOT, (box->y2 - 1) * pitch); in mga_emit_clip_rect()
503 u32 height = box->y2 - box->y1; in mga_dma_dispatch_clear()
506 box->x1, box->y1, box->x2, box->y2); in mga_dma_dispatch_clear()
513 MGA_YDSTLEN, (box->y1 << 16) | height, in mga_dma_dispatch_clear()
529 MGA_YDSTLEN, (box->y1 << 16) | height, in mga_dma_dispatch_clear()
545 MGA_YDSTLEN, (box->y1 << 16) | height, in mga_dma_dispatch_clear()
601 u32 height = box->y2 - box->y1; in mga_dma_dispatch_swap()
602 u32 start = box->y1 * dev_priv->front_pitch; in mga_dma_dispatch_swap()
605 box->x1, box->y1, box->x2, box->y2); in mga_dma_dispatch_swap()
610 MGA_YDSTLEN + MGA_EXEC, (box->y1 << 16) | height); in mga_dma_dispatch_swap()
[all …]
/linux-4.1.27/drivers/iio/pressure/
Dmpl115.c52 int a1, y1, pcomp; in mpl115_comp_pressure() local
72 y1 = (data->a0 << 10) + a1 * padc; in mpl115_comp_pressure()
75 pcomp = (y1 + ((data->b2 * (int) tadc) >> 1)) >> 9; in mpl115_comp_pressure()
/linux-4.1.27/include/math-emu/
Dop-4.h516 #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-4.1.27/Documentation/input/
Dalps.txt108 byte 4: 0 y6 y5 y4 y3 y2 y1 y0
118 byte 4: 0 y6 y5 y4 y3 y2 y1 y0
137 byte 7: 0 y6 y5 y4 y3 y2 y1 y0
158 byte 4: 0 mt x3 x2 y3 y2 y1 y0
172 byte 2: 0 y7 y6 y5 y4 y3 y2 y1
185 byte 2: 0 y6 y5 y4 y3 y2 y1 y0
198 byte 3: 0 1 x3 x2 y3 y2 y1 y0
209 byte 1: 0 x1 x0 y4 y3 y2 y1 y0
245 byte 2: 0 y6 y5 y4 y3 y2 y1 y0
253 byte 1: 1 y7 y6 y5 y4 y3 y2 y1
[all …]
Delantech.txt348 y7 y6 y5 y4 y3 y2 y1 y0
473 y7 y6 y5 y4 y3 y2 y1 y0
604 y7 y6 y5 y4 y3 y2 y1 y0
725 y7 y6 y5 y4 y3 y2 y1 y0
752 y7 y6 y5 y4 y3 y2 y1 y0
773 y7 y6 y5 y4 y3 y2 y1 y0
809 y7 y6 y5 y4 y3 y2 y1 y0
/linux-4.1.27/drivers/gpu/drm/mgag200/
Dmgag200_fb.c57 if (mfbdev->y1 < y) in mga_dirty_update()
58 y = mfbdev->y1; in mga_dirty_update()
69 mfbdev->y1 = y; in mga_dirty_update()
75 mfbdev->x1 = mfbdev->y1 = INT_MAX; in mga_dirty_update()
Dmgag200_drv.h120 int x1, y1, x2, y2; /* dirty rect */ member
/linux-4.1.27/drivers/input/mouse/
Delantech.c314 unsigned int x1, unsigned int y1, in elantech_report_semi_mt_data() argument
317 elantech_set_slot(dev, 0, num_fingers != 0, x1, y1); in elantech_report_semi_mt_data()
330 unsigned int fingers, x1 = 0, y1 = 0, x2 = 0, y2 = 0; in elantech_report_absolute_v2() local
355 y1 = etd->y_max - (((packet[4] & 0x0f) << 8) | packet[5]); in elantech_report_absolute_v2()
370 y1 = etd->y_max - in elantech_report_absolute_v2()
390 input_report_abs(dev, ABS_Y, y1); in elantech_report_absolute_v2()
392 elantech_report_semi_mt_data(dev, fingers, x1, y1, x2, y2); in elantech_report_absolute_v2()
471 unsigned int fingers = 0, x1 = 0, y1 = 0, x2 = 0, y2 = 0; in elantech_report_absolute_v3() local
489 y1 = etd->y_max - (((packet[4] & 0x0f) << 8) | packet[5]); in elantech_report_absolute_v3()
513 y1 = etd->mt[0].y; in elantech_report_absolute_v3()
[all …]
/linux-4.1.27/drivers/net/wireless/ath/carl9170/
Dphy.c1068 static s32 carl9170_interpolate_s32(s32 x, s32 x1, s32 y1, s32 x2, s32 y2) in carl9170_interpolate_s32() argument
1071 if (y2 == y1) in carl9170_interpolate_s32()
1072 return y1; in carl9170_interpolate_s32()
1076 return y1; in carl9170_interpolate_s32()
1082 return y1; in carl9170_interpolate_s32()
1084 return y1 + (((y2 - y1) * (x - x1)) / (x2 - x1)); in carl9170_interpolate_s32()
1087 static u8 carl9170_interpolate_u8(u8 x, u8 x1, u8 y1, u8 x2, u8 y2) in carl9170_interpolate_u8() argument
1093 y1 << SHIFT, x2 << SHIFT, y2 << SHIFT); in carl9170_interpolate_u8()
/linux-4.1.27/drivers/gpu/drm/cirrus/
Dcirrus_fbdev.c54 if (afbdev->y1 < y) in cirrus_dirty_update()
55 y = afbdev->y1; in cirrus_dirty_update()
66 afbdev->y1 = y; in cirrus_dirty_update()
72 afbdev->x1 = afbdev->y1 = INT_MAX; in cirrus_dirty_update()
Dcirrus_drv.h159 int x1, y1, x2, y2; /* dirty rect */ member
/linux-4.1.27/drivers/gpu/drm/ast/
Dast_fb.c81 if (afbdev->y1 < y) in ast_dirty_update()
82 y = afbdev->y1; in ast_dirty_update()
93 afbdev->y1 = y; in ast_dirty_update()
99 afbdev->x1 = afbdev->y1 = INT_MAX; in ast_dirty_update()
Dast_drv.h263 int x1, y1, x2, y2; /* dirty rect */ member
/linux-4.1.27/drivers/media/pci/ttpci/
Dav7110_hw.c1008 int x1, int y1, int inc, u8 __user * data) in OSDSetBlock() argument
1015 h = y1 - y0 + 1; in OSDSetBlock()
1076 dc->x1 - dc->x0 + 1, dc->y1 - dc->y0 + 1); in av7110_osd_cmd()
1099 ret = OSDSetColor(av7110, dc->color, dc->x0, dc->y0, dc->x1, dc->y1); in av7110_osd_cmd()
1128 dc->y1 = dc->y0; in av7110_osd_cmd()
1131 ret = OSDSetBlock(av7110, dc->x0, dc->y0, dc->x1, dc->y1, dc->color, dc->data); in av7110_osd_cmd()
1135 dc->x1-dc->x0+1, dc->y1, dc->color); in av7110_osd_cmd()
1139 dc->x1 - dc->x0 + 1, dc->y1 - dc->y0 + 1, dc->color); in av7110_osd_cmd()
1143 dc->x0, dc->y0, dc->x1 - dc->x0, dc->y1 - dc->y0, dc->color); in av7110_osd_cmd()
1187 dc->x1 - dc->x0 + 1, dc->y1 - dc->y0 + 1); in av7110_osd_cmd()
/linux-4.1.27/drivers/gpu/drm/udl/
Dudl_fb.c194 if (fb->y1 < y) in udl_handle_damage()
195 y = fb->y1; in udl_handle_damage()
206 fb->y1 = y; in udl_handle_damage()
212 fb->x1 = fb->y1 = INT_MAX; in udl_handle_damage()
420 ret = udl_handle_damage(ufb, clips[i].x1, clips[i].y1, in udl_user_framebuffer_dirty()
422 clips[i].y2 - clips[i].y1); in udl_user_framebuffer_dirty()
Dudl_drv.h84 int x1, y1, x2, y2; /* dirty rect */ member
/linux-4.1.27/arch/sh/include/uapi/asm/
Dptrace_32.h69 unsigned long y1; member
/linux-4.1.27/include/uapi/linux/dvb/
Dosd.h105 int y1; member
/linux-4.1.27/drivers/gpu/drm/savage/
Dsavage_state.c36 (((uint32_t) pbox->y1 << 16) & 0x07ff0000); in savage_emit_clip_rect_s3d()
62 (((uint32_t) pbox->y1 << 12) & 0x00fff000); in savage_emit_clip_rect_s4()
824 x = boxes[i].x1, y = boxes[i].y1; in savage_dispatch_clear()
826 h = boxes[i].y2 - boxes[i].y1; in savage_dispatch_clear()
882 DMA_WRITE(BCI_X_Y(boxes[i].x1, boxes[i].y1)); in savage_dispatch_swap()
883 DMA_WRITE(BCI_X_Y(boxes[i].x1, boxes[i].y1)); in savage_dispatch_swap()
885 boxes[i].y2 - boxes[i].y1)); in savage_dispatch_swap()
/linux-4.1.27/include/video/
Dauo_k190xfb.h54 void (*update_partial)(struct auok190xfb_par *par, u16 y1, u16 y2);
/linux-4.1.27/drivers/video/fbdev/nvidia/
Dnv_accel.c187 static void NVSetClippingRectangle(struct fb_info *info, int x1, int y1, in NVSetClippingRectangle() argument
191 int h = y2 - y1 + 1; in NVSetClippingRectangle()
195 NVDmaNext(par, (y1 << 16) | x1); in NVSetClippingRectangle()
/linux-4.1.27/drivers/media/usb/uvc/
Duvc_video.c610 u32 y1, y2; in uvc_video_clock_update() local
633 y1 = (first->dev_sof + 2048) << 16; in uvc_video_clock_update()
635 if (y2 < y1) in uvc_video_clock_update()
638 y = (u64)(y2 - y1) * (1ULL << 31) + (u64)y1 * (u64)x2 in uvc_video_clock_update()
649 x1, x2, y1, y2, clock->sof_offset); in uvc_video_clock_update()
660 y1 = NSEC_PER_SEC; in uvc_video_clock_update()
674 y = (u64)(y2 - y1) * (u64)sof + (u64)y1 * (u64)x2 in uvc_video_clock_update()
694 x2, last->host_sof, last->dev_sof, y1, y2); in uvc_video_clock_update()
/linux-4.1.27/drivers/gpu/drm/radeon/
Dr300_cmdbuf.c90 box.y1 = (box.y1) & in r300_emit_cliprects()
99 box.y1 = (box.y1 + R300_CLIPRECT_OFFSET) & in r300_emit_cliprects()
108 (box.y1 << R300_CLIPRECT_Y_SHIFT)); in r300_emit_cliprects()
Dr600_blit.c294 set_scissors(drm_radeon_private_t *dev_priv, int x1, int y1, int x2, int y2) in set_scissors() argument
302 OUT_RING((x1 << 0) | (y1 << 16)); in set_scissors()
307 OUT_RING((x1 << 0) | (y1 << 16) | (1 << 31)); in set_scissors()
312 OUT_RING((x1 << 0) | (y1 << 16) | (1 << 31)); in set_scissors()
Dradeon_state.c455 box->x1, box->y1, box->x2, box->y2); in radeon_emit_clip_rect()
459 OUT_RING((box->y1 << 16) | box->x1); in radeon_emit_clip_rect()
775 y += master_priv->sarea_priv->boxes[0].y1; in radeon_clear_box()
929 int y = pbox[i].y1; in radeon_cp_dispatch_clear()
1059 ((pbox[i].y1 >> 3) * depthpixperline + in radeon_cp_dispatch_clear()
1065 (pbox[i].y2 >> 3) - (pbox[i].y1 >> 3); in radeon_cp_dispatch_clear()
1083 ((pbox[i].y1 >> 3) * depthpixperline + in radeon_cp_dispatch_clear()
1088 (pbox[i].y2 >> 3) - (pbox[i].y1 >> 3); in radeon_cp_dispatch_clear()
1110 ((pbox[i].y1 >> 4) * depthpixperline + in radeon_cp_dispatch_clear()
1116 (pbox[i].y2 >> 4) - (pbox[i].y1 >> 4); in radeon_cp_dispatch_clear()
[all …]
Dr600_cp.c2453 int y = pbox[i].y1; in r600_cp_dispatch_swap()
/linux-4.1.27/Documentation/ABI/testing/
Dsysfs-driver-hid-wiimote67 values for all 4 analog sticks. Format is: "x1:y1 x2:y2". Data
76 You can also write data directly in the form "x1:y1 x2:y2" to
/linux-4.1.27/drivers/gpu/drm/i810/
Di810_dma.c617 unsigned int y = pbox->y1; in i810_dma_dispatch_clear()
623 pbox->y1 > pbox->y2 || in i810_dma_dispatch_clear()
682 unsigned int h = pbox->y2 - pbox->y1; in i810_dma_dispatch_swap()
683 unsigned int dst = pbox->x1 * cpp + pbox->y1 * pitch; in i810_dma_dispatch_swap()
687 pbox->y1 > pbox->y2 || in i810_dma_dispatch_swap()
753 OUT_RING(box[i].x1 | (box[i].y1 << 16)); in i810_dma_dispatch_vertex()
/linux-4.1.27/arch/arm/crypto/
Dbsaes-armv7.pl173 my ($x0,$x1,$y0,$y1,$t0,$t1)=@_;
175 veor $t0, $y0, $y1
179 vand $x0, $x0, $y1
187 my ($x0,$x1,$y0,$y1,$t0)=@_;
189 veor $t0, $y0, $y1
193 vand $x0, $x0, $y1
201 my ($x0,$x1,$y0,$y1,$t0,
204 veor $t0, $y0, $y1
212 vand $x0, $x0, $y1
/linux-4.1.27/drivers/gpu/drm/r128/
Dr128_state.c52 OUT_RING(boxes[0].y1); in r128_emit_clip_rects()
61 OUT_RING(boxes[1].y1); in r128_emit_clip_rects()
70 OUT_RING(boxes[2].y1); in r128_emit_clip_rects()
375 int y = pbox[i].y1; in r128_cce_dispatch_clear()
380 pbox[i].x1, pbox[i].y1, pbox[i].x2, in r128_cce_dispatch_clear()
475 int y = pbox[i].y1; in r128_cce_dispatch_swap()
/linux-4.1.27/net/sched/
Dsch_hfsc.c558 u64 y1, y2, dx, dy; in rtsc_min() local
563 y1 = rtsc_x2y(rtsc, x); in rtsc_min()
564 if (y1 < y) in rtsc_min()
578 y1 = rtsc_x2y(rtsc, x); in rtsc_min()
579 if (y1 <= y) { in rtsc_min()
600 dx = (y1 - y) << SM_SHIFT; in rtsc_min()
/linux-4.1.27/sound/pci/au88x0/
Dau88x0_a3d.c89 a3dsrc_SetAtmosState(a3dsrc_t * a, short x1, short x2, short y1, short y2) in a3dsrc_SetAtmosState() argument
94 hwwrite(vortex->mmio, a3d_addrA(a->slice, a->source, A3D_A_y1), y1); in a3dsrc_SetAtmosState()
127 a3dsrc_GetAtmosState(a3dsrc_t * a, short *x1, short *x2, short *y1, short *y2)
/linux-4.1.27/drivers/gpu/drm/rockchip/
Drockchip_drm_vop.c594 .y1 = crtc_y, in vop_update_plane_event()
601 .y1 = src_y, in vop_update_plane_event()
636 actual_h = (src.y2 - src.y1) >> 16; in vop_update_plane_event()
644 offset += (src.y1 >> 16) * fb->pitches[0]; in vop_update_plane_event()
/linux-4.1.27/drivers/video/fbdev/omap2/displays-new/
Dpanel-dsi-cm.c204 u16 y1 = y; in dsicm_set_update_window() local
219 buf[1] = (y1 >> 8) & 0xff; in dsicm_set_update_window()
220 buf[2] = (y1 >> 0) & 0xff; in dsicm_set_update_window()
/linux-4.1.27/drivers/net/wireless/iwlegacy/
D4965.c661 il4965_interpolate_value(s32 x, s32 x1, s32 y1, s32 x2, s32 y2) in il4965_interpolate_value() argument
666 return y1; in il4965_interpolate_value()
668 il4965_math_div_round((x2 - x) * (y1 - y2), (x2 - x1), &val); in il4965_interpolate_value()
/linux-4.1.27/include/uapi/drm/
Ddrm.h87 unsigned short y1; member
/linux-4.1.27/drivers/video/fbdev/mmp/hw/
Dmmp_ctrl.h302 #define CFG_CKEY_Y1(y1) ((y1)<<16) argument
/linux-4.1.27/drivers/hid/
Dhid-wiimote-modules.c1823 s16 x1, y1, x2, y2; in wiimod_pro_calib_store() local
1830 r = sscanf(buf, "%hd:%hd %hd:%hd", &x1, &y1, &x2, &y2); in wiimod_pro_calib_store()
1839 wdata->state.calib_pro_sticks[1] = y1; in wiimod_pro_calib_store()
Dwacom_wac.c1014 static int int_dist(int x1, int y1, int x2, int y2) in int_dist() argument
1017 int y = y2 - y1; in int_dist()
/linux-4.1.27/
DMakefile901 libs-y1 := $(patsubst %/, %/lib.a, $(libs-y))
903 libs-y := $(libs-y1) $(libs-y2)
/linux-4.1.27/drivers/power/
Dab8500_fg.c57 #define interpolate(x, x1, y1, x2, y2) \ argument
58 ((y1) + ((((y2) - (y1)) * ((x) - (x1))) / ((x2) - (x1))));