Home
last modified time | relevance | path

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

12

/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()
276 wm831x_ts->pressure = pdata->pressure; in wm831x_ts_probe()
278 wm831x_ts->pressure = true; in wm831x_ts_probe()
286 WARN_ON(pdata->pressure && pdata->fivewire); in wm831x_ts_probe()
287 wm831x_ts->pressure = false; in wm831x_ts_probe()
361 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()
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()
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()
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()
Dwacom_i2c.c98 unsigned int x, y, pressure; in wacom_i2c_irq() local
113 pressure = le16_to_cpup((__le16 *)&data[8]); in wacom_i2c_irq()
122 input_report_abs(input, ABS_PRESSURE, pressure); in wacom_i2c_irq()
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()
Datmel_mxt_ts.c540 int pressure; in mxt_input_touchevent() local
550 pressure = message->message[5]; in mxt_input_touchevent()
563 x, y, area, pressure); in mxt_input_touchevent()
572 input_report_abs(input_dev, ABS_MT_PRESSURE, pressure); in mxt_input_touchevent()
/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()
Dcyapa.c174 u8 pressure; member
720 input_report_abs(input, ABS_MT_PRESSURE, touch->pressure); in cyapa_irq()
/drivers/input/tablet/
Dkbtab.c46 int pressure; in kbtab_irq() local
77 pressure = data[5]; in kbtab_irq()
79 input_report_abs(dev, ABS_PRESSURE, pressure); in kbtab_irq()
81 input_report_key(dev, BTN_LEFT, pressure > kb_pressure_click ? 1 : 0); in kbtab_irq()
Dwacom_wac.c82 int prox, pressure; in wacom_pl_irq() local
94 pressure = (signed char)((data[7] << 1) | ((data[4] >> 2) & 1)); in wacom_pl_irq()
96 pressure = (pressure << 1) | ((data[4] >> 6) & 1); in wacom_pl_irq()
97 pressure += (features->pressure_max + 1) / 2; in wacom_pl_irq()
131 input_report_abs(input, ABS_PRESSURE, pressure); in wacom_pl_irq()
184 int prox = data[1] & 0x20, pressure; in wacom_dtu_irq() local
201 pressure = ((data[7] & 0x01) << 8) | data[6]; in wacom_dtu_irq()
202 if (pressure < 0) in wacom_dtu_irq()
203 pressure = features->pressure_max + pressure + 1; in wacom_dtu_irq()
204 input_report_abs(input, ABS_PRESSURE, pressure); in wacom_dtu_irq()
[all …]
Dacecad.c94 int pressure = data[5] | (data[6] << 8); in usb_acecad_irq() local
100 input_report_abs(dev, ABS_PRESSURE, pressure); in usb_acecad_irq()
/drivers/misc/
Dbmp085.c212 static s32 bmp085_get_pressure(struct bmp085_data *data, int *pressure) in bmp085_get_pressure() argument
259 *pressure = p; in bmp085_get_pressure()
336 int pressure; in show_pressure() local
340 status = bmp085_get_pressure(data, &pressure); in show_pressure()
344 return sprintf(buf, "%d\n", pressure); in show_pressure()
DKconfig462 tristate "BMP085 digital pressure sensor on I2C"
467 Say Y here if you want to support Bosch Sensortec's digital pressure
474 tristate "BMP085 digital pressure sensor on SPI"
479 Say Y here if you want to support Bosch Sensortec's digital pressure
/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/hid/
Dhid-wacom.c603 __u16 x, y, pressure; in wacom_i4_parse_pen_report() local
639 pressure = (data[6] << 3) | ((data[7] & 0xC0) >> 5) in wacom_i4_parse_pen_report()
645 input_report_key(input, BTN_TOUCH, pressure > 1); in wacom_i4_parse_pen_report()
652 input_report_abs(input, ABS_PRESSURE, pressure); in wacom_i4_parse_pen_report()
/drivers/staging/android/
DKconfig21 because it can discard shared memory units when under memory pressure.
/drivers/staging/zcache/
DKconfig57 pages (in LRU order) when under memory pressure and writes them to
/drivers/staging/zcache/ramster/
Dramster-howto.txt261 enough memory pressure or because "remotifying" isn't working. On the

12