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

/linux-4.1.27/drivers/input/misc/
H A Dadxl34x.c196 struct axis_triple hwcal; member in struct:adxl34x
490 ac->hwcal.x * 4 + ac->swcal.x, adxl34x_calibrate_show()
491 ac->hwcal.y * 4 + ac->swcal.y, adxl34x_calibrate_show()
492 ac->hwcal.z * 4 + ac->swcal.z); adxl34x_calibrate_show()
510 ac->hwcal.x -= (ac->saved.x / 4); adxl34x_calibrate_store()
513 ac->hwcal.y -= (ac->saved.y / 4); adxl34x_calibrate_store()
516 ac->hwcal.z -= (ac->saved.z / 4); adxl34x_calibrate_store()
519 AC_WRITE(ac, OFSX, (s8) ac->hwcal.x); adxl34x_calibrate_store()
520 AC_WRITE(ac, OFSY, (s8) ac->hwcal.y); adxl34x_calibrate_store()
521 AC_WRITE(ac, OFSZ, (s8) ac->hwcal.z); adxl34x_calibrate_store()
830 ac->hwcal.x = pdata->x_axis_offset; adxl34x_probe()
832 ac->hwcal.y = pdata->y_axis_offset; adxl34x_probe()
834 ac->hwcal.z = pdata->z_axis_offset; adxl34x_probe()

Completed in 75 milliseconds