Lines Matching refs:axis
25 #define OFSX 0x1E /* R/W X-axis offset */
26 #define OFSY 0x1F /* R/W Y-axis offset */
27 #define OFSZ 0x20 /* R/W Z-axis offset */
122 * Maximum value our axis may get in full res mode for the input device
128 * Maximum value our axis may get in fixed res mode for the input device
238 static void adxl34x_get_triple(struct adxl34x *ac, struct axis_triple *axis)
246 axis->x = ac->saved.x;
249 axis->y = ac->saved.y;
252 axis->z = ac->saved.z;
259 struct axis_triple axis;
261 adxl34x_get_triple(ac, &axis);
264 axis.x - ac->swcal.x);
266 axis.y - ac->swcal.y);
268 axis.z - ac->swcal.z);