Lines Matching refs:prop
66 struct touchscreen_properties *prop) in touchscreen_parse_properties() argument
119 if (!prop) in touchscreen_parse_properties()
122 prop->max_x = input_abs_get_max(input, axis_x); in touchscreen_parse_properties()
123 prop->max_y = input_abs_get_max(input, axis_y); in touchscreen_parse_properties()
125 prop->invert_x = in touchscreen_parse_properties()
127 if (prop->invert_x) { in touchscreen_parse_properties()
133 prop->invert_y = in touchscreen_parse_properties()
135 if (prop->invert_y) { in touchscreen_parse_properties()
141 prop->swap_x_y = in touchscreen_parse_properties()
143 if (prop->swap_x_y) in touchscreen_parse_properties()
149 touchscreen_apply_prop_to_x_y(const struct touchscreen_properties *prop, in touchscreen_apply_prop_to_x_y() argument
152 if (prop->invert_x) in touchscreen_apply_prop_to_x_y()
153 *x = prop->max_x - *x; in touchscreen_apply_prop_to_x_y()
155 if (prop->invert_y) in touchscreen_apply_prop_to_x_y()
156 *y = prop->max_y - *y; in touchscreen_apply_prop_to_x_y()
158 if (prop->swap_x_y) in touchscreen_apply_prop_to_x_y()
174 const struct touchscreen_properties *prop, in touchscreen_set_mt_pos() argument
177 touchscreen_apply_prop_to_x_y(prop, &x, &y); in touchscreen_set_mt_pos()
196 const struct touchscreen_properties *prop, in touchscreen_report_pos() argument
200 touchscreen_apply_prop_to_x_y(prop, &x, &y); in touchscreen_report_pos()