Lines Matching full:pressure
39 * @pressure_min: number representing the minimum for the pressure
40 * @pressure: are we getting pressure info or not
50 bool pressure; member
83 * On increased pressure the resistance (Rt) is in grts_cb()
85 * real pressure. in grts_cb()
92 if ((!x && !y) || (st->pressure && (press < st->pressure_min))) { in grts_cb()
101 if (st->pressure) in grts_cb()
165 /* pressure is optional */ in grts_get_properties()
166 error = grts_map_channel(st, dev, GRTS_CH_PRESSURE, "pressure", true); in grts_get_properties()
171 st->pressure = true; in grts_get_properties()
175 /* if no pressure is defined, try optional z1 + z2 */ in grts_get_properties()
196 st->pressure = true; in grts_get_properties()
225 if (st->pressure) { in grts_probe()
227 "touchscreen-min-pressure", in grts_probe()
230 dev_dbg(dev, "can't get touchscreen-min-pressure property.\n"); in grts_probe()
248 if (st->pressure) in grts_probe()