Searched refs:axis (Results 1 - 25 of 69) sorted by relevance

123

/linux-master/drivers/staging/axis-fifo/
H A DMakefile2 obj-$(CONFIG_XIL_AXIS_FIFO) += axis-fifo.o
/linux-master/include/linux/input/
H A Dmt.h90 static inline bool input_is_mt_value(int axis) argument
92 return axis >= ABS_MT_FIRST && axis <= ABS_MT_LAST;
95 static inline bool input_is_mt_axis(int axis) argument
97 return axis == ABS_MT_SLOT || input_is_mt_value(axis);
/linux-master/drivers/input/
H A Dtouchscreen.c34 unsigned long axis,
39 if (!test_bit(axis, dev->absbit)) {
41 "Parameters are specified but the axis %lu is not set up\n",
42 axis);
46 absinfo = &dev->absinfo[axis];
58 * axis swap and invert info for use with touchscreen_report_x_y();
70 unsigned int axis, axis_x, axis_y; local
107 axis = multitouch ? ABS_MT_PRESSURE : ABS_PRESSURE;
110 input_abs_get_max(input, axis),
114 input_abs_get_fuzz(input, axis),
33 touchscreen_set_params(struct input_dev *dev, unsigned long axis, int min, int max, int fuzz) argument
[all...]
/linux-master/drivers/iio/imu/inv_mpu6050/
H A Dinv_mpu_magn.h37 int inv_mpu_magn_read(struct inv_mpu6050_state *st, int axis, int *val);
H A Dinv_mpu_magn.c317 * @axis: IIO modifier axis value
318 * @val: store corresponding axis value
322 int inv_mpu_magn_read(struct inv_mpu6050_state *st, int axis, int *val) argument
334 switch (axis) {
/linux-master/drivers/input/misc/
H A Dgpio_decoder.c20 u32 axis; member in struct:gpio_decoder
53 input_report_abs(input, decoder->axis, state);
72 device_property_read_u32(dev, "linux,axis", &decoder->axis);
96 input_set_abs_params(input, decoder->axis, 0, max, 0, 0);
H A Drotary_encoder.c39 u32 axis; member in struct:rotary_encoder
78 encoder->axis, encoder->dir);
98 input_report_abs(encoder->input, encoder->axis, encoder->pos);
234 device_property_read_u32(dev, "linux,axis", &encoder->axis);
236 device_property_read_bool(dev, "rotary-encoder,relative-axis");
256 input_set_capability(input, EV_REL, encoder->axis);
259 encoder->axis, 0, encoder->steps, 0, 1);
H A Dadxl34x.c25 #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 */
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) argument
246 axis->x = ac->saved.x;
249 axis->y = ac->saved.y;
252 axis->z = ac->saved.z;
259 struct axis_triple axis; local
[all...]
/linux-master/drivers/staging/
H A DMakefile25 obj-$(CONFIG_XIL_AXIS_FIFO) += axis-fifo/
/linux-master/drivers/iio/common/scmi_sensors/
H A Dscmi_iio.c342 scale = sensor->sensor_info->axis[ch->scan_index].scale;
387 if (sensor->sensor_info->axis[0].extended_attrs) {
388 min_range = sensor->sensor_info->axis[0].attrs.min_range;
389 max_range = sensor->sensor_info->axis[0].attrs.max_range;
390 resolution = sensor->sensor_info->axis[0].resolution;
391 exponent = sensor->sensor_info->axis[0].exponent;
392 scale = sensor->sensor_info->axis[0].scale;
612 ret = scmi_iio_get_chan_type(sensor_info->axis[i].type, &type);
616 ret = scmi_iio_get_chan_modifier(sensor_info->axis[i].name,
622 sensor_info->axis[
[all...]
/linux-master/drivers/iio/accel/
H A Dmma9551_core.h33 #define MMA9551_ACCEL_CHANNEL(axis) { \
36 .channel2 = axis, \
H A Dmsa311.c373 #define MSA311_ACCEL_CHANNEL(axis) { \
376 .channel2 = IIO_MOD_##axis, \
382 .scan_index = MSA311_SI_##axis, \
390 .datasheet_name = "ACC_"#axis, \
558 * msa311_get_axis() - Read MSA311 accel data for certain IIO channel axis spec
561 * @axis: Output accel axis data for requested IIO channel spec
570 __le16 *axis)
581 /* Axes data layout has 2 byte gap for each axis starting from X axis */
568 msa311_get_axis(struct msa311_priv *msa311, const struct iio_chan_spec * const chan, __le16 *axis) argument
593 __le16 axis; local
893 __le16 axis; local
[all...]
H A Dmc3230.c40 #define MC3230_CHANNEL(reg, axis) { \
44 .channel2 = IIO_MOD_##axis, \
H A Dda280.c3 * IIO driver for the MiraMEMS DA217 and DA280 3-axis accelerometer and
4 * IIO driver for the MiraMEMS DA226 2-axis accelerometer
33 #define DA280_CHANNEL(reg, axis) { \
37 .channel2 = IIO_MOD_##axis, \
H A Dmma7455_core.c3 * IIO accel core driver for Freescale MMA7455L 3-axis 10-bit accelerometer
210 #define MMA7455_CHANNEL(axis, idx) { \
213 .address = MMA7455_REG_##axis##OUTL,\
214 .channel2 = IIO_MOD_##axis, \
H A Dmma9551.c164 enum iio_modifier axis,
172 mma_axis = axis - 1;
191 switch (axis) {
307 #define MMA9551_INCLI_CHANNEL(axis) { \
310 .channel2 = axis, \
163 mma9551_config_incli_event(struct iio_dev *indio_dev, enum iio_modifier axis, int state) argument
H A Dbma220_spi.c35 #define BMA220_ACCEL_CHANNEL(index, reg, axis) { \
39 .channel2 = IIO_MOD_##axis, \
H A Dda311.c3 * IIO driver for the MiraMEMS DA311 3-axis accelerometer
80 #define DA311_CHANNEL(reg, axis) { \
84 .channel2 = IIO_MOD_##axis, \
H A Ddmard10.c3 * IIO driver for the 3-axis accelerometer Domintech ARD10.
54 #define DMARD10_CHANNEL(reg, axis) { \
58 .channel2 = IIO_MOD_##axis, \
H A Dmma7660.c41 #define MMA7660_CHANNEL(reg, axis) { \
45 .channel2 = IIO_MOD_##axis, \
/linux-master/include/linux/
H A Dinput.h476 void input_set_abs_params(struct input_dev *dev, unsigned int axis,
483 unsigned int axis) \
485 return dev->absinfo ? dev->absinfo[axis]._item : 0; \
489 unsigned int axis, int val) \
493 dev->absinfo[axis]._item = val; \
/linux-master/drivers/hid/
H A Dhid-udraw-ps3.c90 static int clamp_accel(int axis, int offset) argument
92 axis = clamp(axis,
95 axis = (axis - accel_limits[offset].min) /
98 return axis;
/linux-master/arch/arm/boot/dts/
H A DMakefile10 subdir-y += axis
/linux-master/scripts/dtc/include-prefixes/arm/
H A DMakefile10 subdir-y += axis
/linux-master/drivers/crypto/
H A DMakefile48 obj-$(CONFIG_CRYPTO_DEV_ARTPEC6) += axis/

Completed in 390 milliseconds

123