Lines Matching defs:props
65 struct touchscreen_properties props;
185 touchscreen_report_pos(input_dev, &data->props, x, y, true);
292 const struct touchscreen_properties *props = &data->props;
308 val = (props->max_x >> 8) & 0xf;
309 val |= ((props->max_y >> 8) & 0xf) << 4;
314 val = props->max_x & 0xff;
319 val = props->max_x & 0xff;
406 struct touchscreen_properties *props = &data->props;
408 if (device_property_read_u32(dev, "x-size", &props->max_x)) {
413 if (device_property_read_u32(dev, "y-size", &props->max_y)) {
424 props->invert_x = true;
426 props->invert_y = true;
428 props->swap_x_y = false;
469 touchscreen_parse_properties(input_dev, true, &data->props);
470 if (!data->props.max_x || !data->props.max_y) {
478 0, data->props.max_x, 0, 0);
480 0, data->props.max_y, 0, 0);