Home
last modified time | relevance | path

Searched refs:x_old (Results 1 – 2 of 2) sorted by relevance

/drivers/input/mouse/
Dappletouch.c208 int x_old; /* last reported x/y, */ member
569 dev->x_old = dev->y_old = -1; in atp_complete_geyser_1_2()
605 if (dev->x_old != -1) { in atp_complete_geyser_1_2()
606 x = (dev->x_old * 7 + x) >> 3; in atp_complete_geyser_1_2()
608 dev->x_old = x; in atp_complete_geyser_1_2()
623 dev->x_old = x; in atp_complete_geyser_1_2()
628 dev->x_old = dev->y_old = -1; in atp_complete_geyser_1_2()
639 dev->x_old = dev->y_old = -1; in atp_complete_geyser_1_2()
725 if (dev->x_old != -1) { in atp_complete_geyser_3_4()
726 x = (dev->x_old * 7 + x) >> 3; in atp_complete_geyser_3_4()
[all …]
/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dppevvmath.h402 fInt x_new, x_old, C, y; in fSqrt() local
433 x_old.full = x_new.full; in fSqrt()
435 test = fGetSquare(x_old); /*1.75*1.75 is reverting back to 1 when shifted down */ in fSqrt()
438 Fprime = fMultiply(twoShifted, x_old); in fSqrt()
441 x_new = fSubtract(x_old, F_divide_Fprime); in fSqrt()
443 error = ConvertBackToInteger(x_new) - ConvertBackToInteger(x_old); in fSqrt()