Lines Matching full:axis
3 * ADXL345/346 Three-Axis Digital Accelerometers
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 */
34 #define ACT_INACT_CTL 0x27 /* R/W Axis enable control for activity and */
38 #define TAP_AXES 0x2A /* R/W Axis control for tap/double tap */
46 #define DATAX0 0x32 /* R X-Axis Data 0 */
47 #define DATAX1 0x33 /* R X-Axis Data 1 */
48 #define DATAY0 0x34 /* R Y-Axis Data 0 */
49 #define DATAY1 0x35 /* R Y-Axis Data 1 */
50 #define DATAZ0 0x36 /* R Z-Axis Data 0 */
51 #define DATAZ1 0x37 /* R Z-Axis Data 1 */
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) in adxl34x_get_triple() argument
246 axis->x = ac->saved.x; in adxl34x_get_triple()
249 axis->y = ac->saved.y; in adxl34x_get_triple()
252 axis->z = ac->saved.z; in adxl34x_get_triple()
259 struct axis_triple axis; in adxl34x_service_ev_fifo() local
261 adxl34x_get_triple(ac, &axis); in adxl34x_service_ev_fifo()
264 axis.x - ac->swcal.x); in adxl34x_service_ev_fifo()
266 axis.y - ac->swcal.y); in adxl34x_service_ev_fifo()
268 axis.z - ac->swcal.z); in adxl34x_service_ev_fifo()
912 MODULE_DESCRIPTION("ADXL345/346 Three-Axis Digital Accelerometer Driver");