Home
last modified time | relevance | path

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

/linux-6.15/drivers/input/misc/
H A Dadxl34x.c196 struct axis_triple hwcal; member
490 ac->hwcal.x * 4 + ac->swcal.x, in adxl34x_calibrate_show()
508 ac->hwcal.x -= (ac->saved.x / 4); in adxl34x_calibrate_store()
511 ac->hwcal.y -= (ac->saved.y / 4); in adxl34x_calibrate_store()
514 ac->hwcal.z -= (ac->saved.z / 4); in adxl34x_calibrate_store()
517 AC_WRITE(ac, OFSX, (s8) ac->hwcal.x); in adxl34x_calibrate_store()
518 AC_WRITE(ac, OFSY, (s8) ac->hwcal.y); in adxl34x_calibrate_store()
519 AC_WRITE(ac, OFSZ, (s8) ac->hwcal.z); in adxl34x_calibrate_store()
808 ac->hwcal.x = pdata->x_axis_offset; in adxl34x_probe()
810 ac->hwcal.y = pdata->y_axis_offset; in adxl34x_probe()
[all …]