Home
last modified time | relevance | path

Searched refs:axis (Results 1 – 85 of 85) sorted by relevance

/linux-4.4.14/drivers/input/touchscreen/
Dof_touchscreen.c36 unsigned long axis, in touchscreen_set_params() argument
41 if (!test_bit(axis, dev->absbit)) { in touchscreen_set_params()
44 axis); in touchscreen_set_params()
48 absinfo = &dev->absinfo[axis]; in touchscreen_set_params()
66 unsigned int axis; in touchscreen_parse_properties() local
74 axis = multitouch ? ABS_MT_POSITION_X : ABS_X; in touchscreen_parse_properties()
77 axis) + 1, in touchscreen_parse_properties()
80 input_abs_get_fuzz(input, axis), in touchscreen_parse_properties()
83 touchscreen_set_params(input, axis, maximum - 1, fuzz); in touchscreen_parse_properties()
85 axis = multitouch ? ABS_MT_POSITION_Y : ABS_Y; in touchscreen_parse_properties()
[all …]
Dcyttsp4_core.c748 int *axis, int size, int max, u8 *xy_data, int bofs) in cyttsp4_get_touch_axis() argument
753 for (nbyte = 0, *axis = 0, next = 0; nbyte < size; nbyte++) { in cyttsp4_get_touch_axis()
757 __func__, *axis, *axis, size, max, xy_data, next, in cyttsp4_get_touch_axis()
759 *axis = (*axis * 256) + (xy_data[next] >> bofs); in cyttsp4_get_touch_axis()
763 *axis &= max - 1; in cyttsp4_get_touch_axis()
768 __func__, *axis, *axis, size, max, xy_data, next, in cyttsp4_get_touch_axis()
/linux-4.4.14/Documentation/devicetree/bindings/input/
Drotary-encoder.txt7 - linux,axis: the input subsystem axis to map to this rotary encoder.
10 encoder. Only relevant for absolute axis. Defaults to 24 which is a
12 - rotary-encoder,relative-axis: register a relative axis rather than an
13 absolute one. Relative axis will only generate +1/-1 events on the input
16 greater than the specified steps or smaller than 0. For absolute axis only.
36 linux,axis = <0>; /* REL_X */
37 rotary-encoder,relative-axis;
43 linux,axis = <1>; /* ABS_Y */
Dads7846.txt34 ti,swap-xy swap x and y axis
51 ti,x-min Minimum value on the X axis (u16).
52 ti,y-min Minimum value on the Y axis (u16).
53 ti,x-max Maximum value on the X axis (u16).
54 ti,y-max Minimum value on the Y axis (u16).
Dgpio-keys-polled.txt23 EV_ABS/EV_REL axis will generate an event with a value of 0 when
24 all buttons with linux,input-type == type and linux,code == axis
/linux-4.4.14/include/linux/input/
Dmt.h93 static inline bool input_is_mt_value(int axis) in input_is_mt_value() argument
95 return axis >= ABS_MT_FIRST && axis <= ABS_MT_LAST; in input_is_mt_value()
98 static inline bool input_is_mt_axis(int axis) in input_is_mt_axis() argument
100 return axis == ABS_MT_SLOT || input_is_mt_value(axis); in input_is_mt_axis()
Dgpio_tilt.h13 int axis; member
/linux-4.4.14/arch/cris/boot/dts/
Detraxfs.dtsi12 model = "axis,crisv32";
25 compatible = "axis,crisv32-intc";
32 compatible = "axis,etraxfs-gio";
40 compatible = "axis,etraxfs-uart";
Dartpec3.dtsi12 model = "axis,crisv32";
25 compatible = "axis,crisv32-intc";
32 compatible = "axis,artpec3-gio";
40 compatible = "axis,etraxfs-uart";
Ddev88.dts9 compatible = "axis,dev88";
Dp1343.dts10 compatible = "axis,p1343";
/linux-4.4.14/Documentation/devicetree/bindings/input/touchscreen/
Dbu21013.txt10 - rohm,touch-max-x : Maximum outward permitted limit in the X axis
11 - rohm,touch-max-y : Maximum outward permitted limit in the Y axis
12 - rohm,flip-x : Flip touch coordinates on the X axis
13 - rohm,flip-y : Flip touch coordinates on the Y axis
Dfocaltech-ft6236.txt19 - touchscreen-inverted-x : X axis is inverted (boolean)
20 - touchscreen-inverted-y : Y axis is inverted (boolean)
21 - touchscreen-swapped-x-y: X and Y axis are swapped (boolean)
22 Swapping is done after inverting the axis
Dtouchscreen.txt17 - touchscreen-inverted-x : X axis is inverted (boolean)
18 - touchscreen-inverted-y : Y axis is inverted (boolean)
19 - touchscreen-swapped-x-y : X and Y axis are swapped (boolean)
20 Swapping is done after inverting the axis
Dchipone_icn8318.txt21 - touchscreen-inverted-x : X axis is inverted (boolean)
22 - touchscreen-inverted-y : Y axis is inverted (boolean)
23 - touchscreen-swapped-x-y : X and Y axis are swapped (boolean)
24 Swapping is done after inverting the axis
Dmms114.txt13 - x-invert: invert X axis
14 - y-invert: invert Y axis
Dimx6ul_tsc.txt15 Before X-axis or Y-axis measurement, the screen need some time before
Dbrcm,iproc-touchscreen.txt53 - touchscreen-inverted-x: X axis is inverted (boolean)
54 - touchscreen-inverted-y: Y axis is inverted (boolean)
/linux-4.4.14/Documentation/devicetree/bindings/iio/accel/
Dlis302.txt25 x/y/z axis.
28 x/y/z axis.
29 - st,click-thresh-{x,y,z}: set the x/y/z axis threshold
47 - st,wakeup-{x,y,z}-{lo,hi}: set wakeup condition on x/y/z axis for
50 - st,wakeup2-{x,y,z}-{lo,hi}: set wakeup condition on x/y/z axis for
59 - st,axis-{x,y,z}=: set the axis to map to the three coordinates.
60 Negative values can be used for inverted axis.
61 - st,{min,max}-limit-{x,y,z} set the min/max limits for x/y/z axis
/linux-4.4.14/Documentation/devicetree/bindings/gpio/
Dgpio-etraxfs.txt6 - "axis,etraxfs-gio"
7 - "axis,artpec3-gio"
18 compatible = "axis,etraxfs-gio";
/linux-4.4.14/drivers/input/misc/
Drotary_encoder.c37 unsigned int axis; member
66 pdata->axis, encoder->dir ? -1 : 1); in rotary_encoder_report_event()
86 input_report_abs(encoder->input, pdata->axis, encoder->pos); in rotary_encoder_report_event()
220 of_property_read_u32(np, "linux,axis", &pdata->axis); in rotary_encoder_parse_dt()
296 input->relbit[0] = BIT_MASK(pdata->axis); in rotary_encoder_probe()
300 pdata->axis, 0, pdata->steps, 0, 1); in rotary_encoder_probe()
Dmpu3050.c241 struct axis_data axis; in mpu3050_interrupt_thread() local
243 mpu3050_read_xyz(sensor->client, &axis); in mpu3050_interrupt_thread()
245 input_report_abs(sensor->idev, ABS_X, axis.x); in mpu3050_interrupt_thread()
246 input_report_abs(sensor->idev, ABS_Y, axis.y); in mpu3050_interrupt_thread()
247 input_report_abs(sensor->idev, ABS_Z, axis.z); in mpu3050_interrupt_thread()
Dadxl34x.c238 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()
Dgpio_tilt_polled.c63 pdata->axes[i].axis, in gpio_tilt_polled_poll()
150 input_set_abs_params(input, pdata->axes[i].axis, in gpio_tilt_polled_probe()
DKconfig360 tristate "Kionix KXTJ9 tri-axis digital accelerometer"
363 Say Y here to enable support for the Kionix KXTJ9 digital tri-axis
699 tristate "VTI CMA3000 Tri-axis accelerometer"
/linux-4.4.14/Documentation/devicetree/bindings/serial/
Daxis,etraxfs-uart.txt4 - compatible : "axis,etraxfs-uart"
15 compatible = "axis,etraxfs-uart";
/linux-4.4.14/Documentation/input/
Djoystick-api.txt34 __u8 number; /* axis/button number */
65 The values of ``number'' correspond to the axis or button that
67 is, you have both an axis 0 and a button 0). Generally,
78 independent axis, even if the hardware doesn't allow independent movement.
84 For an axis, ``value'' is a signed integer between -32767 and +32767
85 representing the position of the joystick along that axis. If you
117 task of detecting double clicks, figuring out if movement of axis and button
247 information for all axis. That is, struct js_corr corr[MAX_AXIS];
282 int x; /* immediate x axis value */
283 int y; /* immediate y axis value */
[all …]
Dgpio-tilt.txt6 i.e. each tilt switch providing one axis, and the number of axes
31 one axis in 4 steps and emits the current tilt via two GPIOs.
72 .axis = ABS_RY,
Diforce-protocol.txt32 axis
72 Bits 4-7: Val 2 = effect along one axis. Byte 05 indicates direction
73 Val 4 = X axis only. Byte 05 must contain 5a
74 Val 8 = Y axis only. Byte 05 must contain b4
89 08-09 Address of interactive parameters for X-axis, or ffff if not applicable
90 0a-0b Address of interactive parameters for Y-axis, or ffff if not applicable
207 Idx 05 Set axis saturation threshold (0..2048)
Dmulti-touch-protocol.txt81 total number of type B slots reported in the absinfo for the ABS_MT_SLOT axis.
83 The minimum value of the ABS_MT_SLOT axis must be 0.
206 and MINOR are the major and minor axis of an ellipse. The orientation of
227 The length of the major axis of the contact. The length should be given in
233 The length, in surface units, of the minor axis of the contact. If the
238 The length, in surface units, of the major axis of the approaching
245 The length, in surface units, of the minor axis of the approaching
270 the Y axis of the surface, a negative value when the ellipse is turned to
272 right. When completely aligned with the X axis, the range max should be
282 support is possible if the device can distinguish between the two axis, but
[all …]
Dcs461x.txt10 is completed in this mode, but the axis movement is not.
13 driver as a backend. I've tested this driver with CS4610, 4-axis and
Dcma3000_d0x.txt15 CMA3000 Tri-axis accelerometer supports Motion detect, Measurement and
22 axis and supports 400, 100, 40 Hz sample frequency.
Djoystick.txt176 * 2-axis, 4-button joystick
177 * 3-axis, 4-button joystick
178 * 4-axis, 4-button joystick
196 2btn | 2-button n-axis joystick
197 y-joy | Two 2-button 2-axis joysticks on an Y-cable
198 y-pad | Two 2-button 2-axis gamepads on an Y-cable
202 gamepad | 4/6-button n-axis gamepad
203 gamepad8 | 8-button 2-axis gamepad
Dinput-programming.txt184 device. A relative value may be for example a mouse movement in the X axis.
199 struct for each absolute axis your device has. If our button device had also
200 the ABS_X axis:
211 This setting would be appropriate for a joystick X axis, with the minimum of
Datarikbd.txt60 button being pressed or released, or motion in either axis exceeding a
94 each axis. The ikbd internally maintains mouse motion information to the
177 either axis and the Y=0 origin at the top of the screen, and joystick event
233 threshold in either axis (see SET MOUSE THRESHOLD). Depending upon the mouse
262 either axis. When the keyboard is in key scan code mode, mouse motion will
286 (independently scaled for each axis). Remember that the mouse position
325 This command makes the origin of the Y axis to be at the bottom of the
334 Makes the origin of the Y axis to be at the top of the logical coordinate
Dgameport-programming.txt66 There are gameports that can report the axis values as numbers, that means
162 expected maximums for each axis. The calibrate() function should set the
Drotary-encoder.txt108 .axis = ABS_X,
Devent-codes.txt35 - Used to describe relative axis value changes, e.g. moving the mouse 5 units
39 - Used to describe absolute axis value changes, e.g. describing the
Dalps.txt166 given axis. Thus the bitmap packet can be used for low-resolution multi-touch
/linux-4.4.14/Documentation/devicetree/bindings/interrupt-controller/
Daxis,crisv32-intc.txt8 "axis,crisv32-intc"
17 compatible = "axis,crisv32-intc";
/linux-4.4.14/include/linux/
Dinput.h440 void input_set_abs_params(struct input_dev *dev, unsigned int axis,
445 unsigned int axis) \
447 return dev->absinfo ? dev->absinfo[axis]._item : 0; \
451 unsigned int axis, int val) \
455 dev->absinfo[axis]._item = val; \
Drotary_encoder.h6 unsigned int axis; member
/linux-4.4.14/drivers/iio/accel/
Dkxsd9.c176 #define KXSD9_ACCEL_CHAN(axis) \ argument
180 .channel2 = IIO_MOD_##axis, \
183 .address = KXSD9_REG_##axis, \
Dmma9551_core.h41 #define MMA9551_ACCEL_CHANNEL(axis) { \ argument
44 .channel2 = axis, \
Dmma9551.c173 enum iio_modifier axis, in mma9551_config_incli_event() argument
181 mma_axis = axis - 1; in mma9551_config_incli_event()
200 switch (axis) { in mma9551_config_incli_event()
316 #define MMA9551_INCLI_CHANNEL(axis) { \ argument
319 .channel2 = axis, \
DKconfig116 Say yes here to build support for the following Freescale 3-axis
155 Say yes here to build support for the Memsic MXC4005XC 3-axis
167 Say yes here to get support for the Sensortek STK8312 3-axis
178 Say yes here to get support for the Sensortek STK8BA50 3-axis
Dstk8ba50.c106 #define STK8BA50_ACCEL_CHANNEL(index, reg, axis) { \ argument
110 .channel2 = IIO_MOD_##axis, \
Dmma8452.c777 #define MMA8452_CHANNEL(axis, idx, bits) { \ argument
780 .channel2 = IIO_MOD_##axis, \
798 #define MMA8652_CHANNEL(axis, idx, bits) { \ argument
801 .channel2 = IIO_MOD_##axis, \
Dbmc150-accel-core.c128 #define BMC150_ACCEL_AXIS_TO_REG(axis) (BMC150_ACCEL_REG_XOUT_L + (axis * 2)) argument
549 int axis = chan->scan_index; in bmc150_accel_get_axis() local
559 ret = regmap_bulk_read(data->regmap, BMC150_ACCEL_AXIS_TO_REG(axis), in bmc150_accel_get_axis()
562 dev_err(data->dev, "Error reading axis %d\n", axis); in bmc150_accel_get_axis()
Dstk8312.c78 #define STK8312_ACCEL_CHANNEL(index, reg, axis) { \ argument
82 .channel2 = IIO_MOD_##axis, \
Dkxcjk-1013.c641 static int kxcjk1013_get_acc_reg(struct kxcjk1013_data *data, int axis) in kxcjk1013_get_acc_reg() argument
643 u8 reg = KXCJK1013_REG_XOUT_L + axis * 2; in kxcjk1013_get_acc_reg()
649 "failed to read accel_%c registers\n", 'x' + axis); in kxcjk1013_get_acc_reg()
/linux-4.4.14/drivers/misc/lis3lv02d/
DKconfig6 tristate "STMicroeletronics LIS3LV02Dx three-axis digital accelerometer (SPI)"
23 tristate "STMicroeletronics LIS3LV02Dx three-axis digital accelerometer (I2C)"
Dlis3lv02d.c125 module_param_array_named(axes, lis3_dev.ac.as_array, axis, NULL, 0644);
167 static inline int lis3lv02d_get_axis(s8 axis, int hw_values[3]) in lis3lv02d_get_axis() argument
169 if (axis > 0) in lis3lv02d_get_axis()
170 return hw_values[axis - 1]; in lis3lv02d_get_axis()
172 return -hw_values[-axis - 1]; in lis3lv02d_get_axis()
/linux-4.4.14/drivers/iio/imu/
DKconfig29 tristate "Kionix KMX61 6-axis accelerometer and magnetometer"
34 Say Y here if you want to build a driver for Kionix KMX61 6-axis
/linux-4.4.14/drivers/iio/magnetometer/
DKconfig20 tristate "Asahi Kasei AK09911 3-axis Compass"
69 tristate "MEMSIC MMC35240 3-axis magnetic sensor"
73 Say yes here to build support for the MEMSIC MMC35240 3-axis
Dmag3110.c271 #define MAG3110_CHANNEL(axis, idx) { \ argument
274 .channel2 = IIO_MOD_##axis, \
Dak8975.c685 #define AK8975_CHANNEL(axis, index) \ argument
689 .channel2 = IIO_MOD_##axis, \
/linux-4.4.14/Documentation/cris/
DREADME14 http://developer.axis.com/wiki/doku.php?id=axis:install-howto-2_20
28 http://www.axis.com/products/dev_etrax_100lx/index.htm
69 http://www.axis.com/products/dev_etrax_fs/index.htm
80 Linux version 2.4.1 (bjornw@godzilla.axis.se) (gcc version 2.96 20000427 (experimental)) #207 Wed F…
/linux-4.4.14/Documentation/devicetree/bindings/cris/
Daxis.txt7 - compatible = "axis,crisv32";
Dboards.txt5 - "axis,dev88" - for Axis devboard 88 with ETRAX FS
/linux-4.4.14/drivers/staging/iio/accel/
DKconfig12 Say Y here to build support for Analog Devices adis16201 dual-axis
48 Say Y here to build support for Analog Devices adis16209 dual-axis digital inclinometer
/linux-4.4.14/drivers/iio/gyro/
DKconfig61 Say yes here to build support for BOSCH BMG160 Tri-axis Gyro Sensor
122 3-axis gyroscope sensor.
Dbmg160_core.c74 #define BMG160_AXIS_TO_REG(axis) (BMG160_REG_XOUT_L + (axis * 2)) argument
452 static int bmg160_get_axis(struct bmg160_data *data, int axis, int *val) in bmg160_get_axis() argument
464 ret = regmap_bulk_read(data->regmap, BMG160_AXIS_TO_REG(axis), &raw_val, in bmg160_get_axis()
467 dev_err(data->dev, "Error reading axis %d\n", axis); in bmg160_get_axis()
/linux-4.4.14/sound/usb/caiaq/
Dinput.c204 int axis, const unsigned char *buf, in snd_caiaq_input_report_abs() argument
207 input_report_abs(cdev->input_dev, axis, in snd_caiaq_input_report_abs()
734 int axis = KONTROLS4_ABS(i); in snd_usb_caiaq_input_init() local
735 input->absbit[BIT_WORD(axis)] |= BIT_MASK(axis); in snd_usb_caiaq_input_init()
/linux-4.4.14/arch/arm/boot/dts/
Dimx28-cfa10049.dts417 linux,axis = <1>; /* REL_Y */
418 rotary-encoder,relative-axis;
Dea3250.dts156 /* 3-axis accelerometer X,Y,Z (or AD-IN instead of Z) */
Domap3-n900.dts670 st,axis-x = <1>; /* LIS3_DEV_X */
671 st,axis-y = <(-2)>; /* LIS3_INV_DEV_Y */
672 st,axis-z = <(-3)>; /* LIS3_INV_DEV_Z */
/linux-4.4.14/drivers/staging/iio/magnetometer/
Dhmc5843_core.c447 #define HMC5843_CHANNEL(axis, idx) \ argument
451 .channel2 = IIO_MOD_##axis, \
/linux-4.4.14/Documentation/hid/
Dhid-sensor.txt137 accelerometer wants to poll X axis value, then it can call this function with
138 the usage id of X axis. HID sensors can provide events, so this is not necessary
Dhid-transport.txt114 data may include button events, axis events, battery status or more. This
/linux-4.4.14/drivers/iio/imu/inv_mpu6050/
Dinv_mpu_core.c287 int axis, int *val) in inv_mpu6050_sensor_show() argument
292 ind = (axis - IIO_MOD_X) * 2; in inv_mpu6050_sensor_show()
/linux-4.4.14/drivers/staging/comedi/drivers/
Djr3_pci.c233 unsigned int axis = chan % 8; in jr3_pci_ai_read_chan() local
236 switch (axis) { in jr3_pci_ai_read_chan()
/linux-4.4.14/Documentation/misc-devices/
Dlis3lv02d22 their axis automatically oriented on standard way (eg: you can directly play
/linux-4.4.14/Documentation/devicetree/bindings/arm/
Didle-states.txt143 The graph is split in two parts delimited by time 1ms on the X-axis.
144 The graph curve with X-axis values = { x | 0 < x < 1ms } has a steep slope
147 The graph curve in the area delimited by X-axis values = {x | x > 1ms } has
/linux-4.4.14/Documentation/devicetree/bindings/i2c/
Dtrivial-devices.txt56 fsl,mma8450 MMA8450Q: Xtrinsic Low-power, 3-axis Xtrinsic Accelerometer
/linux-4.4.14/arch/cris/arch-v32/mach-fs/
DKconfig21 standard flashes used in axis products (120 ns).
/linux-4.4.14/arch/arm/mach-pxa/
Draumfeld.c371 .axis = REL_X,
/linux-4.4.14/arch/cris/arch-v32/
DKconfig36 standard flashes used in axis products (120 ns).
/linux-4.4.14/Documentation/devicetree/bindings/
Dvendor-prefixes.txt35 axis Axis Communications AB
/linux-4.4.14/drivers/input/
Dinput.c492 void input_set_abs_params(struct input_dev *dev, unsigned int axis, in input_set_abs_params() argument
501 absinfo = &dev->absinfo[axis]; in input_set_abs_params()
508 __set_bit(axis, dev->absbit); in input_set_abs_params()
/linux-4.4.14/Documentation/ABI/testing/
Dsysfs-bus-iio142 If an axis is specified it generally means that the temperature
144 a gyroscope axis). The ambient and object modifiers distinguish
172 Angular velocity about axis x, y or z (may be arbitrarily
183 Inclination raw reading about axis x, y or z (may be
193 Magnetic field along axis x, y or z (may be arbitrarily
280 axis <x|y|z> is not present, then the offset applies to all
1284 x y z w. Here x, y, and z component represents the axis about
/linux-4.4.14/Documentation/usb/
DCREDITS87 - Many thanks to Logitech for contributing a three axis USB
/linux-4.4.14/drivers/hid/
DKconfig709 * Sony PS3 6-axis controllers
/linux-4.4.14/drivers/video/fbdev/
DKconfig219 terms of number of tiles in the x- and y-axis.
/linux-4.4.14/
DMAINTAINERS3071 M: Mikael Starvik <starvik@axis.com>
3072 M: Jesper Nilsson <jesper.nilsson@axis.com>
3073 L: linux-cris-kernel@axis.com
3074 W: http://developer.axis.com
9334 M: Lars Persson <lars.persson@axis.com>