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

/linux-master/drivers/input/misc/
H A Dadxl34x.c196 struct axis_triple hwcal; member in struct:adxl34x
496 ac->hwcal.x * 4 + ac->swcal.x,
497 ac->hwcal.y * 4 + ac->swcal.y,
498 ac->hwcal.z * 4 + ac->swcal.z);
516 ac->hwcal.x -= (ac->saved.x / 4);
519 ac->hwcal.y -= (ac->saved.y / 4);
522 ac->hwcal.z -= (ac->saved.z / 4);
525 AC_WRITE(ac, OFSX, (s8) ac->hwcal.x);
526 AC_WRITE(ac, OFSY, (s8) ac->hwcal.y);
527 AC_WRITE(ac, OFSZ, (s8) ac->hwcal
[all...]

Completed in 96 milliseconds