Searched defs:axis (Results 1 - 7 of 7) sorted by relevance
/drivers/input/misc/ |
H A D | rotary_encoder.c | 34 unsigned int axis; member in struct:rotary_encoder 63 pdata->axis, encoder->dir ? -1 : 1); 83 input_report_abs(encoder->input, pdata->axis, encoder->pos); 176 input->relbit[0] = BIT_MASK(pdata->axis); 180 pdata->axis, 0, pdata->steps, 0, 1);
|
H A D | mpu3050.c | 2 * MPU3050 Tri-axis gyroscope driver 242 struct axis_data axis; local 244 mpu3050_read_xyz(sensor->client, &axis); 246 input_report_abs(sensor->idev, ABS_X, axis.x); 247 input_report_abs(sensor->idev, ABS_Y, axis.y); 248 input_report_abs(sensor->idev, ABS_Z, axis.z); 481 MODULE_DESCRIPTION("MPU3050 Tri-axis gyroscope driver");
|
H A D | adxl34x.c | 26 #define OFSX 0x1E /* R/W X-axis offset */ 27 #define OFSY 0x1F /* R/W Y-axis offset */ 28 #define OFSZ 0x20 /* R/W Z-axis offset */ 123 * Maximum value our axis may get in full res mode for the input device 129 * Maximum value our axis may get in fixed res mode for the input device 239 static void adxl34x_get_triple(struct adxl34x *ac, struct axis_triple *axis) argument 247 axis->x = ac->saved.x; 250 axis->y = ac->saved.y; 253 axis->z = ac->saved.z; 260 struct axis_triple axis; local [all...] |
/drivers/staging/comedi/drivers/ |
H A D | adl_pci8164.c | 236 int axis, axis_reg; local 239 axis = CR_CHAN(insn->chanspec); 241 switch (axis) { 265 "%04X:%04X on axis %s\n", 315 unsigned int axis, axis_reg; local 319 axis = CR_CHAN(insn->chanspec); 321 switch (axis) { 346 "%04X:%04X on axis %s\n",
|
H A D | jr3_pci.c | 290 int axis, filter; local 292 axis = channel % 8; 298 switch (axis) {
|
/drivers/misc/lis3lv02d/ |
H A D | lis3lv02d.c | 94 * over the axis array size 116 module_param_array_named(axes, lis3_dev.ac.as_array, axis, NULL, 0644); 139 * lis3lv02d_get_axis - For the given axis, give the value converted 140 * @axis: 1,2,3 - can also be negative 145 static inline int lis3lv02d_get_axis(s8 axis, int hw_values[3]) argument 147 if (axis > 0) 148 return hw_values[axis - 1]; 150 return -hw_values[-axis - 1]; 154 * lis3lv02d_get_xyz - Get X, Y and Z axis values from the accelerometer 156 * @x: where to store the X axis valu [all...] |
/drivers/input/ |
H A D | input.c | 345 * axis, etc. 411 void input_set_abs_params(struct input_dev *dev, unsigned int axis, argument 420 absinfo = &dev->absinfo[axis]; 426 dev->absbit[BIT_WORD(axis)] |= BIT_MASK(axis);
|
Completed in 119 milliseconds