Lines Matching full:axis
37 unsigned long axis, in touchscreen_set_params() argument
42 if (!test_bit(axis, dev->absbit)) { in touchscreen_set_params()
44 "DT specifies parameters but the axis %lu is not set up\n", in touchscreen_set_params()
45 axis); in touchscreen_set_params()
49 absinfo = &dev->absinfo[axis]; in touchscreen_set_params()
60 * axis swap and invert info for use with touchscreen_report_x_y();
71 unsigned int axis; in touchscreen_parse_properties() local
79 axis = multitouch ? ABS_MT_POSITION_X : ABS_X; in touchscreen_parse_properties()
82 axis) + 1, in touchscreen_parse_properties()
85 input_abs_get_fuzz(input, axis), in touchscreen_parse_properties()
88 touchscreen_set_params(input, axis, maximum - 1, fuzz); in touchscreen_parse_properties()
90 axis = multitouch ? ABS_MT_POSITION_Y : ABS_Y; in touchscreen_parse_properties()
93 axis) + 1, in touchscreen_parse_properties()
96 input_abs_get_fuzz(input, axis), in touchscreen_parse_properties()
99 touchscreen_set_params(input, axis, maximum - 1, fuzz); in touchscreen_parse_properties()
101 axis = multitouch ? ABS_MT_PRESSURE : ABS_PRESSURE; in touchscreen_parse_properties()
104 input_abs_get_max(input, axis), in touchscreen_parse_properties()
108 input_abs_get_fuzz(input, axis), in touchscreen_parse_properties()
111 touchscreen_set_params(input, axis, maximum, fuzz); in touchscreen_parse_properties()
116 axis = multitouch ? ABS_MT_POSITION_X : ABS_X; in touchscreen_parse_properties()
118 prop->max_x = input_abs_get_max(input, axis); in touchscreen_parse_properties()
119 prop->max_y = input_abs_get_max(input, axis + 1); in touchscreen_parse_properties()
128 swap(input->absinfo[axis], input->absinfo[axis + 1]); in touchscreen_parse_properties()
153 * Adjust the passed in x and y values applying any axis inversion and
175 * Adjust the passed in x and y values applying any axis inversion and
177 * report the resulting coordinates on the input_dev's x and y axis.