Lines Matching defs:axis
91 * over the axis array size
113 module_param_array_named(axes, lis3_dev.ac.as_array, axis, NULL, 0644);
149 * lis3lv02d_get_axis - For the given axis, give the value converted
150 * @axis: 1,2,3 - can also be negative
155 static inline int lis3lv02d_get_axis(s8 axis, int hw_values[3])
157 if (axis > 0)
158 return hw_values[axis - 1];
160 return -hw_values[-axis - 1];
164 * lis3lv02d_get_xyz - Get X, Y and Z axis values from the accelerometer
166 * @x: where to store the X axis value
167 * @y: where to store the Y axis value
168 * @z: where to store the Z axis value
306 /* Read directly to avoid axis remap */
396 /* disable X,Y,Z axis and power down */
1082 if (of_property_read_s32(np, "st,axis-x", &sval) == 0)
1084 if (of_property_read_s32(np, "st,axis-y", &sval) == 0)
1086 if (of_property_read_s32(np, "st,axis-z", &sval) == 0)
1267 MODULE_DESCRIPTION("ST LIS3LV02Dx three-axis digital accelerometer driver");