Home
last modified time | relevance | path

Searched +defs:x +defs:axis (Results 1 – 15 of 15) sorted by relevance

/linux-6.14.4/drivers/input/
Dtouchscreen.c34 unsigned long axis, in touchscreen_set_params()
70 unsigned int axis, axis_x, axis_y; in touchscreen_parse_properties() local
150 unsigned int *x, unsigned int *y) in touchscreen_apply_prop_to_x_y()
175 unsigned int x, unsigned int y) in touchscreen_set_mt_pos()
197 unsigned int x, unsigned int y, in touchscreen_report_pos()
/linux-6.14.4/include/linux/input/
Dmt.h90 static inline bool input_is_mt_value(int axis) in input_is_mt_value()
95 static inline bool input_is_mt_axis(int axis) in input_is_mt_axis()
120 s16 x, y; member
/linux-6.14.4/drivers/input/misc/
Dadxl34x.c100 #define RATE(x) ((x) & 0xF) argument
107 #define PCTL_WAKEUP(x) ((x) & 0x3) argument
115 #define RANGE(x) ((x) & 0x3) argument
134 #define FIFO_MODE(x) (((x) & 0x3) << 6) argument
140 #define SAMPLES(x) ((x) & 0x1F) argument
144 #define ENTRIES(x) ((x) & 0x3F) argument
155 #define ORIENT_DEADZONE(x) (((x) & 0x7) << 4) argument
156 #define ORIENT_DIVISOR(x) ((x) & 0x7) argument
160 #define ADXL346_2D_ORIENT(x) (((x) & 0x30) >> 4) argument
162 #define ADXL346_3D_ORIENT(x) ((x) & 0x7) argument
[all …]
/linux-6.14.4/drivers/hid/
Dhid-udraw-ps3.c90 static int clamp_accel(int axis, int offset) in clamp_accel()
106 int x, y, z; in udraw_raw_event() local
/linux-6.14.4/drivers/iio/magnetometer/
Dals31300.c106 u16 *t, s16 *x, s16 *y, s16 *z) in als31300_get_measure()
154 s16 x, y, z; in als31300_read_raw() local
236 s16 x, y, z; in als31300_trigger_handler() local
257 #define ALS31300_AXIS_CHANNEL(axis, index) \ argument
Dyamaha-yas530.c284 static int yas530_measure(struct yas5xx *yas5xx, u16 *t, u16 *x, u16 *y1, u16 *y2) in yas530_measure()
368 static int yas537_measure(struct yas5xx *yas5xx, u16 *t, u16 *x, u16 *y1, u16 *y2) in yas537_measure()
432 static s32 yas530_linearize(struct yas5xx *yas5xx, u16 val, int axis) in yas530_linearize()
505 u16 t_ref, t_comp, t, x, y1, y2; in yas530_get_measure() local
587 u16 t, x, y1, y2; in yas537_get_measure() local
618 s32 t, x, y, z; in yas5xx_read_raw() local
662 s32 t, x, y, z; in yas5xx_fill_buffer() local
707 #define YAS5XX_AXIS_CHANNEL(axis, index) \ argument
1196 u16 t, x, y1, y2; in yas530_measure_offsets() local
Dtmag5273.c156 static int tmag5273_get_measure(struct tmag5273_data *data, s16 *t, s16 *x, in tmag5273_get_measure()
285 s16 t, x, y, z; in tmag5273_read_raw() local
394 #define TMAG5273_AXIS_CHANNEL(axis, index) \ argument
/linux-6.14.4/drivers/platform/chrome/
Dcros_ec_sensorhub_ring.c257 s64 x, y; in cros_ec_sensor_ring_ts_filter_update() local
355 s64 x) in cros_ec_sensor_ring_ts_filter()
426 int axis, async_flags; in cros_ec_sensor_ring_process_event() local
/linux-6.14.4/drivers/iio/gyro/
Dadxrs290.c45 #define ADXRS290_SYNC(x) FIELD_PREP(ADXRS290_SYNC_MASK, x) argument
47 #define ADXRS290_LPF(x) FIELD_PREP(ADXRS290_LPF_MASK, x) argument
49 #define ADXRS290_HPF(x) FIELD_PREP(ADXRS290_HPF_MASK, x) argument
529 #define ADXRS290_ANGL_VEL_CHANNEL(reg, axis) { \ argument
/linux-6.14.4/drivers/misc/lis3lv02d/
Dlis3lv02d.c155 static inline int lis3lv02d_get_axis(s8 axis, int hw_values[3]) in lis3lv02d_get_axis()
172 static void lis3lv02d_get_xyz(struct lis3lv02d *lis3, int *x, int *y, int *z) in lis3lv02d_get_xyz()
267 s16 x, y, z; in lis3lv02d_selftest() local
448 int x, y, z; in lis3lv02d_joystick_poll() local
813 int x, y, z; in lis3lv02d_position_show() local
/linux-6.14.4/drivers/iio/accel/
Dadxl372.c88 #define ADXL372_POWER_CTL_MODE(x) (((x) & 0x3) << 0) argument
92 #define ADXL372_MEASURE_LINKLOOP_MODE(x) (((x) & 0x3) << 4) argument
94 #define ADXL372_MEASURE_BANDWIDTH_MODE(x) (((x) & 0x7) << 0) argument
98 #define ADXL372_TIMING_ODR_MODE(x) (((x) & 0x7) << 5) argument
102 #define ADXL372_FIFO_CTL_FORMAT_MODE(x) (((x) & 0x7) << 3) argument
104 #define ADXL372_FIFO_CTL_MODE_MODE(x) (((x) & 0x3) << 1) argument
106 #define ADXL372_FIFO_CTL_SAMPLES_MODE(x) (((x) > 0xFF) ? 1 : 0) argument
109 #define ADXL372_STATUS_1_DATA_RDY(x) (((x) >> 0) & 0x1) argument
110 #define ADXL372_STATUS_1_FIFO_RDY(x) (((x) >> 1) & 0x1) argument
111 #define ADXL372_STATUS_1_FIFO_FULL(x) (((x) >> 2) & 0x1) argument
[all …]
Dfxls8962af-core.c61 #define FXLS8962AF_SC1_FSR_PREP(x) FIELD_PREP(FXLS8962AF_SC1_FSR_MASK, (x)) argument
62 #define FXLS8962AF_SC1_FSR_GET(x) FIELD_GET(FXLS8962AF_SC1_FSR_MASK, (x)) argument
67 #define FXLS8962AF_SC3_WAKE_ODR_PREP(x) FIELD_PREP(FXLS8962AF_SC3_WAKE_ODR_MASK, (x)) argument
68 #define FXLS8962AF_SC3_WAKE_ODR_GET(x) FIELD_GET(FXLS8962AF_SC3_WAKE_ODR_MASK, (x)) argument
71 #define FXLS8962AF_SC4_INT_PP_OD_PREP(x) FIELD_PREP(FXLS8962AF_SC4_INT_PP_OD_MASK, (x)) argument
73 #define FXLS8962AF_SC4_INT_POL_PREP(x) FIELD_PREP(FXLS8962AF_SC4_INT_POL_MASK, (x)) argument
94 #define FXLS8962AF_BC1_BUF_MODE_PREP(x) FIELD_PREP(FXLS8962AF_BC1_BUF_MODE_MASK, (x)) argument
717 #define FXLS8962AF_CHANNEL(axis, reg, idx) { \ argument
/linux-6.14.4/tools/testing/selftests/hid/tests/
Dtest_tablet.py451 def __init__(self, x, y): argument
488 def __assert_axis(self, evdev, axis, value): argument
/linux-6.14.4/tools/perf/scripts/python/
Dexported-sql-viewer.py727 def __init__(self, *x):
729 def Update(self, *x):
1197 def __init__(self, x=0, y=0): argument
1256 def __init__(self, data, index, x, y, altx=None, alty=None, hregion=None, vregion=None): argument
1277 def AddPoint(self, x, y, altx=None, alty=None, hregion=None, vregion=None): argument
1285 def XToData(self, x): argument
1447 def PaintPoint(self, painter, last, x): argument
1493 def XPixelToData(self, x): argument
1628 def __init__(self, axis, parent=None): argument
1656 def __init__(self, axis, parent=None): argument
[all …]
/linux-6.14.4/include/linux/
Dscmi_protocol.h290 #define SCMI_SENS_INTVL_GET_SECS(x) FIELD_GET(GENMASK(20, 5), (x)) argument
291 #define SCMI_SENS_INTVL_GET_EXP(x) \ argument
351 struct scmi_sensor_axis_info *axis; member
355 #define SCMI_SENS_CFG_GET_UPDATE_SECS(x) \ argument
359 #define SCMI_SENS_CFG_GET_UPDATE_EXP(x) \ argument
377 #define SCMI_SENS_CFG_IS_TSTAMP_ENABLED(x) \ argument
384 #define SCMI_SENS_CFG_IS_ENABLED(x) FIELD_GET(BIT(0), (x)) argument