Lines Matching refs:saved
197 struct axis_triple saved; member
245 ac->saved.x = (s16) le16_to_cpu(buf[0]); in adxl34x_get_triple()
246 axis->x = ac->saved.x; in adxl34x_get_triple()
248 ac->saved.y = (s16) le16_to_cpu(buf[1]); in adxl34x_get_triple()
249 axis->y = ac->saved.y; in adxl34x_get_triple()
251 ac->saved.z = (s16) le16_to_cpu(buf[2]); in adxl34x_get_triple()
252 axis->z = ac->saved.z; in adxl34x_get_triple()
516 ac->hwcal.x -= (ac->saved.x / 4); in adxl34x_calibrate_store()
517 ac->swcal.x = ac->saved.x % 4; in adxl34x_calibrate_store()
519 ac->hwcal.y -= (ac->saved.y / 4); in adxl34x_calibrate_store()
520 ac->swcal.y = ac->saved.y % 4; in adxl34x_calibrate_store()
522 ac->hwcal.z -= (ac->saved.z / 4); in adxl34x_calibrate_store()
523 ac->swcal.z = ac->saved.z % 4; in adxl34x_calibrate_store()
617 ac->saved.x, ac->saved.y, ac->saved.z); in adxl34x_position_show()