Lines Matching refs:prop
65 struct touchscreen_properties *prop) in touchscreen_parse_properties() argument
118 if (!prop) in touchscreen_parse_properties()
121 prop->max_x = input_abs_get_max(input, axis_x); in touchscreen_parse_properties()
122 prop->max_y = input_abs_get_max(input, axis_y); in touchscreen_parse_properties()
124 prop->invert_x = in touchscreen_parse_properties()
126 if (prop->invert_x) { in touchscreen_parse_properties()
132 prop->invert_y = in touchscreen_parse_properties()
134 if (prop->invert_y) { in touchscreen_parse_properties()
140 prop->swap_x_y = in touchscreen_parse_properties()
142 if (prop->swap_x_y) in touchscreen_parse_properties()
148 touchscreen_apply_prop_to_x_y(const struct touchscreen_properties *prop, in touchscreen_apply_prop_to_x_y() argument
151 if (prop->invert_x) in touchscreen_apply_prop_to_x_y()
152 *x = prop->max_x - *x; in touchscreen_apply_prop_to_x_y()
154 if (prop->invert_y) in touchscreen_apply_prop_to_x_y()
155 *y = prop->max_y - *y; in touchscreen_apply_prop_to_x_y()
157 if (prop->swap_x_y) in touchscreen_apply_prop_to_x_y()
173 const struct touchscreen_properties *prop, in touchscreen_set_mt_pos() argument
176 touchscreen_apply_prop_to_x_y(prop, &x, &y); in touchscreen_set_mt_pos()
195 const struct touchscreen_properties *prop, in touchscreen_report_pos() argument
199 touchscreen_apply_prop_to_x_y(prop, &x, &y); in touchscreen_report_pos()