Lines Matching defs:prop
56 * @prop: pointer to a struct touchscreen_properties into which to store
65 struct touchscreen_properties *prop)
118 if (!prop)
121 prop->max_x = input_abs_get_max(input, axis_x);
122 prop->max_y = input_abs_get_max(input, axis_y);
124 prop->invert_x =
126 if (prop->invert_x) {
132 prop->invert_y =
134 if (prop->invert_y) {
140 prop->swap_x_y =
142 if (prop->swap_x_y)
148 touchscreen_apply_prop_to_x_y(const struct touchscreen_properties *prop,
151 if (prop->invert_x)
152 *x = prop->max_x - *x;
154 if (prop->invert_y)
155 *y = prop->max_y - *y;
157 if (prop->swap_x_y)
164 * @prop: pointer to a struct touchscreen_properties
173 const struct touchscreen_properties *prop,
176 touchscreen_apply_prop_to_x_y(prop, &x, &y);
185 * @prop: pointer to a struct touchscreen_properties
195 const struct touchscreen_properties *prop,
199 touchscreen_apply_prop_to_x_y(prop, &x, &y);