Home
last modified time | relevance | path

Searched full:axis (Results 1 – 25 of 626) sorted by relevance

12345678910>>...26

/OK3568_Linux_fs/kernel/drivers/iio/accel/
H A DKconfig10 tristate "Analog Devices ADIS16201 Dual-Axis Digital Inclinometer and Accelerometer"
15 Say Y here to build support for Analog Devices adis16201 dual-axis
22 tristate "Analog Devices ADIS16209 Dual-Axis Digital Inclinometer and Accelerometer"
27 Say Y here to build support for Analog Devices adis16209 dual-axis digital inclinometer
37 tristate "Analog Devices ADXL345 3-Axis Digital Accelerometer I2C Driver"
44 ADXL345 or ADXL375 3-axis digital accelerometer.
51 tristate "Analog Devices ADXL345 3-Axis Digital Accelerometer SPI Driver"
58 ADXL345 or ADXL375 3-axis digital accelerometer.
70 tristate "Analog Devices ADXL372 3-Axis Accelerometer SPI Driver"
81 tristate "Analog Devices ADXL372 3-Axis Accelerometer I2C Driver"
[all …]
/OK3568_Linux_fs/kernel/drivers/input/sensors/accel/
H A Dda223_cust.c3 * mir3da.c - Linux kernel modules for 3-Axis Accelerometer
580 /* x-axis acceleration */
582 /* y-axis acceleration */
584 /* z-axis acceleration */
647 struct sensor_axis axis; local
671axis.x = (pdata->orientation[0])*tmp_x + (pdata->orientation[1])*tmp_y + (pdata->orientation[2])*t…
672axis.y = (pdata->orientation[3])*tmp_x + (pdata->orientation[4])*tmp_y + (pdata->orientation[5])*t…
674axis.z = (pdata->orientation[6])*tmp_x + (pdata->orientation[7])*tmp_y + (bzstk?1:(pdata->orientat…
676axis.z = (pdata->orientation[6])*tmp_x + (pdata->orientation[7])*tmp_y + (pdata->orientation[8])*t…
678 //MI_DATA( "map: axis = %d %d %d \n", axis.x, axis.y, axis.z);
[all …]
H A Dmma7660.c125 static int gsensor_report_value(struct i2c_client *client, struct sensor_axis *axis) in gsensor_report_value() argument
132 input_report_abs(sensor->input_dev, ABS_X, axis->x); in gsensor_report_value()
133 input_report_abs(sensor->input_dev, ABS_Y, axis->y); in gsensor_report_value()
134 input_report_abs(sensor->input_dev, ABS_Z, axis->z); in gsensor_report_value()
148 struct sensor_axis axis; in sensor_report_value() local
172 axis.x = (pdata->orientation[0]) * x + (pdata->orientation[1]) * y + (pdata->orientation[2]) * z; in sensor_report_value()
173 axis.y = (pdata->orientation[3]) * x + (pdata->orientation[4]) * y + (pdata->orientation[5]) * z; in sensor_report_value()
174 axis.z = (pdata->orientation[6]) * x + (pdata->orientation[7]) * y + (pdata->orientation[8]) * z; in sensor_report_value()
180 if ((sensor->axis.x == axis.x) && (sensor->axis.y == axis.y) && (sensor->axis.z == axis.z)) { in sensor_report_value()
183 axis.x += 1; in sensor_report_value()
[all …]
H A Dsc7a20.c96 unsigned char xpmis; //x axis positive mismatch to write
97 unsigned char xnmis; //x axis negtive mismatch to write
103 unsigned char xpoff; //x axis positive offset to write
104 unsigned char xnoff; //x axis negtive offset to write
110 unsigned char xmmis; //x axis middle mismatch to write
111 unsigned char ymmis; //y axis middle mismatch to write
112 unsigned char zmmis; //z axis middle mismatch to write
113 unsigned char xmoff; //x axis middle offset to write
114 unsigned char ymoff; //y axis middle offset to write
115 unsigned char zmoff; //z axis middle offset to write
[all …]
H A Dsc7660.c96 unsigned char xpmis; //x axis positive mismatch to write
97 unsigned char xnmis; //x axis negtive mismatch to write
103 unsigned char xpoff; //x axis positive offset to write
104 unsigned char xnoff; //x axis negtive offset to write
110 unsigned char xmmis; //x axis middle mismatch to write
111 unsigned char ymmis; //y axis middle mismatch to write
112 unsigned char zmmis; //z axis middle mismatch to write
113 unsigned char xmoff; //x axis middle offset to write
114 unsigned char ymoff; //y axis middle offset to write
115 unsigned char zmoff; //z axis middle offset to write
[all …]
H A Dsc7a30.c90 unsigned char xpmis; //x axis positive mismatch to write
91 unsigned char xnmis; //x axis negtive mismatch to write
97 unsigned char xpoff; //x axis positive offset to write
98 unsigned char xnoff; //x axis negtive offset to write
104 unsigned char xmmis; //x axis middle mismatch to write
105 unsigned char ymmis; //y axis middle mismatch to write
106 unsigned char zmmis; //z axis middle mismatch to write
107 unsigned char xmoff; //x axis middle offset to write
108 unsigned char ymoff; //y axis middle offset to write
109 unsigned char zmoff; //z axis middle offset to write
[all …]
/OK3568_Linux_fs/kernel/drivers/iio/magnetometer/
H A DKconfig10 tristate "Asahi Kasei AK8974 3-Axis Magnetometer"
18 AMI306 I2C-based 3-axis magnetometer chips.
24 tristate "Asahi Kasei AK8975 3-Axis Magnetometer"
31 AK09911 or AK09912 3-Axis Magnetometer.
37 tristate "Asahi Kasei AK09911 3-axis Compass"
84 tristate "Freescale MAG3110 3-Axis Magnetometer"
89 Say yes here to build support for the Freescale MAG3110 3-Axis
106 tristate "MEMSIC MMC35240 3-axis magnetic sensor"
110 Say yes here to build support for the MEMSIC MMC35240 3-axis
117 tristate "STMicroelectronics magnetometers 3-Axis Driver"
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/input/
H A Dadc-joystick.yaml26 Each pair defines one ADC channel to which a joystick axis is connected.
44 "^axis@[0-9a-f]+$":
47 Represents a joystick axis bound to the given ADC channel.
48 For each entry in the io-channels list, one axis subnode with a matching
55 description: Index of an io-channels list entry bound to this axis.
59 description: EV_ABS specific event code generated by the axis.
68 Minimum and maximum values produced by the axis.
69 For an ABS_X axis this will be the left-most and right-most
71 treat the axis as inverted.
78 Omitting this property indicates the axis is precise.
[all …]
H A 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.
38 linux,axis = <0>; /* REL_X */
40 rotary-encoder,relative-axis;
46 linux,axis = <1>; /* ABS_Y */
/OK3568_Linux_fs/kernel/drivers/input/sensors/angle/
H A Dangle_lis3dh.c205 static int angle_report_value(struct i2c_client *client, struct sensor_axis *axis) in angle_report_value() argument
211 input_report_abs(sensor->input_dev, ABS_X, axis->x); in angle_report_value()
212 input_report_abs(sensor->input_dev, ABS_Y, axis->y); in angle_report_value()
213 input_report_abs(sensor->input_dev, ABS_Z, axis->z); in angle_report_value()
215 DBG("Gsensor x==%d y==%d z==%d\n",axis->x,axis->y,axis->z); in angle_report_value()
228 struct sensor_axis axis; in sensor_report_value() local
261 axis.x = (pdata->orientation[0])*x + (pdata->orientation[1])*y + (pdata->orientation[2])*z; in sensor_report_value()
262 axis.y = (pdata->orientation[3])*x + (pdata->orientation[4])*y + (pdata->orientation[5])*z; in sensor_report_value()
263 axis.z = (pdata->orientation[6])*x + (pdata->orientation[7])*y + (pdata->orientation[8])*z; in sensor_report_value()
265 DBG( "%s: axis = %d %d %d \n", __func__, axis.x, axis.y, axis.z); in sensor_report_value()
[all …]
H A Dangle_kxtik.c271 static int angle_report_value(struct i2c_client *client, struct sensor_axis *axis) in angle_report_value() argument
277 input_report_abs(sensor->input_dev, ABS_X, axis->x); in angle_report_value()
278 input_report_abs(sensor->input_dev, ABS_Y, axis->y); in angle_report_value()
279 input_report_abs(sensor->input_dev, ABS_Z, axis->z); in angle_report_value()
281 DBG("Gsensor x==%d y==%d z==%d\n",axis->x,axis->y,axis->z); in angle_report_value()
294 struct sensor_axis axis; in sensor_report_value() local
319 axis.x = (pdata->orientation[0])*x + (pdata->orientation[1])*y + (pdata->orientation[2])*z; in sensor_report_value()
320 axis.y = (pdata->orientation[3])*x + (pdata->orientation[4])*y + (pdata->orientation[5])*z; in sensor_report_value()
321 axis.z = (pdata->orientation[6])*x + (pdata->orientation[7])*y + (pdata->orientation[8])*z; in sensor_report_value()
323 DBG( "%s: axis = %d %d %d \n", __func__, axis.x, axis.y, axis.z); in sensor_report_value()
[all …]
/OK3568_Linux_fs/kernel/drivers/staging/axis-fifo/
H A Daxis-fifo.txt28 - xlnx,axis-tdest-width: AXI-Stream TDEST width (ignored by the driver)
29 - xlnx,axis-tid-width: AXI-Stream TID width (ignored by the driver)
30 - xlnx,axis-tuser-width: AXI-Stream TUSER width (ignored by the driver)
32 - xlnx,has-axis-tdest: Should be <0x0> (this feature isn't supported)
33 - xlnx,has-axis-tid: Should be <0x0> (this feature isn't supported)
34 - xlnx,has-axis-tkeep: Should be <0x0> (this feature isn't supported)
35 - xlnx,has-axis-tstrb: Should be <0x0> (this feature isn't supported)
36 - xlnx,has-axis-tuser: Should be <0x0> (this feature isn't supported)
70 xlnx,axis-tdest-width = <0x4>;
71 xlnx,axis-tid-width = <0x4>;
[all …]
/OK3568_Linux_fs/kernel/drivers/input/sensors/accel/da228e/
H A Dda228e.c162 struct sensor_axis *axis) in gsensor_report_value() argument
166 if ((abs(sensor->axis.x - axis->x) > GSENSOR_MIN) || in gsensor_report_value()
167 (abs(sensor->axis.y - axis->y) > GSENSOR_MIN) || in gsensor_report_value()
168 (abs(sensor->axis.z - axis->z) > GSENSOR_MIN)) { in gsensor_report_value()
169 input_report_abs(sensor->input_dev, ABS_X, axis->x); in gsensor_report_value()
170 input_report_abs(sensor->input_dev, ABS_Y, axis->y); in gsensor_report_value()
171 input_report_abs(sensor->input_dev, ABS_Z, axis->z); in gsensor_report_value()
180 struct sensor_axis axis; in sensor_report_value() local
203 /* x,y,z axis is the 12-bit acceleration output */ in sensor_report_value()
218 axis.x = (pdata->orientation[0]) * tmp_x + (pdata->orientation[1]) * tmp_y + in sensor_report_value()
[all …]
/OK3568_Linux_fs/kernel/drivers/input/sensors/accel/da215s/
H A Dda215s.c161 struct sensor_axis *axis) in gsensor_report_value() argument
165 if ((abs(sensor->axis.x - axis->x) > GSENSOR_MIN) || in gsensor_report_value()
166 (abs(sensor->axis.y - axis->y) > GSENSOR_MIN) || in gsensor_report_value()
167 (abs(sensor->axis.z - axis->z) > GSENSOR_MIN)) { in gsensor_report_value()
168 input_report_abs(sensor->input_dev, ABS_X, axis->x); in gsensor_report_value()
169 input_report_abs(sensor->input_dev, ABS_Y, axis->y); in gsensor_report_value()
170 input_report_abs(sensor->input_dev, ABS_Z, axis->z); in gsensor_report_value()
179 struct sensor_axis axis; in sensor_report_value() local
202 /* x,y,z axis is the 12-bit acceleration output */ in sensor_report_value()
218 axis.x = (pdata->orientation[0]) * tmp_x + (pdata->orientation[1]) * tmp_y + in sensor_report_value()
[all …]
/OK3568_Linux_fs/kernel/drivers/input/touchscreen/
H A Dof_touchscreen.c33 unsigned long axis, in touchscreen_set_params() argument
38 if (!test_bit(axis, dev->absbit)) { in touchscreen_set_params()
40 "DT specifies parameters but the axis %lu is not set up\n", in touchscreen_set_params()
41 axis); in touchscreen_set_params()
45 absinfo = &dev->absinfo[axis]; in touchscreen_set_params()
57 * axis swap and invert info for use with touchscreen_report_x_y();
69 unsigned int axis, axis_x, axis_y; in touchscreen_parse_properties() local
106 axis = multitouch ? ABS_MT_PRESSURE : ABS_PRESSURE; in touchscreen_parse_properties()
109 input_abs_get_max(input, axis), in touchscreen_parse_properties()
113 input_abs_get_fuzz(input, axis), in touchscreen_parse_properties()
[all …]
/OK3568_Linux_fs/kernel/drivers/input/sensors/compass/
H A DKconfig19 tristate "Asahi Kasei AK8975 3-Axis Magnetometer"
23 Say yes here to build support for Asahi Kasei AK8975 3-Axis
30 tristate "Asahi Kasei AK8963 3-Axis Magnetometer"
34 Say yes here to build support for Asahi Kasei AK8963 3-Axis Magnetometer.
41 tristate "Asahi Kasei AK09911 3-Axis Magnetometer"
44 Say yes here to build support for Asahi Kasei AK09911 3-Axis Magnetometer.
50 tristate "Asahi Kasei AK09911 3-Axis Magnetometer"
53 Say yes here to build support for Asahi Kasei AK09918 3-Axis Magnetometer.
/OK3568_Linux_fs/kernel/drivers/input/sensors/gyro/
H A Dl3g20d.c119 static int gyro_report_value(struct i2c_client *client, struct sensor_axis *axis) in gyro_report_value() argument
126 input_report_rel(sensor->input_dev, ABS_RX, axis->x); in gyro_report_value()
127 input_report_rel(sensor->input_dev, ABS_RY, axis->y); in gyro_report_value()
128 input_report_rel(sensor->input_dev, ABS_RZ, axis->z); in gyro_report_value()
142 struct sensor_axis axis; in sensor_report_value() local
177 axis.x = (pdata->orientation[0])*x + (pdata->orientation[1])*y + (pdata->orientation[2])*z; in sensor_report_value()
178 axis.y = (pdata->orientation[3])*x + (pdata->orientation[4])*y + (pdata->orientation[5])*z; in sensor_report_value()
179 axis.z = (pdata->orientation[6])*x + (pdata->orientation[7])*y + (pdata->orientation[8])*z; in sensor_report_value()
183 axis.x = x; in sensor_report_value()
184 axis.y = y; in sensor_report_value()
[all …]
H A Dl3g4200d.c119 static int gyro_report_value(struct i2c_client *client, struct sensor_axis *axis) in gyro_report_value() argument
126 input_report_rel(sensor->input_dev, ABS_RX, axis->x); in gyro_report_value()
127 input_report_rel(sensor->input_dev, ABS_RY, axis->y); in gyro_report_value()
128 input_report_rel(sensor->input_dev, ABS_RZ, axis->z); in gyro_report_value()
142 struct sensor_axis axis; in sensor_report_value() local
177 axis.x = (pdata->orientation[0])*x + (pdata->orientation[1])*y + (pdata->orientation[2])*z; in sensor_report_value()
178 axis.y = (pdata->orientation[3])*x + (pdata->orientation[4])*y + (pdata->orientation[5])*z; in sensor_report_value()
179 axis.z = (pdata->orientation[6])*x + (pdata->orientation[7])*y + (pdata->orientation[8])*z; in sensor_report_value()
183 axis.x = x; in sensor_report_value()
184 axis.y = y; in sensor_report_value()
[all …]
H A Diam20680_gyro.c84 static int gyro_report_value(struct i2c_client *client, struct sensor_axis *axis) in gyro_report_value() argument
91 input_report_rel(sensor->input_dev, ABS_RX, axis->x); in gyro_report_value()
92 input_report_rel(sensor->input_dev, ABS_RY, axis->y); in gyro_report_value()
93 input_report_rel(sensor->input_dev, ABS_RZ, axis->z); in gyro_report_value()
107 struct sensor_axis axis; in sensor_report_value() local
129 axis.x = (pdata->orientation[0]) * x + (pdata->orientation[1]) * y + (pdata->orientation[2]) * z; in sensor_report_value()
130 axis.y = (pdata->orientation[3]) * x + (pdata->orientation[4]) * y + (pdata->orientation[5]) * z; in sensor_report_value()
131 axis.z = (pdata->orientation[6]) * x + (pdata->orientation[7]) * y + (pdata->orientation[8]) * z; in sensor_report_value()
133 gyro_report_value(client, &axis); in sensor_report_value()
136 sensor->axis = axis; in sensor_report_value()
[all …]
H A Dmpu6500_gyro.c91 static int gyro_report_value(struct i2c_client *client, struct sensor_axis *axis) in gyro_report_value() argument
98 input_report_rel(sensor->input_dev, ABS_RX, axis->x); in gyro_report_value()
99 input_report_rel(sensor->input_dev, ABS_RY, axis->y); in gyro_report_value()
100 input_report_rel(sensor->input_dev, ABS_RZ, axis->z); in gyro_report_value()
114 struct sensor_axis axis; in sensor_report_value() local
136 axis.x = (pdata->orientation[0]) * x + (pdata->orientation[1]) * y + (pdata->orientation[2]) * z; in sensor_report_value()
137 axis.y = (pdata->orientation[3]) * x + (pdata->orientation[4]) * y + (pdata->orientation[5]) * z; in sensor_report_value()
138 axis.z = (pdata->orientation[6]) * x + (pdata->orientation[7]) * y + (pdata->orientation[8]) * z; in sensor_report_value()
140 gyro_report_value(client, &axis); in sensor_report_value()
143 sensor->axis = axis; in sensor_report_value()
[all …]
H A Dmpu6880_gyro.c91 static int gyro_report_value(struct i2c_client *client, struct sensor_axis *axis) in gyro_report_value() argument
98 input_report_rel(sensor->input_dev, ABS_RX, axis->x); in gyro_report_value()
99 input_report_rel(sensor->input_dev, ABS_RY, axis->y); in gyro_report_value()
100 input_report_rel(sensor->input_dev, ABS_RZ, axis->z); in gyro_report_value()
114 struct sensor_axis axis; in sensor_report_value() local
136 axis.x = (pdata->orientation[0]) * x + (pdata->orientation[1]) * y + (pdata->orientation[2]) * z; in sensor_report_value()
137 axis.y = (pdata->orientation[3]) * x + (pdata->orientation[4]) * y + (pdata->orientation[5]) * z; in sensor_report_value()
138 axis.z = (pdata->orientation[6]) * x + (pdata->orientation[7]) * y + (pdata->orientation[8]) * z; in sensor_report_value()
140 gyro_report_value(client, &axis); in sensor_report_value()
143 sensor->axis = axis; in sensor_report_value()
[all …]
H A Dicm2060x_gyro.c88 struct sensor_axis *axis) in gyro_report_value() argument
95 input_report_rel(sensor->input_dev, ABS_RX, axis->x); in gyro_report_value()
96 input_report_rel(sensor->input_dev, ABS_RY, axis->y); in gyro_report_value()
97 input_report_rel(sensor->input_dev, ABS_RZ, axis->z); in gyro_report_value()
111 struct sensor_axis axis; in sensor_report_value() local
133 axis.x = (pdata->orientation[0]) * x + (pdata->orientation[1]) * y + in sensor_report_value()
135 axis.y = (pdata->orientation[3]) * x + (pdata->orientation[4]) * y + in sensor_report_value()
137 axis.z = (pdata->orientation[6]) * x + (pdata->orientation[7]) * y + in sensor_report_value()
140 gyro_report_value(client, &axis); in sensor_report_value()
143 sensor->axis = axis; in sensor_report_value()
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/pci/
H A Daxis,artpec6-pcie.txt1 * Axis ARTPEC-6 PCIe interface
7 - compatible: "axis,artpec6-pcie", "snps,dw-pcie" for ARTPEC-6 in RC mode;
8 "axis,artpec6-pcie-ep", "snps,dw-pcie" for ARTPEC-6 in EP mode;
9 "axis,artpec7-pcie", "snps,dw-pcie" for ARTPEC-7 in RC mode;
10 "axis,artpec7-pcie-ep", "snps,dw-pcie" for ARTPEC-7 in EP mode;
21 - axis,syscon-pcie: A phandle pointing to the ARTPEC-6 system controller,
27 compatible = "axis,artpec6-pcie", "snps,dw-pcie";
49 axis,syscon-pcie = <&syscon>;
/OK3568_Linux_fs/buildroot/dl/qt5charts/
HDqtcharts-16c2a8821135bf89369c4e3c5a1bdff8b05ffdb5.tar.bz2pax_global_header qtcharts-16c2a8821135bf89369c4e3c5a1bdff8b05ffdb5/ qtcharts-16c2a8821135bf89369c4e3c5a1bdff8b05ffdb5/.qmake.conf qtcharts-16c2a8821135bf89369c4e3c5a1bdff8b05ffdb5 ...
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/kdbush/0.1.1-1/include/
H A Dkdbush.hpp93 const std::uint8_t axis) { in range() argument
110 if (axis == 0 ? minX <= x : minY <= y) in range()
111 range(minX, minY, maxX, maxY, visitor, left, m - 1, (axis + 1) % 2); in range()
113 if (axis == 0 ? maxX >= x : maxY >= y) in range()
114 range(minX, minY, maxX, maxY, visitor, m + 1, right, (axis + 1) % 2); in range()
124 const std::uint8_t axis) { in within() argument
143 if (axis == 0 ? qx - r <= x : qy - r <= y) in within()
144 within(qx, qy, r, visitor, left, m - 1, (axis + 1) % 2); in within()
146 if (axis == 0 ? qx + r >= x : qy + r >= y) in within()
147 within(qx, qy, r, visitor, m + 1, right, (axis + 1) % 2); in within()
[all …]

12345678910>>...26