Home
last modified time | relevance | path

Searched refs:axis_align (Results 1 – 7 of 7) sorted by relevance

/Linux-v4.19/drivers/input/rmi4/
Drmi_2d_sensor.c29 struct rmi_2d_axis_alignment *axis_align = &sensor->axis_align; in rmi_2d_sensor_abs_process() local
35 if (axis_align->flip_x) in rmi_2d_sensor_abs_process()
38 if (axis_align->flip_y) in rmi_2d_sensor_abs_process()
41 if (axis_align->swap_axes) in rmi_2d_sensor_abs_process()
52 obj->x += axis_align->offset_x; in rmi_2d_sensor_abs_process()
53 obj->y += axis_align->offset_y; in rmi_2d_sensor_abs_process()
55 obj->x = max(axis_align->clip_x_low, obj->x); in rmi_2d_sensor_abs_process()
56 obj->y = max(axis_align->clip_y_low, obj->y); in rmi_2d_sensor_abs_process()
58 if (axis_align->clip_x_high) in rmi_2d_sensor_abs_process()
61 if (axis_align->clip_y_high) in rmi_2d_sensor_abs_process()
[all …]
Drmi_2d_sensor.h47 struct rmi_2d_axis_alignment axis_align; member
Drmi_f11.c1128 sensor->axis_align = in rmi_f11_initialize()
1129 f11->sensor_pdata.axis_align; in rmi_f11_initialize()
1196 if (sensor->axis_align.delta_x_threshold) in rmi_f11_initialize()
1198 sensor->axis_align.delta_x_threshold; in rmi_f11_initialize()
1200 if (sensor->axis_align.delta_y_threshold) in rmi_f11_initialize()
1202 sensor->axis_align.delta_y_threshold; in rmi_f11_initialize()
Drmi_f12.c389 sensor->axis_align = in rmi_f12_probe()
390 f12->sensor_pdata.axis_align; in rmi_f12_probe()
/Linux-v4.19/include/linux/
Drmi.h94 struct rmi_2d_axis_alignment axis_align; member
/Linux-v4.19/drivers/hid/
Dhid-rmi.c577 .axis_align.flip_y = true,
/Linux-v4.19/drivers/input/mouse/
Dsynaptics.c1741 .axis_align.flip_y = true, in synaptics_create_intertouch()