Home
last modified time | relevance | path

Searched refs:pressure (Results 1 – 22 of 22) sorted by relevance

/drivers/input/touchscreen/
Dwm831x-ts.c69 bool pressure; member
97 if (wm831x_ts->pressure) in wm831x_ts_data_irq()
144 if (wm831x_ts->pressure) in wm831x_ts_data_irq()
172 if (wm831x_ts->pressure) in wm831x_ts_pen_down_irq()
274 wm831x_ts->pressure = pdata->pressure; in wm831x_ts_probe()
276 wm831x_ts->pressure = true; in wm831x_ts_probe()
284 WARN_ON(pdata->pressure && pdata->fivewire); in wm831x_ts_probe()
285 wm831x_ts->pressure = false; in wm831x_ts_probe()
359 if (wm831x_ts->pressure) in wm831x_ts_probe()
Dtsc2005.c230 int x, int y, int pressure) in tsc2005_update_pen_state() argument
232 if (pressure) { in tsc2005_update_pen_state()
235 input_report_abs(ts->idev, ABS_PRESSURE, pressure); in tsc2005_update_pen_state()
237 input_report_key(ts->idev, BTN_TOUCH, !!pressure); in tsc2005_update_pen_state()
249 pressure); in tsc2005_update_pen_state()
256 unsigned int pressure; in tsc2005_irq_thread() local
299 pressure = x * (z2 - z1) / z1; in tsc2005_irq_thread()
300 pressure = pressure * ts->x_plate_ohm / 4096; in tsc2005_irq_thread()
301 if (unlikely(pressure > MAX_12BIT)) in tsc2005_irq_thread()
306 tsc2005_update_pen_state(ts, x, y, pressure); in tsc2005_irq_thread()
Dzylonite-wm97xx.c66 static int pressure; variable
67 module_param(pressure, int, 0);
68 MODULE_PARM_DESC(pressure, "Pressure readback (1 = pressure, 0 = no pressure)");
119 if (pressure) in wm97xx_acc_pen_down()
Datmel-wm97xx.c115 static int pressure; variable
116 module_param(pressure, int, 0);
117 MODULE_PARM_DESC(pressure, "Pressure readback (1 = pressure, 0 = no pressure)");
175 if (!pressure && source == WM97XX_ADCSEL_Y) { in atmel_wm97xx_channel_b_interrupt()
180 } else if (pressure && source == WM97XX_ADCSEL_PRES) { in atmel_wm97xx_channel_b_interrupt()
204 if (pressure) in atmel_wm97xx_acc_pen_up()
Dmainstone-wm97xx.c91 static int pressure; variable
92 module_param(pressure, int, 0);
93 MODULE_PARM_DESC(pressure, "Pressure readback (1 = pressure, 0 = no pressure)");
153 if (pressure) in wm97xx_acc_pen_down()
Dwm9705.c52 static int pressure = DEFAULT_PRESSURE & 0xfff; variable
53 module_param(pressure, int, 0);
54 MODULE_PARM_DESC(pressure, "Set threshold for pressure measurement.");
158 pressure = 0; in wm9705_phy_init()
Dwm9712.c65 static int pressure = DEFAULT_PRESSURE & 0xfff; variable
66 module_param(pressure, int, 0);
67 MODULE_PARM_DESC(pressure, "Set threshold for pressure measurement.");
190 pressure = 0; in wm9712_phy_init()
Dwm9713.c65 static int pressure = DEFAULT_PRESSURE & 0xfff; variable
66 module_param(pressure, int, 0);
67 MODULE_PARM_DESC(pressure, "Set threshold for pressure measurement.");
194 pressure = 0; in wm9713_phy_init()
Dtps6507x-ts.c37 u16 pressure; member
175 &tsc->tc.pressure); in tps6507x_ts_handler()
179 pendown = tsc->tc.pressure > tsc->min_pressure; in tps6507x_ts_handler()
209 input_report_abs(input_dev, ABS_PRESSURE, tsc->tc.pressure); in tps6507x_ts_handler()
Dpcap_ts.c30 u16 pressure; member
51 pcap_ts->pressure = res[0]; in pcap_ts_read_xy()
72 pcap_ts->pressure); in pcap_ts_read_xy()
Datmel_mxt_ts.c247 int pressure; member
541 finger[id].pressure); in mxt_input_report()
553 ABS_PRESSURE, finger[single_id].pressure); in mxt_input_report()
568 int pressure; in mxt_input_touchevent() local
593 pressure = message->message[5]; in mxt_input_touchevent()
604 finger[id].pressure = pressure; in mxt_input_touchevent()
Ducb1400_ts.c151 static void ucb1400_ts_report_event(struct input_dev *idev, u16 pressure, u16 x, u16 y) in ucb1400_ts_report_event() argument
155 input_report_abs(idev, ABS_PRESSURE, pressure); in ucb1400_ts_report_event()
/drivers/input/mouse/
Dsynaptics_usb.c108 unsigned int pressure; in synusb_report_stick() local
110 pressure = synusb->data[6]; in synusb_report_stick()
114 if (pressure > 0) { in synusb_report_stick()
119 input_report_abs(input_dev, ABS_PRESSURE, pressure); in synusb_report_stick()
131 unsigned int pressure, w; in synusb_report_touchpad() local
133 pressure = synusb->data[6]; in synusb_report_touchpad()
138 if (pressure > 0) { in synusb_report_touchpad()
164 if (pressure > 30) in synusb_report_touchpad()
166 if (pressure < 25) in synusb_report_touchpad()
175 input_report_abs(input_dev, ABS_PRESSURE, pressure); in synusb_report_touchpad()
/drivers/input/tablet/
Dkbtab.c45 int pressure; in kbtab_irq() local
72 pressure = data[5]; in kbtab_irq()
74 input_report_abs(dev, ABS_PRESSURE, pressure); in kbtab_irq()
76 input_report_key(dev, BTN_LEFT, pressure > kb_pressure_click ? 1 : 0); in kbtab_irq()
Dwacom_wac.c76 int prox, pressure; in wacom_pl_irq() local
87 pressure = (signed char)((data[7] << 1) | ((data[4] >> 2) & 1)); in wacom_pl_irq()
89 pressure = (pressure << 1) | ((data[4] >> 6) & 1); in wacom_pl_irq()
90 pressure += (features->pressure_max + 1) / 2; in wacom_pl_irq()
124 input_report_abs(input, ABS_PRESSURE, pressure); in wacom_pl_irq()
176 int prox = data[1] & 0x20, pressure; in wacom_dtu_irq() local
192 pressure = ((data[7] & 0x01) << 8) | data[6]; in wacom_dtu_irq()
193 if (pressure < 0) in wacom_dtu_irq()
194 pressure = features->pressure_max + pressure + 1; in wacom_dtu_irq()
195 input_report_abs(input, ABS_PRESSURE, pressure); in wacom_dtu_irq()
[all …]
Dacecad.c90 int pressure = data[5] | (data[6] << 8); in usb_acecad_irq() local
96 input_report_abs(dev, ABS_PRESSURE, pressure); in usb_acecad_irq()
/drivers/misc/
Dbmp085.c228 static s32 bmp085_get_pressure(struct bmp085_data *data, int *pressure) in bmp085_get_pressure() argument
275 *pressure = p; in bmp085_get_pressure()
351 int pressure; in show_pressure() local
356 status = bmp085_get_pressure(data, &pressure); in show_pressure()
360 return sprintf(buf, "%d\n", pressure); in show_pressure()
DKconfig467 tristate "BMP085 digital pressure sensor"
471 BMP085 digital pressure sensor.
/drivers/hid/
Dhid-wacom.c370 __u16 x, y, pressure; in wacom_i4_parse_pen_report() local
405 pressure = (data[6] << 3) | ((data[7] & 0xC0) >> 5) in wacom_i4_parse_pen_report()
409 input_report_key(input, BTN_TOUCH, pressure > 1); in wacom_i4_parse_pen_report()
416 input_report_abs(input, ABS_PRESSURE, pressure); in wacom_i4_parse_pen_report()
DKconfig577 is pressure sensitive buttons on the pro models.
/drivers/mfd/
Ducb1x00-ts.c57 static inline void ucb1x00_ts_evt_add(struct ucb1x00_ts *ts, u16 pressure, u16 x, u16 y) in ucb1x00_ts_evt_add() argument
63 input_report_abs(idev, ABS_PRESSURE, pressure); in ucb1x00_ts_evt_add()
/drivers/staging/android/
DKconfig25 because it can discard shared memory units when under memory pressure.