Searched refs:prox (Results 1 - 6 of 6) sorted by relevance

/linux-master/drivers/input/tablet/
H A Dacecad.c43 int prox, status; local
62 prox = (data[0] & 0x04) >> 2;
63 input_report_key(dev, BTN_TOOL_PEN, prox);
65 if (prox) {
/linux-master/drivers/input/touchscreen/
H A Dwacom_i2c.c53 bool prox; member in struct:wacom_i2c
128 if (!wac_i2c->prox)
132 wac_i2c->prox = data[3] & WACOM_IN_PROXIMITY;
135 input_report_key(input, wac_i2c->tool, wac_i2c->prox);
H A Dsurface3_spi.c126 int prox = st & 0x01; local
128 int tool = (prox && rubber) ? BTN_TOOL_RUBBER : BTN_TOOL_PEN;
139 input_report_key(dev, ts_data->pen_tool, prox);
/linux-master/drivers/hid/
H A Dwacom_wac.c73 hid_warn(wacom->hdev, "%s: tool appears to be hung in-prox. forcing it out.\n", __func__);
175 int prox, pressure; local
183 prox = data[1] & 0x40;
196 /* If the eraser is in prox, STYLUS2 is always set. If we
198 * then force the eraser out of prox and let the pen in.
208 if (prox) {
224 if (!prox)
226 input_report_key(input, wacom->tool[0], prox);
264 int prox = data[1] & 0x20; local
269 if (prox) {
294 unsigned short prox, pressure = 0; local
348 int prox; local
523 bool prox = false; local
1357 bool prox = frame[0] & 0x40; local
1519 bool prox = expresskeys || center || ringstatus; local
1754 bool prox = report_touch_events(wacom); local
1790 bool prox = data[1] & 0x20; local
2670 bool prox = touch_down && report_touch_events(wacom_wac); local
3155 bool range, prox, rdy; local
[all...]
/linux-master/drivers/iio/light/
H A DMakefile26 obj-$(CONFIG_HID_SENSOR_PROX) += hid-sensor-prox.o
H A Disl29028.c263 static int isl29028_read_proxim(struct isl29028_chip *chip, int *prox) argument
284 *prox = data;

Completed in 198 milliseconds