Searched refs:y1 (Results 1 - 90 of 90) sorted by relevance

/linux-4.1.27/arch/x86/crypto/
H A 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 # --
211 rorx $11, e, y1 # y1 = e >> 11 # S1B
220 xor y1, y0 # y0 = (e>>25) ^ (e>>11) # S1
224 rorx $6, e, y1 # y1 = (e >> 6) # S1
225 xor y1, y0 # y0 = (e>>25) ^ (e>>11) ^ (e>>6) # S1
226 rorx $22, a, y1 # y1 = a >> 22 # S0A
232 xor T1, y1 # y1 = (a>>22) ^ (a>>13) # S0
239 xor T1, y1 # y1 = (a>>22) ^ (a>>13) ^ (a>>2) # S0
247 add y1, h # h = k + w + h + S0 # --
267 rorx $11, e, y1 # y1 = e >> 11 # S1B
273 xor y1, y0 # y0 = (e>>25) ^ (e>>11) # S1
277 rorx $6, e, y1 # y1 = (e >> 6) # S1
282 xor y1, y0 # y0 = (e>>25) ^ (e>>11) ^ (e>>6) # S1
283 rorx $22, a, y1 # y1 = a >> 22 # S0A
288 xor T1, y1 # y1 = (a>>22) ^ (a>>13) # S0
292 xor T1, y1 # y1 = (a>>22) ^ (a>>13) ^ (a>>2) # S0
299 add y1,h # h = k + w + h + S0 # --
312 rorx $11, e, y1 # y1 = e >> 11 # S1B
321 xor y1, y0 # y0 = (e>>25) ^ (e>>11) # S1
326 rorx $6, e, y1 # y1 = (e >> 6) # S1
332 xor y1, y0 # y0 = (e>>25) ^ (e>>11) ^ (e>>6) # S1
336 rorx $22, a, y1 # y1 = a >> 22 # S0A
340 xor T1, y1 # y1 = (a>>22) ^ (a>>13) # S0
347 xor T1, y1 # y1 = (a>>22) ^ (a>>13) ^ (a>>2) # S0
352 add y1, h # h = k + w + h + S0 # --
365 rorx $11, e, y1 # y1 = e >> 11 # S1B
368 xor y1, y0 # y0 = (e>>25) ^ (e>>11) # S1
369 rorx $6, e, y1 # y1 = (e >> 6) # S1
372 xor y1, y0 # y0 = (e>>25) ^ (e>>11) ^ (e>>6) # S1
375 rorx $22, a, y1 # y1 = a >> 22 # S0A
378 xor T1, y1 # y1 = (a>>22) ^ (a>>13) # S0
383 xor T1, y1 # y1 = (a>>22) ^ (a>>13) ^ (a>>2) # S0
392 add y1, h # h = k + w + h + S0 # --
402 rorx $11, e, y1 # y1 = e >> 11 # S1B
405 xor y1, y0 # y0 = (e>>25) ^ (e>>11) # S1
406 rorx $6, e, y1 # y1 = (e >> 6) # S1
410 xor y1, y0 # y0 = (e>>25) ^ (e>>11) ^ (e>>6) # S1
413 rorx $22, a, y1 # y1 = a >> 22 # S0A
416 xor T1, y1 # y1 = (a>>22) ^ (a>>13) # S0
422 xor T1, y1 # y1 = (a>>22) ^ (a>>13) ^ (a>>2) # S0
431 add y1, h # h = k + w + h + S0 # --
442 rorx $11, e, y1 # y1 = e >> 11 # S1B
445 xor y1, y0 # y0 = (e>>25) ^ (e>>11) # S1
446 rorx $6, e, y1 # y1 = (e >> 6) # S1
450 xor y1, y0 # y0 = (e>>25) ^ (e>>11) ^ (e>>6) # S1
453 rorx $22, a, y1 # y1 = a >> 22 # S0A
456 xor T1, y1 # y1 = (a>>22) ^ (a>>13) # S0
462 xor T1, y1 # y1 = (a>>22) ^ (a>>13) ^ (a>>2) # S0
471 add y1, h # h = k + w + h + S0 # --
482 rorx $11, e, y1 # y1 = e >> 11 # S1B
485 xor y1, y0 # y0 = (e>>25) ^ (e>>11) # S1
486 rorx $6, e, y1 # y1 = (e >> 6) # S1
490 xor y1, y0 # y0 = (e>>25) ^ (e>>11) ^ (e>>6) # S1
493 rorx $22, a, y1 # y1 = a >> 22 # S0A
496 xor T1, y1 # y1 = (a>>22) ^ (a>>13) # S0
502 xor T1, y1 # y1 = (a>>22) ^ (a>>13) ^ (a>>2) # S0
511 add y1, h # h = k + w + h + S0 # --
H A 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
256 xor y1, y0 # y0 = (e>>41) ^ (e>>18) # S1
260 rorx $14, e, y1 # y1 = (e >> 14) # S1
261 xor y1, y0 # y0 = (e>>41) ^ (e>>18) ^ (e>>14) # S1
262 rorx $39, a, y1 # y1 = a >> 39 # S0A
267 xor T1, y1 # y1 = (a>>39) ^ (a>>34) # S0
272 xor T1, y1 # y1 = (a>>39) ^ (a>>34) ^ (a>>28) # S0
278 add y1, h # h = k + w + h + S0 # --
309 rorx $18, e, y1 # y1 = e >> 18 # S1B
315 xor y1, y0 # y0 = (e>>41) ^ (e>>18) # S1
318 rorx $14, e, y1 # y1 = (e >> 14) # S1
322 xor y1, y0 # y0 = (e>>41) ^ (e>>18) ^ (e>>14) # S1
323 rorx $39, a, y1 # y1 = a >> 39 # S0A
326 xor T1, y1 # y1 = (a>>39) ^ (a>>34) # S0
329 xor T1, y1 # y1 = (a>>39) ^ (a>>34) ^ (a>>28) # S0
335 add y1, h # h = k + w + h + S0 # --
364 rorx $18, e, y1 # y1 = e >> 18 # S1B
371 xor y1, y0 # y0 = (e>>41) ^ (e>>18) # S1
375 rorx $14, e, y1 # y1 = (e >> 14) # S1
380 xor y1, y0 # y0 = (e>>41) ^ (e>>18) ^ (e>>14) # S1
383 rorx $39, a, y1 # y1 = a >> 39 # S0A
386 xor T1, y1 # y1 = (a>>39) ^ (a>>34) # S0
391 xor T1, y1 # y1 = (a>>39) ^ (a>>34) ^ (a>>28) # S0
396 add y1, h # h = k + w + h + S0 # --
411 rorx $18, e, y1 # y1 = e >> 18 # S1B
414 xor y1, y0 # y0 = (e>>41) ^ (e>>18) # S1
415 rorx $14, e, y1 # y1 = (e >> 14) # S1
418 xor y1, y0 # y0 = (e>>41) ^ (e>>18) ^ (e>>14) # S1
421 rorx $39, a, y1 # y1 = a >> 39 # S0A
424 xor T1, y1 # y1 = (a>>39) ^ (a>>34) # S0
429 xor T1, y1 # y1 = (a>>39) ^ (a>>34) ^ (a>>28) # S0
437 add y1, h # h = k + w + h + S0 # --
448 rorx $18, e, y1 # y1 = e >> 18 # S1B
451 xor y1, y0 # y0 = (e>>41) ^ (e>>18) # S1
452 rorx $14, e, y1 # y1 = (e >> 14) # S1
456 xor y1, y0 # y0 = (e>>41) ^ (e>>18) ^ (e>>14) # S1
459 rorx $39, a, y1 # y1 = a >> 39 # S0A
462 xor T1, y1 # y1 = (a>>39) ^ (a>>34) # S0
467 xor T1, y1 # y1 = (a>>39) ^ (a>>34) ^ (a>>28) # S0
475 add y1, h # h = k + w + h + S0 # --
486 rorx $18, e, y1 # y1 = e >> 18 # S1B
489 xor y1, y0 # y0 = (e>>41) ^ (e>>18) # S1
490 rorx $14, e, y1 # y1 = (e >> 14) # S1
494 xor y1, y0 # y0 = (e>>41) ^ (e>>18) ^ (e>>14) # S1
497 rorx $39, a, y1 # y1 = a >> 39 # S0A
500 xor T1, y1 # y1 = (a>>39) ^ (a>>34) # S0
505 xor T1, y1 # y1 = (a>>39) ^ (a>>34) ^ (a>>28) # S0
513 add y1, h # h = k + w + h + S0 # --
524 rorx $18, e, y1 # y1 = e >> 18 # S1B
527 xor y1, y0 # y0 = (e>>41) ^ (e>>18) # S1
528 rorx $14, e, y1 # y1 = (e >> 14) # S1
532 xor y1, y0 # y0 = (e>>41) ^ (e>>18) ^ (e>>14) # S1
535 rorx $39, a, y1 # y1 = a >> 39 # S0A
538 xor T1, y1 # y1 = (a>>39) ^ (a>>34) # S0
543 xor T1, y1 # y1 = (a>>39) ^ (a>>34) ^ (a>>28) # S0
552 add y1, h # h = k + w + h + S0 # --
H A 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)
201 xor a, y1 # y1 = a ^ (a >> (22-13)
205 MY_ROR (13-2), y1 # y1 = (a >> (13-2)) ^ (a >> (22-2))
210 xor a, y1 # y1 = a ^ (a >> (13-2)) ^ (a >> (22-2))
215 MY_ROR 2, y1 # y1 = S0 = (a>>2) ^ (a>>13) ^ (a>>22)
227 add y1, h # h = h + S1 + CH + k + w + S0
233 mov a, y1 # y1 = a
236 MY_ROR (22-13), y1 # y1 = a >> (22-13)
238 xor a, y1 # y1 = a ^ (a >> (22-13)
246 MY_ROR (13-2), y1 # y1 = (a >> (13-2)) ^ (a >> (22-2))
247 xor a, y1 # y1 = a ^ (a >> (13-2)) ^ (a >> (22-2))
252 MY_ROR 2, y1 # y1 = S0 = (a>>2) ^ (a>>13) ^ (a>>22)
264 add y1, h # h = h + S1 + CH + k + w + S0
272 mov a, y1 # y1 = a
273 MY_ROR (22-13), y1 # y1 = a >> (22-13)
278 xor a, y1 # y1 = a ^ (a >> (22-13)
283 MY_ROR (13-2), y1 # y1 = (a >> (13-2)) ^ (a >> (22-2))
285 xor a, y1 # y1 = a ^ (a >> (13-2)) ^ (a >> (22-2))
289 MY_ROR 2, y1 # y1 = S0 = (a>>2) ^ (a>>13) ^ (a>>22)
302 add y1, h # h = h + S1 + CH + k + w + S0
313 mov a, y1 # y1 = a
315 MY_ROR (22-13), y1 # y1 = a >> (22-13)
317 xor a, y1 # y1 = a ^ (a >> (22-13)
321 MY_ROR (13-2), y1 # y1 = (a >> (13-2)) ^ (a >> (22-2))
323 xor a, y1 # y1 = a ^ (a >> (13-2)) ^ (a >> (22-2))
327 MY_ROR 2, y1 # y1 = S0 = (a>>2) ^ (a>>13) ^ (a>>22)
337 add y1, h # h = h + S1 + CH + k + w + S0
H A 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)
200 xor a, y1 # y1 = a ^ (a >> (22-13)
204 ror $(13-2), y1 # y1 = (a >> (13-2)) ^ (a >> (22-2))
209 xor a, y1 # y1 = a ^ (a >> (13-2)) ^ (a >> (22-2))
214 ror $2, y1 # y1 = S0 = (a>>2) ^ (a>>13) ^ (a>>22)
226 add y1, h # h = h + S1 + CH + k + w + S0
234 mov a, y1 # y1 = a
238 ror $(22-13), y1 # y1 = a >> (22-13)
240 xor a, y1 # y1 = a ^ (a >> (22-13)
248 ror $(13-2), y1 # y1 = (a >> (13-2)) ^ (a >> (22-2))
249 xor a, y1 # y1 = a ^ (a >> (13-2)) ^ (a >> (22-2))
254 ror $2, y1 # y1 = S0 = (a>>2) ^ (a>>13) ^ (a>>22)
266 add y1, h # h = h + S1 + CH + k + w + S0
276 mov a, y1 # y1 = a
278 ror $(22-13), y1 # y1 = a >> (22-13)
283 xor a, y1 # y1 = a ^ (a >> (22-13)
288 ror $(13-2), y1 # y1 = (a >> (13-2)) ^ (a >> (22-2))
290 xor a, y1 # y1 = a ^ (a >> (13-2)) ^ (a >> (22
294 ror $2, y1 # y1 = S0 = (a>>2) ^ (a>>13) ^ (a>>2
307 add y1, h # h = h + S1 + CH + k + w + S0
319 mov a, y1 # y1 = a
321 ror $(22-13), y1 # y1 = a >> (22-13)
323 xor a, y1 # y1 = a ^ (a >> (22-13)
327 ror $(13-2), y1 # y1 = (a >> (13-2)) ^ (a >> (22-2))
329 xor a, y1 # y1 = a ^ (a >> (13-2)) ^ (a >> (22-2))
333 ror $2, y1 # y1 = S0 = (a>>2) ^ (a>>13) ^ (a>>22)
343 add y1, h # h = h + S1 + CH + k + w + S0
H A Dcamellia-aesni-avx-asm_64.S211 #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, \
492 vpxor 6 * 16(rio), x0, y1; \
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, \
518 vmovdqu y1, 1 * 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, \
543 vpxor x0, y1, y1; \
554 #define write_output(x0, x1, x2, x3, x4, x5, x6, x7, y0, y1, y2, y3, y4, y5, \
565 vmovdqu y1, 9 * 16(rio); \
H A Dcamellia-aesni-avx2-asm_64.S250 #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, \
531 vpxor 6 * 32(rio), x0, y1; \
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, \
557 vmovdqu y1, 1 * 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, \
582 vpxor x0, y1, y1; \
593 #define write_output(x0, x1, x2, x3, x4, x5, x6, x7, y0, y1, y2, y3, y4, y5, \
604 vmovdqu y1, 9 * 32(rio); \
H A Dtwofish-avx-x86_64-asm_64.S132 #define round_head_2(a, b, x1, y1, x2, y2) \
142 G(RGI3, RGI4, y1, s1, s2, s3, s0); \
145 vmovq RGS2, y1; \
146 vpinsrq $1, RGS3, y1, y1; \
/linux-4.1.27/drivers/gpu/drm/
H A Ddrm_rect.c45 r1->y1 = max(r1->y1, r2->y1); drm_rect_intersect()
79 diff = clip->y1 - dst->y1; drm_rect_clip_scaled()
81 int64_t tmp = src->y1 + (int64_t) diff * vscale; drm_rect_clip_scaled()
82 src->y1 = clamp_t(int64_t, tmp, INT_MIN, INT_MAX); drm_rect_clip_scaled()
291 r->y1 >> 16, ((r->y1 & 0xffff) * 15625) >> 10); drm_rect_debug_print()
293 DRM_DEBUG_KMS("%dx%d%+d%+d\n", w, h, r->x1, r->y1); drm_rect_debug_print()
328 r->y1 = height - tmp.y2; drm_rect_rotate()
329 r->y2 = height - tmp.y1; drm_rect_rotate()
338 r->x1 = tmp.y1; drm_rect_rotate()
340 r->y1 = width - tmp.x2; drm_rect_rotate()
347 r->y1 = height - tmp.y2; drm_rect_rotate()
348 r->y2 = height - tmp.y1; drm_rect_rotate()
353 r->x2 = height - tmp.y1; drm_rect_rotate()
354 r->y1 = tmp.x1; drm_rect_rotate()
399 r->x2 = width - tmp.y1; drm_rect_rotate_inv()
400 r->y1 = tmp.x1; drm_rect_rotate_inv()
407 r->y1 = height - tmp.y2; drm_rect_rotate_inv()
408 r->y2 = height - tmp.y1; drm_rect_rotate_inv()
412 r->x1 = tmp.y1; drm_rect_rotate_inv()
414 r->y1 = height - tmp.x2; 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 Ddrm_plane_helper.c239 .y1 = src_y, drm_primary_helper_update()
245 .y1 = crtc_y, drm_primary_helper_update()
/linux-4.1.27/net/bluetooth/
H A Decc.c549 static void ecc_point_double_jacobian(u64 *x1, u64 *y1, u64 *z1) ecc_point_double_jacobian() argument
558 vli_mod_square_fast(t4, y1); /* t4 = y1^2 */ ecc_point_double_jacobian()
559 vli_mod_mult_fast(t5, x1, t4); /* t5 = x1*y1^2 = A */ ecc_point_double_jacobian()
560 vli_mod_square_fast(t4, t4); /* t4 = y1^4 */ ecc_point_double_jacobian()
561 vli_mod_mult_fast(y1, y1, z1); /* t2 = y1*z1 = z3 */ ecc_point_double_jacobian()
585 vli_mod_sub(t4, x1, t4, curve_p); /* t4 = B * (A - x3) - y1^4 = y3 */ ecc_point_double_jacobian()
588 vli_set(z1, y1); ecc_point_double_jacobian()
589 vli_set(y1, t4); ecc_point_double_jacobian()
592 /* Modify (x1, y1) => (x1 * z^2, y1 * z^3) */ apply_z()
593 static void apply_z(u64 *x1, u64 *y1, u64 *z) apply_z() argument
600 vli_mod_mult_fast(y1, y1, t1); /* y1 * z^3 */ apply_z()
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()
618 apply_z(x1, y1, z); xycz_initial_double()
620 ecc_point_double_jacobian(x1, y1, z); xycz_initial_double()
625 /* Input P = (x1, y1, Z), Q = (x2, y2, Z)
626 * Output P' = (x1', y1', Z3), P + Q = (x3, y3, Z3)
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()
644 vli_mod_mult_fast(y1, y1, x2); /* t2 = y1*(C - B) */ 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()
671 vli_mod_mult_fast(y1, y1, t6); /* t2 = y1 * (C - B) */ 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()
684 vli_mod_sub(y1, t6, y1, curve_p); /* t2 = y3' */ xycz_add_c()
/linux-4.1.27/drivers/video/fbdev/
H A Dauo_k1900fb.c86 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()
99 y1 &= 0xfffe; auok1900_update_region()
103 1, y1+1, xres, y2-y1, mode); auok1900_update_region()
107 args[1] = y1 + 1; auok1900_update_region()
109 args[3] = y2 - y1; auok1900_update_region()
110 buf += y1 * line_length; 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 Dauo_k1901fb.c125 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()
138 y1 &= 0xfffe; auok1901_update_region()
142 1, y1+1, xres, y2-y1, mode); auok1901_update_region()
146 args[1] = y1 + 1; auok1901_update_region()
148 args[3] = y2 - y1; auok1901_update_region()
149 buf += y1 * line_length; auok1901_update_region()
151 args, ((y2 - y1) * line_length)/2, auok1901_update_region()
158 args[2] = y1 + 1; 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 Dxen-fbfront.c43 int x1, y1, x2, y2; /* dirty rectangle, member in struct:xenfb_info
139 int x1, int y1, int w, int h) xenfb_refresh()
143 int y2 = y1 + h - 1; xenfb_refresh()
153 if (info->y1 < y1) xenfb_refresh()
154 y1 = info->y1; xenfb_refresh()
166 info->y1 = y1; xenfb_refresh()
173 info->x1 = info->y1 = INT_MAX; 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
195 y1 = beg / fb_info->fix.line_length; list_for_each_entry()
199 if (miny > y1) list_for_each_entry()
200 miny = y1; list_for_each_entry()
395 info->x1 = info->y1 = INT_MAX; xenfb_probe()
138 xenfb_refresh(struct xenfb_info *info, int x1, int y1, int w, int h) xenfb_refresh() argument
H A Dhgafb.c478 u_int rows, y1, y2; hgafb_copyarea() local
483 y1 = area->sy; hgafb_copyarea()
487 src = rowaddr(info, y1) + (area->sx >> 3); hgafb_copyarea()
490 y1++; hgafb_copyarea()
494 y1 = area->sy + area->height - 1; hgafb_copyarea()
498 src = rowaddr(info, y1) + (area->sx >> 3); hgafb_copyarea()
501 y1--; hgafb_copyarea()
H A Dtridentfb.c233 u32 x1, u32 y1, u32 x2, u32 y2, u32 w, u32 h) blade_copy_rect()
236 u32 s1 = point(x1, y1); blade_copy_rect()
237 u32 s2 = point(x1 + w - 1, y1 + 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()
337 y1_tmp = y1 + h - 1; xp_copy_rect()
340 y1_tmp = y1; xp_copy_rect()
395 u32 x1, u32 y1, u32 x2, u32 y2, u32 w, u32 h) image_copy_rect()
398 u32 s1 = point(x1, y1); image_copy_rect()
399 u32 s2 = point(x1 + w - 1, y1 + 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()
476 y1_tmp = y1 + h - 1; tgui_copy_rect()
479 y1_tmp = y1; 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 Dbroadsheetfb.c863 u16 y1, u16 y2) broadsheetfb_dpy_update_pages()
869 /* y1 must be a multiple of 4 so drop the lower bits */ broadsheetfb_dpy_update_pages()
870 y1 &= 0xFFFC; broadsheetfb_dpy_update_pages()
876 args[2] = y1; broadsheetfb_dpy_update_pages()
884 buf += y1 * par->info->var.xres; broadsheetfb_dpy_update_pages()
885 broadsheet_burst_write(par, ((1 + y2 - y1) * par->info->var.xres)/2, broadsheetfb_dpy_update_pages()
933 u16 y1 = 0, h = 0; broadsheetfb_dpy_deferred_io() local
948 y1 = (cur->index << PAGE_SHIFT) / xres; broadsheetfb_dpy_deferred_io()
955 broadsheetfb_dpy_update_pages(info->par, y1, y1 + h); broadsheetfb_dpy_deferred_io()
957 y1 = (cur->index << PAGE_SHIFT) / xres; broadsheetfb_dpy_deferred_io()
968 broadsheetfb_dpy_update_pages(info->par, y1, broadsheetfb_dpy_deferred_io()
969 min((u16) (y1 + h), yres)); broadsheetfb_dpy_deferred_io()
862 broadsheetfb_dpy_update_pages(struct broadsheetfb_par *par, u16 y1, u16 y2) broadsheetfb_dpy_update_pages() argument
H A Dauo_k190x.h103 void (*update_partial)(struct auok190xfb_par *par, u16 y1, u16 y2);
H A Dauo_k190x.c294 u16 y1 = 0, h = 0; auok190xfb_dpy_deferred_io() local
333 y1 = (cur->index << PAGE_SHIFT) / line_length; auok190xfb_dpy_deferred_io()
340 par->update_partial(par, y1, y1 + h); auok190xfb_dpy_deferred_io()
343 y1 = (cur->index << PAGE_SHIFT) / line_length; auok190xfb_dpy_deferred_io()
354 par->update_partial(par, y1, min((u16) (y1 + h), yres)); auok190xfb_dpy_deferred_io()
H A Dhpfb.c125 static void topcat_blit(int x0, int y0, int x1, int y1, int w, int h, int rr) topcat_blit() argument
139 out_be16(fb_regs + DEST_Y, y1); topcat_blit()
H A Dpxa168fb.h114 #define CFG_CKEY_Y1(y1) ((y1) << 16)
H A Dcg6.c200 u32 x1, y1, z1, color1; member in struct:cg6_fbc
375 sbus_writel(area->sy + area->height - 1, &fbc->y1); cg6_copyarea()
H A Dhyperv_fb.c175 s32 x1, y1; /* top left corner */ member in struct:rect
337 msg.dirt.rect[0].y1 = 0; synthvid_update()
/linux-4.1.27/arch/s390/include/asm/
H A Dsfp-machine.h75 #define __FP_FRAC_ADD_3(r2,r1,r0,x2,x1,x0,y2,y1,y0) ({ \
95 : "d" (y1) : "cc"); \
101 #define __FP_FRAC_SUB_3(r2,r1,r0,x2,x1,x0,y2,y1,y0) ({ \
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)
/linux-4.1.27/kernel/time/
H A Dtimeconv.c48 /* 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
51 long leaps1 = math_div(y1 - 1, 4) - math_div(y1 - 1, 100) leaps_between()
52 + math_div(y1 - 1, 400); leaps_between()
/linux-4.1.27/include/drm/
H A Ddrm_rect.h38 * @y1: vertical starting coordinate (inclusive)
42 int x1, y1, x2, y2; member in struct:drm_rect
60 r->y1 -= dh >> 1; drm_rect_adjust_size()
77 r->y1 += dy; drm_rect_translate()
93 r->y1 /= 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 Dsfp-machine_32.h78 #define __FP_FRAC_ADD_3(r2,r1,r0,x2,x1,x0,y2,y1,y0) \
88 "rI" ((USItype)(y1)), \
93 #define __FP_FRAC_SUB_3(r2,r1,r0,x2,x1,x0,y2,y1,y0) \
103 "rI" ((USItype)(y1)), \
108 #define __FP_FRAC_ADD_4(r3,r2,r1,r0,x3,x2,x1,x0,y3,y2,y1,y0) \
125 "rI" ((USItype)(y1)), \
133 #define __FP_FRAC_SUB_4(r3,r2,r1,r0,x3,x2,x1,x0,y3,y2,y1,y0) \
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)
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/include/uapi/linux/dvb/
H A Dosd.h34 OSD_Open, // (x0,y0,x1,y1,BitPerPixel[2/4/8](color&0x0F),mix[0..15](color&0xF0))
49 OSD_SetColor, // (color,R{x0},G{y0},B{x1},opacity{y1})
73 OSD_SetBlock, // (x0,y0,x1,y1,increment{color},data)
74 // fills pixels x0,y0 through x1,y1 with the content of data[]
81 OSD_FillBlock, // (x0,y0,x1,y1,color)
82 // fills pixels x0,y0 through x1,y1 with the color <col>
84 OSD_Line, // (x0,y0,x1,y1,color)
85 // draw a line from x0,y0 to x1,y1 with the color <col>
87 OSD_Query, // (x0,y0,x1,y1,xasp{color}}), yasp=11
105 int y1; member in struct:osd_cmd_s
/linux-4.1.27/arch/ia64/lib/
H A Didiv64.S61 (p6) fma.s1 f6 = f11, f6, f11 // y1 = y0*e0 + y0
63 (p6) fma.s1 f6 = f6, f7, f6 // y2 = y1*e1 + y1
/linux-4.1.27/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_fb.c62 unsigned y1; member in struct:vmw_fb_par::__anon4601
232 y = par->dirty.y1; vmw_fb_dirty_flush()
236 par->dirty.y1 = par->dirty.y2 = 0; vmw_fb_dirty_flush()
263 unsigned x1, unsigned y1, vmw_fb_dirty_mark()
269 unsigned y2 = y1 + height; vmw_fb_dirty_mark()
274 par->dirty.y1 = y1; vmw_fb_dirty_mark()
284 if (y1 < par->dirty.y1) vmw_fb_dirty_mark()
285 par->dirty.y1 = y1; vmw_fb_dirty_mark()
301 int y1, y2; vmw_deferred_io() local
313 y1 = min / info->fix.line_length;
318 par->dirty.y1 = y1;
535 par->dirty.y1 = par->dirty.y2 = 0; vmw_fb_init()
262 vmw_fb_dirty_mark(struct vmw_fb_par *par, unsigned x1, unsigned y1, unsigned width, unsigned height) vmw_fb_dirty_mark() argument
H A Dvmwgfx_kms.c36 int x1, x2, y1, y2; member in struct:vmw_clip_rect
53 int y1 = max_t(int, clip.y1, rects[i].y1); vmw_clip_cliprects() local
59 if (y1 >= y2) vmw_clip_cliprects()
63 out_rects[k].top = y1; vmw_clip_cliprects()
498 top = clips->y1; do_surface_dirty_sou()
506 top = min_t(int, top, (int)clips_ptr->y1); do_surface_dirty_sou()
523 tmp[i].y1 = clips_ptr->y1 - top; do_surface_dirty_sou()
534 clip.y1 = top - unit->crtc.y; do_surface_dirty_sou()
540 clip.y1 >= unit->crtc.mode.vdisplay || do_surface_dirty_sou()
550 cmd->body.destRect.top = clip.y1; do_surface_dirty_sou()
555 clip.y2 = unit->crtc.mode.vdisplay - clip.y1; do_surface_dirty_sou()
557 clip.y1 = 0 - clip.y1; do_surface_dirty_sou()
622 norect.x1 = norect.y1 = 0; vmw_framebuffer_surface_dirty()
800 cmd[i].body.y = cpu_to_le32(clips->y1); do_dmabuf_dirty_ldu()
802 cmd[i].body.height = cpu_to_le32(clips->y2 - clips->y1); do_dmabuf_dirty_ldu()
897 int clip_y1 = clips_ptr->y1 - unit->crtc.y; do_dmabuf_dirty_sou()
920 blits[hit_num].body.srcOrigin.y = clips_ptr->y1 - move_y; do_dmabuf_dirty_sou()
972 norect.x1 = norect.y1 = 0; vmw_framebuffer_dmabuf_dirty()
1294 tmp[i].y1 = clips[i].y - top; vmw_kms_present()
1304 clip.y1 = top + destY - unit->crtc.y; vmw_kms_present()
1310 clip.y1 >= unit->crtc.mode.vdisplay || vmw_kms_present()
1320 cmd->body.destRect.top = clip.y1; vmw_kms_present()
1325 clip.y2 = unit->crtc.mode.vdisplay - clip.y1; vmw_kms_present()
1327 clip.y1 = 0 - clip.y1; vmw_kms_present()
1745 clips.x1 = clips.y1 = 0; vmw_du_page_flip()
/linux-4.1.27/drivers/gpu/drm/nouveau/dispnv04/
H A Dtvnv17.h117 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/drivers/input/touchscreen/
H A Dmc13783_ts.c74 int x0, x1, x2, y0, y1, y2; mc13783_ts_report_sample() local
85 y1 = (priv->sample[0] >> 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()
105 input_report_abs(idev, ABS_Y, y1); mc13783_ts_report_sample()
108 x1, y1, 0x1000 - cr0); mc13783_ts_report_sample()
/linux-4.1.27/drivers/gpu/drm/qxl/
H A Dqxl_fb.c71 unsigned y1; member in struct:qxl_fbdev::__anon4333
108 u32 x1, x2, y1, y2; qxl_fb_dirty_flush() local
115 y1 = qfbdev->dirty.y1; qxl_fb_dirty_flush()
120 qxl_io_log(qdev, "dirty x[%d, %d], y[%d, %d]", x1, x2, y1, y2); qxl_fb_dirty_flush()
122 image->dy = y1; qxl_fb_dirty_flush()
124 image->height = y2 - y1; qxl_fb_dirty_flush()
135 image->data = qfbdev->shadow + (x1 * 4) + (stride * y1); qxl_fb_dirty_flush()
141 qfbdev->dirty.y1 = 0; qxl_fb_dirty_flush()
151 int y1, y2; qxl_deferred_io() local
163 y1 = min / info->fix.line_length;
169 qfbdev->dirty.y1 = y1;
H A Dqxl_draw.c301 top = clips->y1; qxl_draw_dirty_fb()
309 top = min_t(int, top, (int)clips_ptr->y1); qxl_draw_dirty_fb()
381 rects[i].top = clips_ptr->y1; qxl_draw_dirty_fb()
H A Dqxl_display.c232 .y1 = 0, qxl_crtc_page_flip()
495 norect.x1 = norect.y1 = 0; qxl_framebuffer_surface_dirty()
/linux-4.1.27/drivers/iio/pressure/
H A Dmpl115.c52 int a1, y1, pcomp; mpl115_comp_pressure() local
72 y1 = (data->a0 << 10) + a1 * padc; mpl115_comp_pressure()
75 pcomp = (y1 + ((data->b2 * (int) tadc) >> 1)) >> 9; mpl115_comp_pressure()
/linux-4.1.27/include/math-emu/
H A Dop-4.h516 #define __FP_FRAC_ADD_3(r2,r1,r0,x2,x1,x0,y2,y1,y0) \
521 r1 = x1 + y1; \
530 #define __FP_FRAC_ADD_4(r3,r2,r1,r0,x3,x2,x1,x0,y3,y2,y1,y0) \
535 r1 = x1 + y1; \
548 #define __FP_FRAC_SUB_3(r2,r1,r0,x2,x1,x0,y2,y1,y0) \
553 r1 = x1 - y1; \
562 #define __FP_FRAC_SUB_4(r3,r2,r1,r0,x3,x2,x1,x0,y3,y2,y1,y0) \
567 r1 = x1 - y1; \
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/omapdrm/
H A Dtcm-sita.h87 void assign(struct tcm_area *a, u16 x0, u16 y0, u16 x1, u16 y1) assign() argument
92 a->p1.y = y1; assign()
H A Domap_dmm_tiler.h34 u32 y1:8; member in struct:pat_area
H A Domap_dmm_tiler.c212 int rows = (1 + area->y1 - area->y0); dmm_txn_append()
224 pat->area.y1 += engine->tcm->y_offset; dmm_txn_append()
318 .x1 = slice.p1.x, .y1 = slice.p1.y, fill()
/linux-4.1.27/arch/sh/include/asm/
H A Dswitch_to_32.h24 "movs.l @r2+, y1\n\t" \
43 "movs.l y1, @-r2\n\t" \
/linux-4.1.27/arch/m68k/lib/
H A Dmulsi3.S90 muluw sp@(10), d0 /* x0*y1 */
101 muluw sp@(10), d1 /* x1*y1 */
/linux-4.1.27/drivers/gpu/drm/cirrus/
H A Dcirrus_fbdev.c54 if (afbdev->y1 < y) cirrus_dirty_update()
55 y = afbdev->y1; cirrus_dirty_update()
66 afbdev->y1 = y; cirrus_dirty_update()
72 afbdev->x1 = afbdev->y1 = INT_MAX; cirrus_dirty_update()
H A Dcirrus_drv.h159 int x1, y1, x2, y2; /* dirty rect */ member in struct:cirrus_fbdev
/linux-4.1.27/drivers/gpu/drm/i2c/
H A Dch7006_priv.h158 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/gpu/drm/mgag200/
H A Dmgag200_fb.c57 if (mfbdev->y1 < y) mga_dirty_update()
58 y = mfbdev->y1; mga_dirty_update()
69 mfbdev->y1 = y; mga_dirty_update()
75 mfbdev->x1 = mfbdev->y1 = INT_MAX; mga_dirty_update()
H A Dmgag200_drv.h120 int x1, y1, x2, y2; /* dirty rect */ member in struct:mga_fbdev
/linux-4.1.27/arch/sh/include/uapi/asm/
H A Dptrace_32.h69 unsigned long y1; member in struct:pt_dspregs
/linux-4.1.27/drivers/gpu/drm/udl/
H A Dudl_fb.c194 if (fb->y1 < y) udl_handle_damage()
195 y = fb->y1; udl_handle_damage()
206 fb->y1 = y; udl_handle_damage()
212 fb->x1 = fb->y1 = INT_MAX; udl_handle_damage()
420 ret = udl_handle_damage(ufb, clips[i].x1, clips[i].y1, udl_user_framebuffer_dirty()
422 clips[i].y2 - clips[i].y1); udl_user_framebuffer_dirty()
H A Dudl_drv.h84 int x1, y1, x2, y2; /* dirty rect */ member in struct:udl_framebuffer
/linux-4.1.27/drivers/input/mouse/
H A Delantech.c274 * 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()
314 unsigned int x1, unsigned int y1, elantech_report_semi_mt_data()
317 elantech_set_slot(dev, 0, num_fingers != 0, x1, y1); 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()
355 y1 = etd->y_max - (((packet[4] & 0x0f) << 8) | packet[5]); elantech_report_absolute_v2()
370 y1 = etd->y_max - elantech_report_absolute_v2()
390 input_report_abs(dev, ABS_Y, y1); 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()
489 y1 = etd->y_max - (((packet[4] & 0x0f) << 8) | packet[5]); elantech_report_absolute_v3()
513 y1 = etd->mt[0].y; elantech_report_absolute_v3()
525 input_report_abs(dev, ABS_Y, y1); 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 Dhgpk.c283 * 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 Dmga_state.c63 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()
513 MGA_YDSTLEN, (box->y1 << 16) | height, mga_dma_dispatch_clear()
529 MGA_YDSTLEN, (box->y1 << 16) | height, mga_dma_dispatch_clear()
545 MGA_YDSTLEN, (box->y1 << 16) | height, mga_dma_dispatch_clear()
601 u32 height = box->y2 - box->y1; mga_dma_dispatch_swap()
602 u32 start = box->y1 * dev_priv->front_pitch; mga_dma_dispatch_swap()
605 box->x1, box->y1, box->x2, box->y2); mga_dma_dispatch_swap()
610 MGA_YDSTLEN + MGA_EXEC, (box->y1 << 16) | height); mga_dma_dispatch_swap()
796 int srcy = pbox[i].y1 + blit->delta_sy; mga_dma_dispatch_blit()
798 int dsty = pbox[i].y1 + blit->delta_dy; mga_dma_dispatch_blit()
799 int h = pbox[i].y2 - pbox[i].y1; mga_dma_dispatch_blit()
/linux-4.1.27/drivers/media/usb/gspca/
H A Dw996Xcf.c360 y1 = v0 + hw_bufsize / 4, w9968cf_init() local
361 u1 = y1 + hw_bufsize / 2, w9968cf_init()
377 reg_w(sd, 0x22, y1 & 0xffff); /* Y buf.1, low */ w9968cf_init()
378 reg_w(sd, 0x23, y1 >> 16); /* Y buf.1, high */ w9968cf_init()
384 reg_w(sd, 0x32, y1 & 0xffff); /* JPEG buf 0 low */ w9968cf_init()
385 reg_w(sd, 0x33, y1 >> 16); /* JPEG buf 0 high */ w9968cf_init()
387 reg_w(sd, 0x34, y1 & 0xffff); /* JPEG buf 1 low */ w9968cf_init()
388 reg_w(sd, 0x35, y1 >> 16); /* JPEG bug 1 high */ w9968cf_init()
/linux-4.1.27/tools/perf/util/
H A Dsvghelper.c486 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/drivers/gpu/drm/ast/
H A Dast_fb.c81 if (afbdev->y1 < y) ast_dirty_update()
82 y = afbdev->y1; ast_dirty_update()
93 afbdev->y1 = y; ast_dirty_update()
99 afbdev->x1 = afbdev->y1 = INT_MAX; ast_dirty_update()
H A Dast_drv.h263 int x1, y1, x2, y2; /* dirty rect */ member in struct:ast_fbdev
/linux-4.1.27/include/video/
H A Dauo_k190xfb.h54 void (*update_partial)(struct auok190xfb_par *par, u16 y1, u16 y2);
/linux-4.1.27/arch/arm/mach-pxa/
H A Dtavorevb.c332 SMART_DAT(0x00), /* y1, 10 */
333 SMART_DAT(0x00), /* y1, 11 */
344 SMART_DAT(0x00), /* y1, 22 */
345 SMART_DAT(0x00), /* y1, 23 */
/linux-4.1.27/drivers/gpu/drm/i915/
H A Dintel_atomic_plane.c135 intel_state->src.y1 = state->src_y; intel_plane_atomic_check()
139 intel_state->dst.y1 = state->crtc_y; intel_plane_atomic_check()
145 intel_state->clip.y1 = 0; intel_plane_atomic_check()
H A Dintel_sprite.c918 crtc_y = dst->y1; intel_check_sprite_plane()
952 src->y1 < (int) state->base.src_y || intel_check_sprite_plane()
964 src_y = src->y1 >> 16; intel_check_sprite_plane()
1011 src->y1 = src_y; intel_check_sprite_plane()
1017 dst->y1 = crtc_y; intel_check_sprite_plane()
1081 crtc_y = state->dst.y1; intel_commit_sprite_plane()
1085 src_y = state->src.y1; intel_commit_sprite_plane()
H A Di915_gem_execbuffer.c1103 if (box->y2 <= box->y1 || box->x2 <= box->x1 || i915_emit_box()
1106 box->x1, box->y1, box->x2, box->y2); i915_emit_box()
1116 intel_ring_emit(ring, (box->x1 & 0xffff) | box->y1 << 16); i915_emit_box()
1126 intel_ring_emit(ring, (box->x1 & 0xffff) | box->y1 << 16); i915_emit_box()
H A Dintel_display.c12541 crtc->y = src->y1 >> 16; intel_commit_primary_plane()
/linux-4.1.27/drivers/media/pci/ttpci/
H A Dav7110_hw.c1008 int x1, int y1, int inc, u8 __user * data) OSDSetBlock()
1015 h = y1 - y0 + 1; OSDSetBlock()
1076 dc->x1 - dc->x0 + 1, dc->y1 - dc->y0 + 1); av7110_osd_cmd()
1099 ret = OSDSetColor(av7110, dc->color, dc->x0, dc->y0, dc->x1, dc->y1); av7110_osd_cmd()
1128 dc->y1 = dc->y0; av7110_osd_cmd()
1131 ret = OSDSetBlock(av7110, dc->x0, dc->y0, dc->x1, dc->y1, dc->color, dc->data); av7110_osd_cmd()
1135 dc->x1-dc->x0+1, dc->y1, dc->color); av7110_osd_cmd()
1139 dc->x1 - dc->x0 + 1, dc->y1 - dc->y0 + 1, dc->color); av7110_osd_cmd()
1143 dc->x0, dc->y0, dc->x1 - dc->x0, dc->y1 - dc->y0, dc->color); av7110_osd_cmd()
1187 dc->x1 - dc->x0 + 1, dc->y1 - dc->y0 + 1); av7110_osd_cmd()
1007 OSDSetBlock(struct av7110 *av7110, int x0, int y0, int x1, int y1, int inc, u8 __user * data) OSDSetBlock() argument
/linux-4.1.27/drivers/video/fbdev/nvidia/
H A Dnv_accel.c187 static void NVSetClippingRectangle(struct fb_info *info, int x1, int y1, NVSetClippingRectangle() argument
191 int h = y2 - y1 + 1; NVSetClippingRectangle()
195 NVDmaNext(par, (y1 << 16) | x1); NVSetClippingRectangle()
/linux-4.1.27/drivers/gpu/drm/radeon/
H A Dr600_blit.c294 set_scissors(drm_radeon_private_t *dev_priv, int x1, int y1, int x2, int y2) set_scissors() argument
302 OUT_RING((x1 << 0) | (y1 << 16)); set_scissors()
307 OUT_RING((x1 << 0) | (y1 << 16) | (1 << 31)); set_scissors()
312 OUT_RING((x1 << 0) | (y1 << 16) | (1 << 31)); set_scissors()
H A Dr300_cmdbuf.c90 box.y1 = (box.y1) & r300_emit_cliprects()
99 box.y1 = (box.y1 + R300_CLIPRECT_OFFSET) & r300_emit_cliprects()
108 (box.y1 << R300_CLIPRECT_Y_SHIFT)); r300_emit_cliprects()
H A Dradeon_state.c454 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()
459 OUT_RING((box->y1 << 16) | box->x1); radeon_emit_clip_rect()
775 y += master_priv->sarea_priv->boxes[0].y1; radeon_clear_box()
929 int y = pbox[i].y1; radeon_cp_dispatch_clear()
1059 ((pbox[i].y1 >> 3) * depthpixperline + radeon_cp_dispatch_clear()
1065 (pbox[i].y2 >> 3) - (pbox[i].y1 >> 3); radeon_cp_dispatch_clear()
1083 ((pbox[i].y1 >> 3) * depthpixperline + radeon_cp_dispatch_clear()
1088 (pbox[i].y2 >> 3) - (pbox[i].y1 >> 3); radeon_cp_dispatch_clear()
1110 ((pbox[i].y1 >> 4) * depthpixperline + radeon_cp_dispatch_clear()
1116 (pbox[i].y2 >> 4) - (pbox[i].y1 >> 4); radeon_cp_dispatch_clear()
1400 int y = pbox[i].y1; radeon_cp_dispatch_swap()
H A Dr600_cp.c2453 int y = pbox[i].y1; r600_cp_dispatch_swap()
/linux-4.1.27/drivers/gpu/drm/savage/
H A Dsavage_state.c36 (((uint32_t) pbox->y1 << 16) & 0x07ff0000); savage_emit_clip_rect_s3d()
62 (((uint32_t) pbox->y1 << 12) & 0x00fff000); savage_emit_clip_rect_s4()
824 x = boxes[i].x1, y = boxes[i].y1; savage_dispatch_clear()
826 h = boxes[i].y2 - boxes[i].y1; savage_dispatch_clear()
882 DMA_WRITE(BCI_X_Y(boxes[i].x1, boxes[i].y1)); savage_dispatch_swap()
883 DMA_WRITE(BCI_X_Y(boxes[i].x1, boxes[i].y1)); savage_dispatch_swap()
885 boxes[i].y2 - boxes[i].y1)); savage_dispatch_swap()
/linux-4.1.27/drivers/net/wireless/ath/carl9170/
H A Dphy.c1068 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()
1072 return y1; carl9170_interpolate_s32()
1076 return y1; carl9170_interpolate_s32()
1082 return y1; 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/net/sched/
H A Dsch_hfsc.c558 u64 y1, y2, dx, dy; rtsc_min() local
563 y1 = rtsc_x2y(rtsc, x); rtsc_min()
564 if (y1 < y) rtsc_min()
575 * y1: at x rtsc_min()
578 y1 = rtsc_x2y(rtsc, x); rtsc_min()
579 if (y1 <= y) { rtsc_min()
598 * seg_x2y(dx, sm1) == seg_x2y(dx, sm2) + (y1 - y) rtsc_min()
600 dx = (y1 - y) << SM_SHIFT; rtsc_min()
604 * check if (x, y1) belongs to the 1st segment of rtsc. rtsc_min()
/linux-4.1.27/drivers/media/usb/uvc/
H A Duvc_video.c610 u32 y1, y2; uvc_video_clock_update() local
633 y1 = (first->dev_sof + 2048) << 16; uvc_video_clock_update()
635 if (y2 < y1) uvc_video_clock_update()
638 y = (u64)(y2 - y1) * (1ULL << 31) + (u64)y1 * (u64)x2 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()
660 y1 = NSEC_PER_SEC; uvc_video_clock_update()
674 y = (u64)(y2 - y1) * (u64)sof + (u64)y1 * (u64)x2 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 Di810_dma.c617 unsigned int y = pbox->y1; i810_dma_dispatch_clear()
623 pbox->y1 > pbox->y2 || i810_dma_dispatch_clear()
682 unsigned int h = pbox->y2 - pbox->y1; i810_dma_dispatch_swap()
683 unsigned int dst = pbox->x1 * cpp + pbox->y1 * pitch; i810_dma_dispatch_swap()
687 pbox->y1 > pbox->y2 || i810_dma_dispatch_swap()
753 OUT_RING(box[i].x1 | (box[i].y1 << 16)); i810_dma_dispatch_vertex()
/linux-4.1.27/drivers/gpu/drm/r128/
H A Dr128_state.c52 OUT_RING(boxes[0].y1); r128_emit_clip_rects()
61 OUT_RING(boxes[1].y1); r128_emit_clip_rects()
70 OUT_RING(boxes[2].y1); r128_emit_clip_rects()
375 int y = pbox[i].y1; r128_cce_dispatch_clear()
380 pbox[i].x1, pbox[i].y1, pbox[i].x2, r128_cce_dispatch_clear()
475 int y = pbox[i].y1; r128_cce_dispatch_swap()
/linux-4.1.27/arch/arm/crypto/
H A Dbsaes-armv7.pl171 #;* Mul_GF4: Input x0-x1,y0-y1 Output x0-x1 Temp t0 (8) *
173 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/sound/pci/au88x0/
H A Dau88x0_a3d.c89 a3dsrc_SetAtmosState(a3dsrc_t * a, short x1, short x2, short y1, short y2) a3dsrc_SetAtmosState() argument
94 hwwrite(vortex->mmio, a3d_addrA(a->slice, a->source, A3D_A_y1), y1); a3dsrc_SetAtmosState()
127 a3dsrc_GetAtmosState(a3dsrc_t * a, short *x1, short *x2, short *y1, short *y2)
/linux-4.1.27/drivers/gpu/drm/rockchip/
H A Drockchip_drm_vop.c594 .y1 = crtc_y, vop_update_plane_event()
601 .y1 = src_y, vop_update_plane_event()
636 actual_h = (src.y2 - src.y1) >> 16; vop_update_plane_event()
644 offset += (src.y1 >> 16) * fb->pitches[0]; vop_update_plane_event()
/linux-4.1.27/arch/arm/mach-omap2/
H A Dmux34xx.c813 _OMAP3_BALLENTRY(GPMC_D9, "y1", "t1"),
1231 _OMAP3_BALLENTRY(SDMMC2_CLK, "y1", NULL),
1480 _OMAP3_BALLENTRY(GPMC_D15, "y1", "ac7"),
1485 _OMAP3_BALLENTRY(GPMC_NCS1, "h3", "y1"),
1909 _OMAP3_BALLENTRY(GPMC_D15, "y1", "ac7"),
1913 _OMAP3_BALLENTRY(GPMC_NCS1, "h3", "y1"),
/linux-4.1.27/drivers/video/fbdev/omap2/displays-new/
H A Dpanel-dsi-cm.c204 u16 y1 = y; dsicm_set_update_window() local
219 buf[1] = (y1 >> 8) & 0xff; dsicm_set_update_window()
220 buf[2] = (y1 >> 0) & 0xff; dsicm_set_update_window()
/linux-4.1.27/drivers/net/wireless/iwlegacy/
H A D4965.c661 il4965_interpolate_value(s32 x, s32 x1, s32 y1, s32 x2, s32 y2) il4965_interpolate_value() argument
666 return y1; il4965_interpolate_value()
668 il4965_math_div_round((x2 - x) * (y1 - y2), (x2 - x1), &val); il4965_interpolate_value()
/linux-4.1.27/drivers/hid/
H A Dhid-wiimote-modules.c1823 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()
1839 wdata->state.calib_pro_sticks[1] = y1; wiimod_pro_calib_store()
H A Dwacom_wac.c1014 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/drivers/video/fbdev/mmp/hw/
H A Dmmp_ctrl.h302 #define CFG_CKEY_Y1(y1) ((y1)<<16)
/linux-4.1.27/drivers/power/
H A Dab8500_fg.c57 #define interpolate(x, x1, y1, x2, y2) \
58 ((y1) + ((((y2) - (y1)) * ((x) - (x1))) / ((x2) - (x1))));
/linux-4.1.27/
H A DMakefile901 libs-y1 := $(patsubst %/, %/lib.a, $(libs-y))
903 libs-y := $(libs-y1) $(libs-y2)
/linux-4.1.27/arch/tile/kernel/
H A Dunaligned.c154 * Test if a bundle's y0 and y1 pipelines are both nop or fnop.
/linux-4.1.27/include/uapi/drm/
H A Ddrm.h87 unsigned short y1; member in struct:drm_clip_rect
/linux-4.1.27/arch/powerpc/include/asm/
H A Dio.h137 __asm__ __volatile__("sync;"#insn" %0,%y1;twi 0,%0,0;isync" \
/linux-4.1.27/net/core/
H A Ddev.c6610 * unregister_netdevice(y1);
6614 * free_netdev(y1);

Completed in 5911 milliseconds