Searched refs:oy2 (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/iio/magnetometer/ |
H A D | yamaha-yas530.c | 1166 static int yas530_set_offsets(struct yas5xx *yas5xx, s8 ox, s8 oy1, s8 oy2) in yas530_set_offsets() argument 1176 return regmap_write(yas5xx->map, YAS530_OFFSET_Y2, oy2); in yas530_set_offsets() 1196 s8 ox, oy1, oy2; in yas530_measure_offsets() local 1231 oy2 = 0; in yas530_measure_offsets() 1234 ret = yas530_set_offsets(yas5xx, ox, oy1, oy2); in yas530_measure_offsets() 1246 oy2 = yas530_adjust_offset(oy2, i, center, y2); in yas530_measure_offsets() 1252 yas5xx->hard_offsets[2] = oy2; in yas530_measure_offsets() 1253 ret = yas530_set_offsets(yas5xx, ox, oy1, oy2); in yas530_measure_offsets() 1258 ox, oy1, oy2); in yas530_measure_offsets()
|