/linux-4.1.27/arch/x86/crypto/ |
H A D | sha256-avx-asm.S | 116 y2 = %r15d define 164 mov f, y2 # y2 = f 167 xor g, y2 # y2 = f^g 170 and e, y2 # y2 = (f^g)&e 176 xor g, y2 # y2 = CH = ((f^g)&e)^g 178 add y0, y2 # y2 = S1 + CH 179 add _XFER(%rsp), y2 # y2 = k + w + S1 + CH 181 add y2, h # h = h + S1 + CH + k + w 182 mov a, y2 # y2 = a 186 and c, y2 # y2 = a&c 191 or y2, y0 # y0 = MAJ = (a|c)&b)|(a&c) 198 mov f, y2 # y2 = f 203 xor g, y2 # y2 = f^g 207 and e, y2 # y2 = (f^g)&e 211 xor g, y2 # y2 = CH = ((f^g)&e)^g 213 add y0, y2 # y2 = S1 + CH 214 add (1*4 + _XFER)(%rsp), y2 # y2 = k + w + S1 + CH 218 add y2, h # h = h + S1 + CH + k + w 219 mov a, y2 # y2 = a 223 and c, y2 # y2 = a&c 229 or y2, y0 # y0 = MAJ = (a|c)&b)|(a&c) 237 mov f, y2 # y2 = f 241 xor g, y2 # y2 = f^g 244 and e, y2 # y2 = (f^g)&e 248 xor g, y2 # y2 = CH = ((f^g)&e)^g 251 add y0, y2 # y2 = S1 + CH 253 add (2*4 + _XFER)(%rsp), y2 # y2 = k + w + S1 + CH 256 add y2, h # h = h + S1 + CH + k + w 257 mov a, y2 # y2 = a 261 and c, y2 # y2 = a&c 267 or y2, y0 # y0 = MAJ = (a|c)&b)|(a&c) 275 mov f, y2 # y2 = f 279 xor g, y2 # y2 = f^g 282 and e, y2 # y2 = (f^g)&e 287 xor g, y2 # y2 = CH = ((f^g)&e)^g 290 add y0, y2 # y2 = S1 + CH 291 add (3*4 + _XFER)(%rsp), y2 # y2 = k + w + S1 + CH 294 add y2, h # h = h + S1 + CH + k + w 295 mov a, y2 # y2 = a 299 and c, y2 # y2 = a&c 303 or y2, y0 # y0 = MAJ = (a|c)&b)|(a&c) 316 mov f, y2 # y2 = f 319 xor g, y2 # y2 = f^g 322 and e, y2 # y2 = (f^g)&e 325 xor g, y2 # y2 = CH = ((f^g)&e)^g 326 add y0, y2 # y2 = S1 + CH 329 add offset(%rsp), y2 # y2 = k + w + S1 + CH 331 add y2, h # h = h + S1 + CH + k + w 332 mov a, y2 # y2 = a 335 and c, y2 # y2 = a&c 338 or y2, y0 # y0 = MAJ = (a|c)&b)|(a&c)
|
H A D | sha256-ssse3-asm.S | 108 y2 = %r15d define 157 mov f, y2 # y2 = f 161 xor g, y2 # y2 = f^g 164 and e, y2 # y2 = (f^g)&e 170 xor g, y2 # y2 = CH = ((f^g)&e)^g 173 add y0, y2 # y2 = S1 + CH 174 add _XFER(%rsp) , y2 # y2 = k + w + S1 + CH 177 add y2, h # h = h + S1 + CH + k + w 178 mov a, y2 # y2 = a 182 and c, y2 # y2 = a&c 187 or y2, y0 # y0 = MAJ = (a|c)&b)|(a&c) 197 mov f, y2 # y2 = f 202 xor g, y2 # y2 = f^g 206 and e, y2 # y2 = (f^g)&e 210 xor g, y2 # y2 = CH = ((f^g)&e)^g 212 add y0, y2 # y2 = S1 + CH 213 add (1*4 + _XFER)(%rsp), y2 # y2 = k + w + S1 + CH 217 add y2, h # h = h + S1 + CH + k + w 218 mov a, y2 # y2 = a 222 and c, y2 # y2 = a&c 228 or y2, y0 # y0 = MAJ = (a|c)&b)|(a&c) 239 mov f, y2 # y2 = f 243 xor g, y2 # y2 = f^g 246 and e, y2 # y2 = (f^g)&e 250 xor g, y2 # y2 = CH = ((f^g)&e)^g 253 add y0, y2 # y2 = S1 + CH 255 add (2*4 + _XFER)(%rsp), y2 # y2 = k + w + S1 + CH 258 add y2, h # h = h + S1 + CH + k + w 259 mov a, y2 # y2 = a 263 and c, y2 # y2 = a&c 269 or y2, y0 # y0 = MAJ = (a|c)&b)|(a&c) 280 mov f, y2 # y2 = f 284 xor g, y2 # y2 = f^g 287 and e, y2 # y2 = (f^g)&e 292 xor g, y2 # y2 = CH = ((f^g)&e)^g 295 add y0, y2 # y2 = S1 + CH 296 add (3*4 + _XFER)(%rsp), y2 # y2 = k + w + S1 + CH 299 add y2, h # h = h + S1 + CH + k + w 300 mov a, y2 # y2 = a 304 and c, y2 # y2 = a&c 308 or y2, y0 # y0 = MAJ = (a|c)&b)|(a&c) 322 mov f, y2 # y2 = f 325 xor g, y2 # y2 = f^g 328 and e, y2 # y2 = (f^g)&e 331 xor g, y2 # y2 = CH = ((f^g)&e)^g 332 add y0, y2 # y2 = S1 + CH 335 add offset(%rsp), y2 # y2 = k + w + S1 + CH 337 add y2, h # h = h + S1 + CH + k + w 338 mov a, y2 # y2 = a 341 and c, y2 # y2 = a&c 344 or y2, y0 # y0 = MAJ = (a|c)&b)|(a&c)
|
H A D | sha256-avx2-asm.S | 115 y2 = %r15d define 168 mov f, y2 # y2 = f # CH 172 xor g, y2 # y2 = f^g # CH 176 and e, y2 # y2 = (f^g)&e # CH 186 xor g, y2 # y2 = CH = ((f^g)&e)^g # CH 192 add y0, y2 # y2 = S1 + CH # -- 197 add y2, d # d = k + w + h + d + S1 + CH = d + t1 # -- 201 add y2, h # h = k + w + h + S0 + S1 + CH = t1 + S0# -- 218 mov f, y2 # y2 = f # CH 221 xor g, y2 # y2 = f^g # CH 227 and e, y2 # y2 = (f^g)&e # CH 236 xor g, y2 # y2 = CH = ((f^g)&e)^g # CH 242 add y0, y2 # y2 = S1 + CH # -- 250 add y2, d # d = k + w + h + d + S1 + CH = d + t1 # -- 251 add y2, h # h = k + w + h + S0 + S1 + CH = t1 + S0# -- 269 mov f, y2 # y2 = f # CH 270 xor g, y2 # y2 = f^g # CH 275 and e, y2 # y2 = (f^g)&e # CH 285 xor g, y2 # y2 = CH = ((f^g)&e)^g # CH 295 add y0, y2 # y2 = S1 + CH # -- 300 add y2,d # d = k + w + h + d + S1 + CH = d + t1 # -- 301 add y2,h # h = k + w + h + S0 + S1 + CH = t1 + S0# -- 319 mov f, y2 # y2 = f # CH 322 xor g, y2 # y2 = f^g # CH 327 and e, y2 # y2 = (f^g)&e # CH 333 xor g, y2 # y2 = CH = ((f^g)&e)^g # CH 337 add y0, y2 # y2 = S1 + CH # -- 341 add y2, d # d = k + w + h + d + S1 + CH = d + t1 # -- 353 add y2, h # h = k + w + h + S0 + S1 + CH = t1 + S0# -- 363 mov f, y2 # y2 = f # CH 366 xor g, y2 # y2 = f^g # CH 370 and e, y2 # y2 = (f^g)&e # CH 374 xor g, y2 # y2 = CH = ((f^g)&e)^g # CH 387 add y0, y2 # y2 = S1 + CH # -- 393 add y2, d # d = k + w + h + d + S1 + CH = d + t1 # -- 399 add y2, old_h # h = k + w + h + S0 + S1 + CH = t1 + S0# -- 400 mov f, y2 # y2 = f # CH 403 xor g, y2 # y2 = f^g # CH 407 and e, y2 # y2 = (f^g)&e # CH 412 xor g, y2 # y2 = CH = ((f^g)&e)^g # CH 426 add y0, y2 # y2 = S1 + CH # -- 433 add y2, d # d = k + w + h + d + S1 + CH = d + t1 # -- 439 add y2, old_h # h = k + w + h + S0 + S1 + CH = t1 + S0# -- 440 mov f, y2 # y2 = f # CH 443 xor g, y2 # y2 = f^g # CH 447 and e, y2 # y2 = (f^g)&e # CH 452 xor g, y2 # y2 = CH = ((f^g)&e)^g # CH 466 add y0, y2 # y2 = S1 + CH # -- 473 add y2, d # d = k + w + h + d + S1 + CH = d + t1 # -- 479 add y2, old_h # h = k + w + h + S0 + S1 + CH = t1 + S0# -- 480 mov f, y2 # y2 = f # CH 483 xor g, y2 # y2 = f^g # CH 487 and e, y2 # y2 = (f^g)&e # CH 492 xor g, y2 # y2 = CH = ((f^g)&e)^g # CH 506 add y0, y2 # y2 = S1 + CH # -- 513 add y2, d # d = k + w + h + d + S1 + CH = d + t1 # -- 516 add y2, h # h = k + w + h + S0 + S1 + CH = t1 + S0# --
|
H A D | sha512-avx2-asm.S | 97 y2 = %r15 define 190 mov f, y2 # y2 = f # CH 194 xor g, y2 # y2 = f^g # CH 197 and e, y2 # y2 = (f^g)&e # CH 206 xor g, y2 # y2 = CH = ((f^g)&e)^g # CH 211 add y0, y2 # y2 = S1 + CH # -- 215 add y2, d # d = k + w + h + d + S1 + CH = d + t1 # -- 217 add y2, h # h = k + w + h + S0 + S1 + CH = t1 + S0# -- 254 mov f, y2 # y2 = f # CH 257 xor g, y2 # y2 = f^g # CH 263 and e, y2 # y2 = (f^g)&e # CH 270 xor g, y2 # y2 = CH = ((f^g)&e)^g # CH 275 add y0, y2 # y2 = S1 + CH # -- 280 add y2, d # d = k + w + h + d + S1 + CH = d + t1 # -- 281 add y2, h # h = k + w + h + S0 + S1 + CH = t1 + S0# -- 311 mov f, y2 # y2 = f # CH 312 xor g, y2 # y2 = f^g # CH 316 and e, y2 # y2 = (f^g)&e # CH 324 xor g, y2 # y2 = CH = ((f^g)&e)^g # CH 332 add y0, y2 # y2 = S1 + CH # -- 336 add y2, d # d = k + w + h + d + S1 + CH = d + t1 # -- 337 add y2, h # h = k + w + h + S0 + S1 + CH = t1 + S0# -- 369 mov f, y2 # y2 = f # CH 372 xor g, y2 # y2 = f^g # CH 376 and e, y2 # y2 = (f^g)&e # CH 381 xor g, y2 # y2 = CH = ((f^g)&e)^g # CH 384 add y0, y2 # y2 = S1 + CH # -- 387 add y2, d # d = k + w + h + d + S1 + CH = d + t1 # -- 397 add y2, h # h = k + w + h + S0 + S1 + CH = t1 + S0# -- 409 mov f, y2 # y2 = f # CH 412 xor g, y2 # y2 = f^g # CH 416 and e, y2 # y2 = (f^g)&e # CH 420 xor g, y2 # y2 = CH = ((f^g)&e)^g # CH 433 add y0, y2 # y2 = S1 + CH # -- 439 add y2, d # d = k + w + h + d + S1 + CH = d + t1 # -- 445 add y2, old_h # h = k + w + h + S0 + S1 + CH = t1 + S0# -- 446 mov f, y2 # y2 = f # CH 449 xor g, y2 # y2 = f^g # CH 453 and e, y2 # y2 = (f^g)&e # CH 458 xor g, y2 # y2 = CH = ((f^g)&e)^g # CH 471 add y0, y2 # y2 = S1 + CH # -- 477 add y2, d # d = k + w + h + d + S1 + CH = d + t1 # -- 483 add y2, old_h # h = k + w + h + S0 + S1 + CH = t1 + S0# -- 484 mov f, y2 # y2 = f # CH 487 xor g, y2 # y2 = f^g # CH 491 and e, y2 # y2 = (f^g)&e # CH 496 xor g, y2 # y2 = CH = ((f^g)&e)^g # CH 509 add y0, y2 # y2 = S1 + CH # -- 515 add y2, d # d = k + w + h + d + S1 + CH = d + t1 # -- 521 add y2, old_h # h = k + w + h + S0 + S1 + CH = t1 + S0# -- 522 mov f, y2 # y2 = f # CH 525 xor g, y2 # y2 = f^g # CH 529 and e, y2 # y2 = (f^g)&e # CH 534 xor g, y2 # y2 = CH = ((f^g)&e)^g # CH 547 add y0, y2 # y2 = S1 + CH # -- 554 add y2, d # d = k + w + h + d + S1 + CH = d + t1 # -- 556 add y2, h # h = k + w + h + S0 + S1 + CH = t1 + S0# --
|
H A D | camellia-aesni-avx-asm_64.S | 211 #define two_roundsm16(x0, x1, x2, x3, x4, x5, x6, x7, y0, y1, y2, y3, y4, y5, \ 243 #define enc_rounds16(x0, x1, x2, x3, x4, x5, x6, x7, y0, y1, y2, y3, y4, y5, \ 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, \ 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, \ 491 vpxor 5 * 16(rio), x0, y2; \ 504 #define inpack16_post(x0, x1, x2, x3, x4, x5, x6, x7, y0, y1, y2, y3, y4, y5, \ 506 byteslice_16x16b(x0, x1, x2, x3, x4, x5, x6, x7, y0, y1, y2, y3, y4, \ 519 vmovdqu y2, 2 * 16(mem_cd); \ 527 #define outunpack16(x0, x1, x2, x3, x4, x5, x6, x7, y0, y1, y2, y3, y4, \ 529 byteslice_16x16b(y0, y4, x0, x4, y1, y5, x1, x5, y2, y6, x2, x6, y3, \ 542 vpxor x0, y2, y2; \ 554 #define write_output(x0, x1, x2, x3, x4, x5, x6, x7, y0, y1, y2, y3, y4, y5, \ 566 vmovdqu y2, 10 * 16(rio); \
|
H A D | camellia-aesni-avx2-asm_64.S | 250 #define two_roundsm32(x0, x1, x2, x3, x4, x5, x6, x7, y0, y1, y2, y3, y4, y5, \ 282 #define enc_rounds32(x0, x1, x2, x3, x4, x5, x6, x7, y0, y1, y2, y3, y4, y5, \ 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, \ 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, \ 530 vpxor 5 * 32(rio), x0, y2; \ 543 #define inpack32_post(x0, x1, x2, x3, x4, x5, x6, x7, y0, y1, y2, y3, y4, y5, \ 545 byteslice_16x16b_fast(x0, x1, x2, x3, x4, x5, x6, x7, y0, y1, y2, y3, \ 558 vmovdqu y2, 2 * 32(mem_cd); \ 566 #define outunpack32(x0, x1, x2, x3, x4, x5, x6, x7, y0, y1, y2, y3, y4, \ 568 byteslice_16x16b_fast(y0, y4, x0, x4, y1, y5, x1, x5, y2, y6, x2, x6, \ 581 vpxor x0, y2, y2; \ 593 #define write_output(x0, x1, x2, x3, x4, x5, x6, x7, y0, y1, y2, y3, y4, y5, \ 605 vmovdqu y2, 10 * 32(rio); \
|
H A D | twofish-avx-x86_64-asm_64.S | 132 #define round_head_2(a, b, x1, y1, x2, y2) \ 152 G(RGI3, RGI4, y2, s1, s2, s3, s0); \ 153 vmovq RGS2, y2; \ 154 vpinsrq $1, RGS3, y2, y2;
|
/linux-4.1.27/drivers/gpu/drm/ |
H A D | drm_rect.c | 47 r1->y2 = min(r1->y2, r2->y2); drm_rect_intersect() 89 diff = dst->y2 - clip->y2; drm_rect_clip_scaled() 91 int64_t tmp = src->y2 - (int64_t) diff * vscale; drm_rect_clip_scaled() 92 src->y2 = clamp_t(int64_t, tmp, INT_MIN, INT_MAX); drm_rect_clip_scaled() 328 r->y1 = height - tmp.y2; drm_rect_rotate() 329 r->y2 = height - tmp.y1; drm_rect_rotate() 339 r->x2 = tmp.y2; drm_rect_rotate() 341 r->y2 = width - tmp.x1; drm_rect_rotate() 347 r->y1 = height - tmp.y2; drm_rect_rotate() 348 r->y2 = height - tmp.y1; drm_rect_rotate() 352 r->x1 = height - tmp.y2; drm_rect_rotate() 355 r->y2 = tmp.x2; drm_rect_rotate() 398 r->x1 = width - tmp.y2; drm_rect_rotate_inv() 401 r->y2 = tmp.x2; drm_rect_rotate_inv() 407 r->y1 = height - tmp.y2; drm_rect_rotate_inv() 408 r->y2 = height - tmp.y1; drm_rect_rotate_inv() 413 r->x2 = tmp.y2; drm_rect_rotate_inv() 415 r->y2 = height - tmp.x1; drm_rect_rotate_inv() 430 r->y1 = height - tmp.y2; drm_rect_rotate_inv() 431 r->y2 = height - tmp.y1; drm_rect_rotate_inv()
|
H A D | drm_plane_helper.c | 241 .y2 = src_y + src_h, drm_primary_helper_update() 247 .y2 = crtc_y + crtc_h, drm_primary_helper_update() 251 .y2 = crtc->mode.vdisplay, drm_primary_helper_update()
|
/linux-4.1.27/arch/s390/include/asm/ |
H A D | sfp-machine.h | 75 #define __FP_FRAC_ADD_3(r2,r1,r0,x2,x1,x0,y2,y1,y0) ({ \ 76 unsigned int __r2 = (x2) + (y2); \ 101 #define __FP_FRAC_SUB_3(r2,r1,r0,x2,x1,x0,y2,y1,y0) ({ \ 102 unsigned int __r2 = (x2) - (y2); \ 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)
|
/linux-4.1.27/kernel/time/ |
H A D | timeconv.c | 48 /* How many leap years between y1 and y2, y1 must less or equal to y2 */ leaps_between() 49 static long leaps_between(long y1, long y2) leaps_between() argument 53 long leaps2 = math_div(y2 - 1, 4) - math_div(y2 - 1, 100) leaps_between() 54 + math_div(y2 - 1, 400); leaps_between()
|
/linux-4.1.27/drivers/video/fbdev/ |
H A D | auo_k1900fb.c | 86 u16 y1, u16 y2) auok1900_update_region() 98 /* y1 and y2 must be a multiple of 2 so drop the lowest bit */ auok1900_update_region() 100 y2 &= 0xfffe; auok1900_update_region() 103 1, y1+1, xres, y2-y1, mode); auok1900_update_region() 109 args[3] = y2 - y1; auok1900_update_region() 112 ((y2 - y1) * line_length)/2, (u16 *) buf); auok1900_update_region() 124 u16 y1, u16 y2) auok1900fb_dpy_update_pages() 139 auok1900_update_region(par, mode, y1, y2); auok1900fb_dpy_update_pages() 85 auok1900_update_region(struct auok190xfb_par *par, int mode, u16 y1, u16 y2) auok1900_update_region() argument 123 auok1900fb_dpy_update_pages(struct auok190xfb_par *par, u16 y1, u16 y2) auok1900fb_dpy_update_pages() argument
|
H A D | auo_k1901fb.c | 125 u16 y1, u16 y2) auok1901_update_region() 137 /* y1 and y2 must be a multiple of 2 so drop the lowest bit */ auok1901_update_region() 139 y2 &= 0xfffe; auok1901_update_region() 142 1, y1+1, xres, y2-y1, mode); auok1901_update_region() 148 args[3] = y2 - y1; auok1901_update_region() 151 args, ((y2 - y1) * line_length)/2, auok1901_update_region() 160 args[4] = y2 - y1; auok1901_update_region() 172 u16 y1, u16 y2) auok1901fb_dpy_update_pages() 187 auok1901_update_region(par, mode, y1, y2); auok1901fb_dpy_update_pages() 124 auok1901_update_region(struct auok190xfb_par *par, int mode, u16 y1, u16 y2) auok1901_update_region() argument 171 auok1901fb_dpy_update_pages(struct auok190xfb_par *par, u16 y1, u16 y2) auok1901fb_dpy_update_pages() argument
|
H A D | xen-fbfront.c | 43 int x1, y1, x2, y2; /* dirty rectangle, member in struct:xenfb_info 143 int y2 = y1 + h - 1; xenfb_refresh() local 155 if (info->y2 > y2) xenfb_refresh() 156 y2 = info->y2; xenfb_refresh() 167 info->y2 = y2; xenfb_refresh() 174 info->x2 = info->y2 = 0; xenfb_refresh() 178 if (x1 <= x2 && y1 <= y2) xenfb_refresh() 179 xenfb_do_update(info, x1, y1, x2 - x1 + 1, y2 - y1 + 1); xenfb_refresh() 188 int y1, y2, miny, maxy; xenfb_deferred_io() local 196 y2 = end / fb_info->fix.line_length; list_for_each_entry() 197 if (y2 >= fb_info->var.yres) list_for_each_entry() 198 y2 = fb_info->var.yres - 1; list_for_each_entry() 201 if (maxy < y2) list_for_each_entry() 202 maxy = y2; list_for_each_entry()
|
H A D | hgafb.c | 478 u_int rows, y1, y2; hgafb_copyarea() local 484 y2 = area->dy; hgafb_copyarea() 488 dest = rowaddr(info, y2) + (area->dx >> 3); hgafb_copyarea() 491 y2++; hgafb_copyarea() 495 y2 = area->dy + area->height - 1; hgafb_copyarea() 499 dest = rowaddr(info, y2) + (area->dx >> 3); hgafb_copyarea() 502 y2--; hgafb_copyarea()
|
H A D | tridentfb.c | 233 u32 x1, u32 y1, u32 x2, u32 y2, u32 w, u32 h) blade_copy_rect() 238 u32 d1 = point(x2, y2); blade_copy_rect() 239 u32 d2 = point(x2 + w - 1, y2 + h - 1); blade_copy_rect() 241 if ((y1 > y2) || ((y1 == y2) && (x1 > x2))) blade_copy_rect() 321 u32 x1, u32 y1, u32 x2, u32 y2, u32 w, u32 h) xp_copy_rect() 326 if ((x1 < x2) && (y1 == y2)) { xp_copy_rect() 335 if (y1 < y2) { xp_copy_rect() 338 y2_tmp = y2 + h - 1; xp_copy_rect() 341 y2_tmp = y2; xp_copy_rect() 395 u32 x1, u32 y1, u32 x2, u32 y2, u32 w, u32 h) image_copy_rect() 400 u32 d1 = point(x2, y2); image_copy_rect() 401 u32 d2 = point(x2 + w - 1, y2 + h - 1); image_copy_rect() 403 if ((y1 > y2) || ((y1 == y2) && (x1 > x2))) image_copy_rect() 460 u32 x1, u32 y1, u32 x2, u32 y2, u32 w, u32 h) tgui_copy_rect() 465 if ((x1 < x2) && (y1 == y2)) { tgui_copy_rect() 474 if (y1 < y2) { tgui_copy_rect() 477 y2_tmp = y2 + h - 1; tgui_copy_rect() 480 y2_tmp = y2; tgui_copy_rect() 232 blade_copy_rect(struct tridentfb_par *par, u32 x1, u32 y1, u32 x2, u32 y2, u32 w, u32 h) blade_copy_rect() argument 320 xp_copy_rect(struct tridentfb_par *par, u32 x1, u32 y1, u32 x2, u32 y2, u32 w, u32 h) xp_copy_rect() argument 394 image_copy_rect(struct tridentfb_par *par, u32 x1, u32 y1, u32 x2, u32 y2, u32 w, u32 h) image_copy_rect() argument 459 tgui_copy_rect(struct tridentfb_par *par, u32 x1, u32 y1, u32 x2, u32 y2, u32 w, u32 h) tgui_copy_rect() argument
|
H A D | vga16fb.c | 883 int x, x2, y2, vxres, vyres, width, height, line_ofs; vga16fb_fillrect() local 896 y2 = rect->dy + rect->height; vga16fb_fillrect() 898 y2 = y2 < vyres ? y2 : vyres; vga16fb_fillrect() 905 height = y2 - rect->dy; vga16fb_fillrect() 1014 int x, x2, y2, old_dx, old_dy, vxres, vyres; vga16fb_copyarea() local 1035 y2 = area->dy + area->height; vga16fb_copyarea() 1039 y2 = y2 < vyres ? y2 : vyres; vga16fb_copyarea() 1041 height = y2 - dy; vga16fb_copyarea()
|
H A D | auo_k190x.h | 103 void (*update_partial)(struct auok190xfb_par *par, u16 y1, u16 y2);
|
H A D | amifb.c | 3170 int dst_idx, x2, y2; amifb_fillrect() local 3182 y2 = rect->dy + rect->height; amifb_fillrect() 3184 y2 = y2 < info->var.yres_virtual ? y2 : info->var.yres_virtual; amifb_fillrect() 3186 height = y2 - rect->dy; amifb_fillrect() 3248 int x2, y2; amifb_copyarea() local 3256 y2 = area->dy + area->height; amifb_copyarea() 3260 y2 = y2 < info->var.yres_virtual ? y2 : info->var.yres_virtual; amifb_copyarea() 3262 height = y2 - dy; amifb_copyarea() 3341 int x2, y2; amifb_imageblit() local 3353 y2 = image->dy + image->height; amifb_imageblit() 3357 y2 = y2 < info->var.yres_virtual ? y2 : info->var.yres_virtual; amifb_imageblit() 3359 height = y2 - dy; amifb_imageblit()
|
H A D | atafb.c | 2504 int x2, y2; atafb_fillrect() local 2522 y2 = rect->dy + rect->height; atafb_fillrect() 2524 y2 = y2 < info->var.yres_virtual ? y2 : info->var.yres_virtual; atafb_fillrect() 2526 height = y2 - rect->dy; atafb_fillrect() 2547 int x2, y2; atafb_copyarea() local 2560 y2 = area->dy + area->height; atafb_copyarea() 2564 y2 = y2 < info->var.yres_virtual ? y2 : info->var.yres_virtual; atafb_copyarea() 2566 height = y2 - dy; atafb_copyarea() 2601 int x2, y2; atafb_imageblit() local 2620 y2 = image->dy + image->height; atafb_imageblit() 2624 y2 = y2 < info->var.yres_virtual ? y2 : info->var.yres_virtual; atafb_imageblit() 2626 height = y2 - dy; atafb_imageblit()
|
H A D | broadsheetfb.c | 863 u16 y1, u16 y2) broadsheetfb_dpy_update_pages() 871 /* y2 must be a multiple of 4 , but - 1 so up the lower bits */ broadsheetfb_dpy_update_pages() 872 y2 |= 0x0003; broadsheetfb_dpy_update_pages() 878 args[4] = y2; broadsheetfb_dpy_update_pages() 885 broadsheet_burst_write(par, ((1 + y2 - y1) * par->info->var.xres)/2, broadsheetfb_dpy_update_pages() 862 broadsheetfb_dpy_update_pages(struct broadsheetfb_par *par, u16 y1, u16 y2) broadsheetfb_dpy_update_pages() argument
|
H A D | pxa168fb.h | 112 #define CFG_CKEY_Y2(y2) ((y2) << 24)
|
H A D | cg6.c | 201 u32 x2, y2, z2, color2; member in struct:cg6_fbc 377 sbus_writel(area->dy, &fbc->y2); cg6_copyarea()
|
H A D | hyperv_fb.c | 176 s32 x2, y2; /* bottom right corner, exclusive */ member in struct:rect 339 msg.dirt.rect[0].y2 = info->var.yres; synthvid_update()
|
/linux-4.1.27/net/bluetooth/ |
H A D | ecc.c | 603 /* P = (x1, y1) => 2P, (x2, y2) => P' */ xycz_initial_double() 604 static void xycz_initial_double(u64 *x1, u64 *y1, u64 *x2, u64 *y2, xycz_initial_double() argument 610 vli_set(y2, y1); xycz_initial_double() 622 apply_z(x2, y2, z); xycz_initial_double() 625 /* Input P = (x1, y1, Z), Q = (x2, y2, Z) 629 static void xycz_add(u64 *x1, u64 *y1, u64 *x2, u64 *y2) xycz_add() argument 638 vli_mod_sub(y2, y2, y1, curve_p); /* t4 = y2 - y1 */ xycz_add() 639 vli_mod_square_fast(t5, y2); /* t5 = (y2 - y1)^2 = D */ xycz_add() 646 vli_mod_mult_fast(y2, y2, x2); /* t4 = (y2 - y1)*(B - x3) */ xycz_add() 647 vli_mod_sub(y2, y2, y1, curve_p); /* t4 = y3 */ xycz_add() 652 /* Input P = (x1, y1, Z), Q = (x2, y2, Z) 656 static void xycz_add_c(u64 *x1, u64 *y1, u64 *x2, u64 *y2) xycz_add_c() argument 667 vli_mod_add(t5, y2, y1, curve_p); /* t4 = y2 + y1 */ xycz_add_c() 668 vli_mod_sub(y2, y2, y1, curve_p); /* t4 = y2 - y1 */ xycz_add_c() 673 vli_mod_square_fast(x2, y2); /* t3 = (y2 - y1)^2 */ xycz_add_c() 677 vli_mod_mult_fast(y2, y2, t7); /* t4 = (y2 - y1)*(B - x3) */ xycz_add_c() 678 vli_mod_sub(y2, y2, y1, curve_p); /* t4 = y3 */ xycz_add_c() 680 vli_mod_square_fast(t7, t5); /* t7 = (y2 + y1)^2 = F */ xycz_add_c() 683 vli_mod_mult_fast(t6, t6, t5); /* t6 = (y2 + y1)*(x3' - B) */ xycz_add_c()
|
/linux-4.1.27/include/drm/ |
H A D | drm_rect.h | 39 * @y2: vertical ending coordinate (exclusive) 42 int x1, y1, x2, y2; member in struct:drm_rect 62 r->y2 += (dh + 1) >> 1; drm_rect_adjust_size() 79 r->y2 += dy; drm_rect_translate() 95 r->y2 /= vert; drm_rect_downscale() 119 return r->y2 - r->y1; drm_rect_height() 146 r1->y1 == r2->y1 && r1->y2 == r2->y2; drm_rect_equals()
|
/linux-4.1.27/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) \ 86 "rI" ((USItype)(y2)), \ 93 #define __FP_FRAC_SUB_3(r2,r1,r0,x2,x1,x0,y2,y1,y0) \ 101 "rI" ((USItype)(y2)), \ 108 #define __FP_FRAC_ADD_4(r3,r2,r1,r0,x3,x2,x1,x0,y3,y2,y1,y0) \ 123 "rI" ((USItype)(y2)), \ 133 #define __FP_FRAC_SUB_4(r3,r2,r1,r0,x3,x2,x1,x0,y3,y2,y1,y0) \ 148 "rI" ((USItype)(y2)), \ 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) 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,y0)
|
/linux-4.1.27/drivers/gpu/drm/mgag200/ |
H A D | mgag200_fb.c | 33 int x2, y2; mga_dirty_update() local 54 y2 = y + height - 1; mga_dirty_update() 59 if (mfbdev->y2 > y2) mga_dirty_update() 60 y2 = mfbdev->y2; mga_dirty_update() 70 mfbdev->y2 = y2; mga_dirty_update() 76 mfbdev->x2 = mfbdev->y2 = 0; mga_dirty_update() 88 for (i = y; i <= y2; i++) { mga_dirty_update()
|
H A D | mgag200_drv.h | 120 int x1, y1, x2, y2; /* dirty rect */ member in struct:mga_fbdev
|
/linux-4.1.27/drivers/video/fbdev/mb862xx/ |
H A D | mb862xxfb_accel.c | 201 int x2, y2, vxres, vyres; mb86290fb_imageblit() local 205 y2 = image->dy + image->height; mb86290fb_imageblit() 209 y2 = min(y2, vyres); mb86290fb_imageblit() 211 height = y2 - dy; mb86290fb_imageblit() 260 u32 x2, y2, vxres, vyres, height, width, fg; mb86290fb_fillrect() local 273 y2 = rect->dy + rect->height; mb86290fb_fillrect() 275 y2 = min(y2, vyres); mb86290fb_fillrect() 277 height = y2 - rect->dy; mb86290fb_fillrect()
|
/linux-4.1.27/drivers/gpu/drm/cirrus/ |
H A D | cirrus_fbdev.c | 31 int x2, y2; cirrus_dirty_update() local 51 y2 = y + height - 1; cirrus_dirty_update() 56 if (afbdev->y2 > y2) cirrus_dirty_update() 57 y2 = afbdev->y2; cirrus_dirty_update() 67 afbdev->y2 = y2; cirrus_dirty_update() 73 afbdev->x2 = afbdev->y2 = 0; cirrus_dirty_update()
|
H A D | cirrus_drv.h | 159 int x1, y1, x2, y2; /* dirty rect */ member in struct:cirrus_fbdev
|
/linux-4.1.27/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_fb.c | 64 unsigned y2; member in struct:vmw_fb_par::__anon4601 234 h = min(par->dirty.y2, info->var.yres) - y; vmw_fb_dirty_flush() 236 par->dirty.y1 = par->dirty.y2 = 0; vmw_fb_dirty_flush() 269 unsigned y2 = y1 + height; vmw_fb_dirty_mark() local 276 par->dirty.y2 = y2; vmw_fb_dirty_mark() 288 if (y2 > par->dirty.y2) vmw_fb_dirty_mark() 289 par->dirty.y2 = y2; vmw_fb_dirty_mark() 301 int y1, y2; vmw_deferred_io() local 314 y2 = (max / info->fix.line_length) + 1; 320 par->dirty.y2 = y2; 535 par->dirty.y1 = par->dirty.y2 = 0; vmw_fb_init()
|
H A D | vmwgfx_kms.c | 36 int x1, x2, y1, y2; member in struct:vmw_clip_rect 55 int y2 = min_t(int, clip.y2, rects[i].y2); vmw_clip_cliprects() local 59 if (y1 >= y2) vmw_clip_cliprects() 65 out_rects[k].bottom = y2; vmw_clip_cliprects() 499 bottom = clips->y2; do_surface_dirty_sou() 507 bottom = max_t(int, bottom, (int)clips_ptr->y2); do_surface_dirty_sou() 524 tmp[i].y2 = clips_ptr->y2 - top; do_surface_dirty_sou() 536 clip.y2 = bottom - unit->crtc.y; do_surface_dirty_sou() 541 clip.x2 <= 0 || clip.y2 <= 0) do_surface_dirty_sou() 551 cmd->body.destRect.bottom = clip.y2; do_surface_dirty_sou() 555 clip.y2 = unit->crtc.mode.vdisplay - clip.y1; do_surface_dirty_sou() 624 norect.y2 = framebuffer->height; vmw_framebuffer_surface_dirty() 802 cmd[i].body.height = cpu_to_le32(clips->y2 - clips->y1); do_dmabuf_dirty_ldu() 899 int clip_y2 = clips_ptr->y2 - unit->crtc.y; do_dmabuf_dirty_sou() 974 norect.y2 = framebuffer->height; vmw_framebuffer_dmabuf_dirty() 1295 tmp[i].y2 = clips[i].y + clips[i].h - top; vmw_kms_present() 1306 clip.y2 = bottom + destY - unit->crtc.y; vmw_kms_present() 1311 clip.x2 <= 0 || clip.y2 <= 0) vmw_kms_present() 1321 cmd->body.destRect.bottom = clip.y2; vmw_kms_present() 1325 clip.y2 = unit->crtc.mode.vdisplay - clip.y1; vmw_kms_present() 1747 clips.y2 = fb->height; vmw_du_page_flip()
|
/linux-4.1.27/drivers/gpu/drm/ast/ |
H A D | ast_fb.c | 57 int x2, y2; ast_dirty_update() local 78 y2 = y + height - 1; ast_dirty_update() 83 if (afbdev->y2 > y2) ast_dirty_update() 84 y2 = afbdev->y2; ast_dirty_update() 94 afbdev->y2 = y2; ast_dirty_update() 100 afbdev->x2 = afbdev->y2 = 0; ast_dirty_update() 112 for (i = y; i <= y2; i++) { ast_dirty_update()
|
H A D | ast_drv.h | 263 int x1, y1, x2, y2; /* dirty rect */ member in struct:ast_fbdev
|
/linux-4.1.27/drivers/gpu/drm/udl/ |
H A D | udl_fb.c | 156 int x2, y2; udl_handle_damage() local 190 y2 = y + height - 1; udl_handle_damage() 196 if (fb->y2 > y2) udl_handle_damage() 197 y2 = fb->y2; udl_handle_damage() 207 fb->y2 = y2; udl_handle_damage() 213 fb->x2 = fb->y2 = 0; udl_handle_damage() 223 for (i = y; i <= y2 ; i++) { udl_handle_damage() 422 clips[i].y2 - clips[i].y1); udl_user_framebuffer_dirty()
|
H A D | udl_drv.h | 84 int x1, y1, x2, y2; /* dirty rect */ member in struct:udl_framebuffer
|
/linux-4.1.27/arch/ia64/lib/ |
H A D | idiv64.S | 63 (p6) fma.s1 f6 = f6, f7, f6 // y2 = y1*e1 + y1 70 (p6) fma.s1 f11 = f7, f6, f10 // q3 = r*y2 + q2
|
/linux-4.1.27/drivers/input/touchscreen/ |
H A D | mc13783_ts.c | 74 int x0, x1, x2, y0, y1, y2; mc13783_ts_report_sample() local 86 y2 = (priv->sample[1] >> 12) & 0xfff; mc13783_ts_report_sample() 92 x0, x1, x2, y0, y1, y2, cr0, cr1); mc13783_ts_report_sample() 95 sort3(y0, y1, y2); mc13783_ts_report_sample() 101 y2 - y0 < sample_tolerance)) { mc13783_ts_report_sample()
|
/linux-4.1.27/include/math-emu/ |
H A D | op-4.h | 516 #define __FP_FRAC_ADD_3(r2,r1,r0,x2,x1,x0,y2,y1,y0) \ 525 r2 = x2 + y2 + _c2; \ 530 #define __FP_FRAC_ADD_4(r3,r2,r1,r0,x3,x2,x1,x0,y3,y2,y1,y0) \ 539 r2 = x2 + y2; \ 548 #define __FP_FRAC_SUB_3(r2,r1,r0,x2,x1,x0,y2,y1,y0) \ 557 r2 = x2 - y2 - _c2; \ 562 #define __FP_FRAC_SUB_4(r3,r2,r1,r0,x3,x2,x1,x0,y3,y2,y1,y0) \ 571 r2 = x2 - y2; \ 580 #define __FP_FRAC_DEC_3(x2,x1,x0,y2,y1,y0) \ 584 __FP_FRAC_SUB_3 (x2, x1, x0, _t2, _t1, _t0, y2, y1, y0); \ 589 #define __FP_FRAC_DEC_4(x3,x2,x1,x0,y3,y2,y1,y0) \ 593 __FP_FRAC_SUB_4 (x3,x2,x1,x0,_t3,_t2,_t1,_t0, y3,y2,y1,y0); \
|
/linux-4.1.27/drivers/gpu/drm/qxl/ |
H A D | qxl_fb.c | 73 unsigned y2; member in struct:qxl_fbdev::__anon4333 108 u32 x1, x2, y1, y2; qxl_fb_dirty_flush() local 116 y2 = qfbdev->dirty.y2; qxl_fb_dirty_flush() 120 qxl_io_log(qdev, "dirty x[%d, %d], y[%d, %d]", x1, x2, y1, y2); qxl_fb_dirty_flush() 124 image->height = y2 - y1; qxl_fb_dirty_flush() 142 qfbdev->dirty.y2 = 0; qxl_fb_dirty_flush() 151 int y1, y2; qxl_deferred_io() local 164 y2 = (max / info->fix.line_length) + 1; 171 qfbdev->dirty.y2 = y2;
|
H A D | qxl_draw.c | 302 bottom = clips->y2; qxl_draw_dirty_fb() 310 bottom = max_t(int, bottom, (int)clips_ptr->y2); qxl_draw_dirty_fb() 382 rects[i].bottom = clips_ptr->y2; qxl_draw_dirty_fb()
|
H A D | qxl_display.c | 234 .y2 = fb->height qxl_crtc_page_flip() 497 norect.y2 = fb->height; qxl_framebuffer_surface_dirty()
|
/linux-4.1.27/scripts/ |
H A D | bootgraph.pl | 191 my ($s, $s2, $s3, $e, $w, $y, $y2, $style); 205 $y2 = $y + 4; 219 print "<text transform=\"translate($s2,$y2) rotate(90)\">$key</text>\n"; 221 print "<text transform=\"translate($s3,$y2) rotate(90)\" font-size=\"3pt\">$key</text>\n";
|
/linux-4.1.27/drivers/gpu/drm/nouveau/dispnv04/ |
H A D | tvnv17.h | 117 static inline int interpolate(int y0, int y1, int y2, int x) interpolate() argument 119 return y1 + (x < 50 ? y1 - y0 : y2 - y1) * (x - 50) / 50; interpolate()
|
/linux-4.1.27/tools/perf/util/ |
H A D | svghelper.c | 486 fprintf(svgfile, "<line x1=\"%.8f\" x2=\"%.8f\" y1=\"%.1f\" y2=\"%.1f\" class=\"pstate\"/>\n", svg_pstate() 514 fprintf(svgfile, "<line x1=\"%.8f\" y1=\"%.2f\" x2=\"%.8f\" y2=\"%.2f\" style=\"stroke:rgb(32,255,32);stroke-width:0.009\"/>\n", svg_partial_wakeline() 521 fprintf(svgfile, "<line x1=\"%.8f\" y1=\"%.2f\" x2=\"%.8f\" y2=\"%.2f\" style=\"stroke:rgb(32,255,32);stroke-width:0.009\"/>\n", svg_partial_wakeline() 529 fprintf(svgfile, "<line x1=\"%.8f\" y1=\"%.2f\" x2=\"%.8f\" y2=\"%.2f\" style=\"stroke:rgb(32,255,32);stroke-width:0.009\"/>\n", svg_partial_wakeline() 536 fprintf(svgfile, "<line x1=\"%.8f\" y1=\"%.2f\" x2=\"%.8f\" y2=\"%.2f\" style=\"stroke:rgb(32,255,32);stroke-width:0.009\"/>\n", svg_partial_wakeline() 567 fprintf(svgfile, "<line x1=\"%.8f\" y1=\"%.2f\" x2=\"%.8f\" y2=\"%.2f\" style=\"stroke:rgb(32,255,32);stroke-width:0.009\"/>\n", svg_wakeline() 570 fprintf(svgfile, "<line x1=\"%.8f\" y1=\"%.2f\" x2=\"%.8f\" y2=\"%.2f\" style=\"stroke:rgb(32,255,32);stroke-width:0.009\"/>\n", svg_wakeline() 673 fprintf(svgfile, "<line x1=\"%.8f\" y1=\"%.2f\" x2=\"%.8f\" y2=\"%" PRIu64 "\" style=\"stroke:rgb(%i,%i,%i);stroke-width:%.3f\"/>\n", svg_time_grid()
|
/linux-4.1.27/include/video/ |
H A D | auo_k190xfb.h | 54 void (*update_partial)(struct auok190xfb_par *par, u16 y1, u16 y2);
|
H A D | udlfb.h | 16 int x2, y2; member in struct:dloarea
|
/linux-4.1.27/drivers/gpu/drm/i915/ |
H A D | intel_atomic_plane.c | 137 intel_state->src.y2 = state->src_y + state->src_h; intel_plane_atomic_check() 141 intel_state->dst.y2 = state->crtc_y + state->crtc_h; intel_plane_atomic_check() 148 intel_state->clip.y2 = intel_plane_atomic_check()
|
H A D | i915_gem_execbuffer.c | 1103 if (box->y2 <= box->y1 || box->x2 <= box->x1 || i915_emit_box() 1104 box->y2 <= 0 || box->x2 <= 0) { i915_emit_box() 1106 box->x1, box->y1, box->x2, box->y2); i915_emit_box() 1117 intel_ring_emit(ring, ((box->x2 - 1) & 0xffff) | (box->y2 - 1) << 16); i915_emit_box() 1127 intel_ring_emit(ring, ((box->x2 - 1) & 0xffff) | (box->y2 - 1) << 16); i915_emit_box()
|
H A D | intel_sprite.c | 954 src->y2 > (int) state->base.src_y + state->base.src_h); intel_check_sprite_plane() 1012 src->y2 = src_y + src_h; intel_check_sprite_plane() 1018 dst->y2 = crtc_y + crtc_h; intel_check_sprite_plane()
|
/linux-4.1.27/drivers/input/mouse/ |
H A D | elantech.c | 274 * byte 3: y7 y6 y5 y4 y3 y2 y1 y0 elantech_report_absolute_v1() 311 /* x1 < x2 and y1 < y2 when two fingers, x = y = 0 when not pressed */ elantech_report_semi_mt_data() 315 unsigned int x2, unsigned int y2) elantech_report_semi_mt_data() 318 elantech_set_slot(dev, 1, num_fingers >= 2, x2, y2); elantech_report_semi_mt_data() 330 unsigned int fingers, x1 = 0, y1 = 0, x2 = 0, y2 = 0; elantech_report_absolute_v2() local 353 * byte 5: y7 y6 y5 y4 y3 y2 y1 y0 elantech_report_absolute_v2() 378 y2 = etd->y_max - elantech_report_absolute_v2() 392 elantech_report_semi_mt_data(dev, fingers, x1, y1, x2, y2); elantech_report_absolute_v2() 416 * byte 5: y7 y6 y5 y4 y3 y2 y1 y0 elantech_report_trackpoint() 471 unsigned int fingers = 0, x1 = 0, y1 = 0, x2 = 0, y2 = 0; elantech_report_absolute_v3() local 487 * byte 5: y7 y6 y5 y4 y3 y2 y1 y0 elantech_report_absolute_v3() 515 y2 = etd->y_max - (((packet[4] & 0x0f) << 8) | packet[5]); elantech_report_absolute_v3() 527 elantech_report_semi_mt_data(dev, fingers, x1, y1, x2, y2); elantech_report_absolute_v3() 312 elantech_report_semi_mt_data(struct input_dev *dev, unsigned int num_fingers, unsigned int x1, unsigned int y1, unsigned int x2, unsigned int y2) elantech_report_semi_mt_data() argument
|
H A D | hgpk.c | 283 * byte 2: y7 y6 y5 y4 y3 y2 y1 y0 299 * byte 4: 0 y6 y5 y4 y3 y2 y1 y0
|
/linux-4.1.27/drivers/gpu/drm/mga/ |
H A D | mga_state.c | 63 MGA_YTOP, box->y1 * pitch, MGA_YBOT, (box->y2 - 1) * pitch); mga_emit_clip_rect() 503 u32 height = box->y2 - box->y1; mga_dma_dispatch_clear() 506 box->x1, box->y1, box->x2, box->y2); mga_dma_dispatch_clear() 601 u32 height = box->y2 - box->y1; mga_dma_dispatch_swap() 605 box->x1, box->y1, box->x2, box->y2); mga_dma_dispatch_swap() 728 u32 y2; mga_dma_dispatch_iload() local 732 y2 = length / 64; mga_dma_dispatch_iload() 749 MGA_FXBNDRY, (63 << 16) | 0, MGA_YDSTLEN + MGA_EXEC, y2); mga_dma_dispatch_iload() 799 int h = pbox[i].y2 - pbox[i].y1; mga_dma_dispatch_blit()
|
/linux-4.1.27/drivers/gpu/drm/radeon/ |
H A D | r600_blit.c | 294 set_scissors(drm_radeon_private_t *dev_priv, int x1, int y1, int x2, int y2) set_scissors() argument 303 OUT_RING((x2 << 0) | (y2 << 16)); set_scissors() 308 OUT_RING((x2 << 0) | (y2 << 16)); set_scissors() 313 OUT_RING((x2 << 0) | (y2 << 16)); set_scissors()
|
H A D | r300_cmdbuf.c | 85 box.y2--; r300_emit_cliprects() 94 box.y2 = (box.y2) & r300_emit_cliprects() 103 box.y2 = (box.y2 + R300_CLIPRECT_OFFSET) & r300_emit_cliprects() 110 (box.y2 << R300_CLIPRECT_Y_SHIFT)); r300_emit_cliprects()
|
H A D | radeon_state.c | 454 DRM_DEBUG(" box: x1=%d y1=%d x2=%d y2=%d\n", radeon_emit_clip_rect() 455 box->x1, box->y1, box->x2, box->y2); radeon_emit_clip_rect() 461 OUT_RING(((box->y2 - 1) << 16) | (box->x2 - 1)); radeon_emit_clip_rect() 931 int h = pbox[i].y2 - y; radeon_cp_dispatch_clear() 1065 (pbox[i].y2 >> 3) - (pbox[i].y1 >> 3); radeon_cp_dispatch_clear() 1088 (pbox[i].y2 >> 3) - (pbox[i].y1 >> 3); radeon_cp_dispatch_clear() 1116 (pbox[i].y2 >> 4) - (pbox[i].y1 >> 4); radeon_cp_dispatch_clear() 1402 int h = pbox[i].y2 - y; radeon_cp_dispatch_swap()
|
H A D | r600_cp.c | 2455 int h = pbox[i].y2 - y; r600_cp_dispatch_swap()
|
/linux-4.1.27/drivers/gpu/drm/i2c/ |
H A D | ch7006_priv.h | 158 static inline int interpolate(int y0, int y1, int y2, int x) interpolate() argument 160 return y1 + (x < 50 ? y1 - y0 : y2 - y1) * (x - 50) / 50; interpolate()
|
/linux-4.1.27/drivers/media/usb/uvc/ |
H A D | uvc_video.c | 610 u32 y1, y2; uvc_video_clock_update() local 634 y2 = (last->dev_sof + 2048) << 16; uvc_video_clock_update() 635 if (y2 < y1) uvc_video_clock_update() 636 y2 += 2048 << 16; uvc_video_clock_update() 638 y = (u64)(y2 - y1) * (1ULL << 31) + (u64)y1 * (u64)x2 uvc_video_clock_update() 639 - (u64)y2 * (u64)x1; uvc_video_clock_update() 645 "(x1 %u x2 %u y1 %u y2 %u SOF offset %u)\n", uvc_video_clock_update() 649 x1, x2, y1, y2, clock->sof_offset); uvc_video_clock_update() 661 y2 = (ts.tv_sec + 1) * NSEC_PER_SEC + ts.tv_nsec; uvc_video_clock_update() 674 y = (u64)(y2 - y1) * (u64)sof + (u64)y1 * (u64)x2 uvc_video_clock_update() 675 - (u64)y2 * (u64)x1; uvc_video_clock_update() 687 "buf ts %lu.%06lu (x1 %u/%u/%u x2 %u/%u/%u y1 %u y2 %u)\n", uvc_video_clock_update() 694 x2, last->host_sof, last->dev_sof, y1, y2); uvc_video_clock_update()
|
/linux-4.1.27/drivers/gpu/drm/i810/ |
H A D | i810_dma.c | 619 unsigned int height = pbox->y2 - y; i810_dma_dispatch_clear() 623 pbox->y1 > pbox->y2 || i810_dma_dispatch_clear() 624 pbox->x2 > dev_priv->w || pbox->y2 > dev_priv->h) i810_dma_dispatch_clear() 682 unsigned int h = pbox->y2 - pbox->y1; i810_dma_dispatch_swap() 687 pbox->y1 > pbox->y2 || i810_dma_dispatch_swap() 688 pbox->x2 > dev_priv->w || pbox->y2 > dev_priv->h) i810_dma_dispatch_swap() 755 1) | ((box[i].y2 - 1) << 16)); i810_dma_dispatch_vertex()
|
/linux-4.1.27/drivers/video/fbdev/nvidia/ |
H A D | nv_accel.c | 188 int x2, int y2) NVSetClippingRectangle() 191 int h = y2 - y1 + 1; NVSetClippingRectangle() 187 NVSetClippingRectangle(struct fb_info *info, int x1, int y1, int x2, int y2) NVSetClippingRectangle() argument
|
/linux-4.1.27/arch/arm/mach-pxa/ |
H A D | tavorevb.c | 336 SMART_DAT(0x01), /* y2, 14 */ 337 SMART_DAT(0x3F), /* y2, 15 */
|
/linux-4.1.27/drivers/gpu/drm/r128/ |
H A D | r128_state.c | 53 OUT_RING(boxes[0].y2 - 1); r128_emit_clip_rects() 62 OUT_RING(boxes[1].y2 - 1); r128_emit_clip_rects() 71 OUT_RING(boxes[2].y2 - 1); r128_emit_clip_rects() 377 int h = pbox[i].y2 - y; r128_cce_dispatch_clear() 381 pbox[i].y2, flags); r128_cce_dispatch_clear() 477 int h = pbox[i].y2 - y; r128_cce_dispatch_swap()
|
/linux-4.1.27/sound/pci/au88x0/ |
H A D | au88x0_a3d.c | 89 a3dsrc_SetAtmosState(a3dsrc_t * a, short x1, short x2, short y1, short y2) a3dsrc_SetAtmosState() argument 95 hwwrite(vortex->mmio, a3d_addrA(a->slice, a->source, A3D_A_y2), y2); a3dsrc_SetAtmosState() 127 a3dsrc_GetAtmosState(a3dsrc_t * a, short *x1, short *x2, short *y1, short *y2)
|
/linux-4.1.27/drivers/net/wireless/ath/carl9170/ |
H A D | phy.c | 1068 static s32 carl9170_interpolate_s32(s32 x, s32 x1, s32 y1, s32 x2, s32 y2) carl9170_interpolate_s32() argument 1071 if (y2 == y1) carl9170_interpolate_s32() 1078 return y2; carl9170_interpolate_s32() 1084 return y1 + (((y2 - y1) * (x - x1)) / (x2 - x1)); carl9170_interpolate_s32() 1087 static u8 carl9170_interpolate_u8(u8 x, u8 x1, u8 y1, u8 x2, u8 y2) carl9170_interpolate_u8() argument 1093 y1 << SHIFT, x2 << SHIFT, y2 << SHIFT); carl9170_interpolate_u8()
|
/linux-4.1.27/drivers/gpu/drm/rockchip/ |
H A D | rockchip_drm_vop.c | 596 .y2 = crtc_y + crtc_h, vop_update_plane_event() 603 .y2 = src_y + src_h, vop_update_plane_event() 607 .y2 = crtc->mode.vdisplay, vop_update_plane_event() 636 actual_h = (src.y2 - src.y1) >> 16; vop_update_plane_event()
|
/linux-4.1.27/drivers/gpu/drm/savage/ |
H A D | savage_state.c | 39 ((((uint32_t) pbox->y2 - 1) << 16) & 0x07ff0000); savage_emit_clip_rect_s3d() 65 ((((uint32_t) pbox->y2 - 1) << 12) & 0x00fff000); savage_emit_clip_rect_s4() 826 h = boxes[i].y2 - boxes[i].y1; savage_dispatch_clear() 885 boxes[i].y2 - boxes[i].y1)); savage_dispatch_swap()
|
/linux-4.1.27/net/sched/ |
H A D | sch_hfsc.c | 558 u64 y1, y2, dx, dy; rtsc_min() local 576 * y2: at (x + dx) rtsc_min() 584 y2 = rtsc_x2y(rtsc, x + isc->dx); rtsc_min() 585 if (y2 >= y + isc->dy) { rtsc_min()
|
/linux-4.1.27/drivers/video/fbdev/omap2/displays-new/ |
H A D | panel-dsi-cm.c | 205 u16 y2 = y + h - 1; dsicm_set_update_window() local 221 buf[3] = (y2 >> 8) & 0xff; dsicm_set_update_window() 222 buf[4] = (y2 >> 0) & 0xff; dsicm_set_update_window()
|
/linux-4.1.27/drivers/net/wireless/iwlegacy/ |
H A D | 4965.c | 661 il4965_interpolate_value(s32 x, s32 x1, s32 y1, s32 x2, s32 y2) il4965_interpolate_value() argument 668 il4965_math_div_round((x2 - x) * (y1 - y2), (x2 - x1), &val); il4965_interpolate_value() 669 return val + y2; il4965_interpolate_value()
|
/linux-4.1.27/drivers/hid/ |
H A D | hid-wiimote-modules.c | 1823 s16 x1, y1, x2, y2; wiimod_pro_calib_store() local 1830 r = sscanf(buf, "%hd:%hd %hd:%hd", &x1, &y1, &x2, &y2); wiimod_pro_calib_store() 1841 wdata->state.calib_pro_sticks[3] = y2; wiimod_pro_calib_store()
|
H A D | wacom_wac.c | 1014 static int int_dist(int x1, int y1, int x2, int y2) int_dist() argument 1017 int y = y2 - y1; int_dist()
|
/linux-4.1.27/arch/arm/mach-omap2/ |
H A D | mux34xx.c | 1239 _OMAP3_BALLENTRY(SDMMC2_DAT6, "y2", NULL), 1546 _OMAP3_BALLENTRY(MCSPI2_SIMO, "y2", NULL), 1974 _OMAP3_BALLENTRY(MCSPI2_SIMO, "y2", NULL),
|
/linux-4.1.27/arch/arm/crypto/ |
H A D | bsaes-armv7.pl | 202 $x2,$x3,$y2,$y3,$t1)=@_; 205 veor $t1, $y2, $y3 211 vand $x3, $x3, $y2
|
/linux-4.1.27/drivers/video/fbdev/mmp/hw/ |
H A D | mmp_ctrl.h | 300 #define CFG_CKEY_Y2(y2) ((y2)<<24)
|
/linux-4.1.27/ |
H A D | Makefile | 902 libs-y2 := $(patsubst %/, %/built-in.o, $(libs-y)) 903 libs-y := $(libs-y1) $(libs-y2)
|
/linux-4.1.27/include/uapi/drm/ |
H A D | drm.h | 89 unsigned short y2; member in struct:drm_clip_rect
|
/linux-4.1.27/drivers/power/ |
H A D | ab8500_fg.c | 57 #define interpolate(x, x1, y1, x2, y2) \ 58 ((y1) + ((((y2) - (y1)) * ((x) - (x1))) / ((x2) - (x1))));
|
/linux-4.1.27/net/core/ |
H A D | dev.c | 6611 * unregister_netdevice(y2); 6615 * free_netdev(y2);
|