Lines Matching defs:prop
57 * @prop: pointer to a struct touchscreen_properties into which to store
66 struct touchscreen_properties *prop)
119 if (!prop)
122 prop->max_x = input_abs_get_max(input, axis_x);
123 prop->max_y = input_abs_get_max(input, axis_y);
125 prop->invert_x =
127 if (prop->invert_x) {
133 prop->invert_y =
135 if (prop->invert_y) {
141 prop->swap_x_y =
143 if (prop->swap_x_y)
149 touchscreen_apply_prop_to_x_y(const struct touchscreen_properties *prop,
152 if (prop->invert_x)
153 *x = prop->max_x - *x;
155 if (prop->invert_y)
156 *y = prop->max_y - *y;
158 if (prop->swap_x_y)
165 * @prop: pointer to a struct touchscreen_properties
174 const struct touchscreen_properties *prop,
177 touchscreen_apply_prop_to_x_y(prop, &x, &y);
186 * @prop: pointer to a struct touchscreen_properties
196 const struct touchscreen_properties *prop,
200 touchscreen_apply_prop_to_x_y(prop, &x, &y);