pressure 171 drivers/hid/hid-asus.c int touch_major, pressure, x, y; pressure 184 drivers/hid/hid-asus.c pressure = MAX_PRESSURE; pressure 187 drivers/hid/hid-asus.c pressure = data[4] & CONTACT_PRESSURE_MASK; pressure 191 drivers/hid/hid-asus.c input_report_abs(input, ABS_MT_PRESSURE, pressure); pressure 196 drivers/hid/hid-magicmouse.c int pressure = 0; pressure 216 drivers/hid/hid-magicmouse.c pressure = tdata[7]; pressure 296 drivers/hid/hid-magicmouse.c input_report_abs(input, ABS_MT_PRESSURE, pressure); pressure 1960 drivers/hid/hid-wiimote-modules.c __u8 pressure, __u8 onoff, pressure 1967 drivers/hid/hid-wiimote-modules.c *store = pressure; pressure 1977 drivers/hid/hid-wiimote-modules.c __u8 pressure, which, none, hhp, sx, sy; pressure 2011 drivers/hid/hid-wiimote-modules.c pressure = 7 - (ext[3] >> 5); pressure 2031 drivers/hid/hid-wiimote-modules.c wiimod_drums_report_pressure(wdata, none, which, pressure, pressure 2034 drivers/hid/hid-wiimote-modules.c wiimod_drums_report_pressure(wdata, none, which, pressure, pressure 2037 drivers/hid/hid-wiimote-modules.c wiimod_drums_report_pressure(wdata, none, which, pressure, pressure 2040 drivers/hid/hid-wiimote-modules.c wiimod_drums_report_pressure(wdata, none, which, pressure, pressure 2043 drivers/hid/hid-wiimote-modules.c wiimod_drums_report_pressure(wdata, none, which, pressure, pressure 2048 drivers/hid/hid-wiimote-modules.c wiimod_drums_report_pressure(wdata, none, hhp ? 0xff : which, pressure, pressure 2052 drivers/hid/hid-wiimote-modules.c wiimod_drums_report_pressure(wdata, none, hhp ? which : 0xff, pressure, pressure 137 drivers/hid/wacom_wac.c int prox, pressure; pressure 171 drivers/hid/wacom_wac.c pressure = (signed char)((data[7] << 1) | ((data[4] >> 2) & 1)); pressure 173 drivers/hid/wacom_wac.c pressure = (pressure << 1) | ((data[4] >> 6) & 1); pressure 174 drivers/hid/wacom_wac.c pressure += (features->pressure_max + 1) / 2; pressure 178 drivers/hid/wacom_wac.c input_report_abs(input, ABS_PRESSURE, pressure); pressure 256 drivers/hid/wacom_wac.c unsigned short prox, pressure = 0; pressure 291 drivers/hid/wacom_wac.c pressure = ((data[1] & 0x03) << 8) | (data[2] & 0xff); pressure 292 drivers/hid/wacom_wac.c input_report_abs(input, ABS_PRESSURE, pressure); pressure 293 drivers/hid/wacom_wac.c input_report_key(input, BTN_TOUCH, pressure > 10); pressure 305 drivers/hid/wacom_wac.h int pressure; pressure 574 drivers/iio/common/ms_sensors/ms_sensors_i2c.c unsigned int *pressure) pressure 641 drivers/iio/common/ms_sensors/ms_sensors_i2c.c *pressure = (u32)(((((s64)p_adc * sens) >> 21) - off) >> 15); pressure 61 drivers/iio/common/ms_sensors/ms_sensors_i2c.h unsigned int *pressure); pressure 104 drivers/iio/pressure/abp060mg.c u16 pressure; pressure 118 drivers/iio/pressure/abp060mg.c pressure = be16_to_cpu(buf[0]); pressure 119 drivers/iio/pressure/abp060mg.c if (pressure & ABP060MG_ERROR_MASK) pressure 122 drivers/iio/pressure/abp060mg.c if (pressure < ABP060MG_MIN_COUNTS || pressure > ABP060MG_MAX_COUNTS) pressure 125 drivers/iio/pressure/abp060mg.c *val = pressure; pressure 473 drivers/iio/pressure/dps310.c s64 pressure = 0ULL; pressure 524 drivers/iio/pressure/dps310.c pressure -= div64_u64_rem(-nums[i], denoms[i], &irem); pressure 527 drivers/iio/pressure/dps310.c pressure += div64_u64_rem(nums[i], denoms[i], &irem); pressure 536 drivers/iio/pressure/dps310.c pressure += div_s64(rem, 1000000000LL); pressure 537 drivers/iio/pressure/dps310.c if (pressure < 0LL) pressure 540 drivers/iio/pressure/dps310.c return (int)min_t(s64, pressure, INT_MAX); pressure 43 drivers/iio/pressure/hp03.c s32 pressure; /* kPa */ pressure 150 drivers/iio/pressure/hp03.c priv->pressure = ((x * 100) >> 5) + (cx_val[6] * 10); pressure 178 drivers/iio/pressure/hp03.c *val = priv->pressure; pressure 32 drivers/iio/pressure/ms5611.h s32 *temp, s32 *pressure); pressure 56 drivers/iio/pressure/ms5611.h s32 *temp, s32 *pressure); pressure 106 drivers/iio/pressure/ms5611_core.c s32 *temp, s32 *pressure) pressure 111 drivers/iio/pressure/ms5611_core.c ret = st->read_adc_temp_and_pressure(&indio_dev->dev, temp, pressure); pressure 119 drivers/iio/pressure/ms5611_core.c temp, pressure); pressure 123 drivers/iio/pressure/ms5611_core.c s32 *temp, s32 *pressure) pressure 125 drivers/iio/pressure/ms5611_core.c s32 t = *temp, p = *pressure; pressure 153 drivers/iio/pressure/ms5611_core.c *pressure = (((p * sens) >> 21) - off) >> 15; pressure 159 drivers/iio/pressure/ms5611_core.c s32 *temp, s32 *pressure) pressure 161 drivers/iio/pressure/ms5611_core.c s32 t = *temp, p = *pressure; pressure 189 drivers/iio/pressure/ms5611_core.c *pressure = (((p * sens) >> 21) - off) >> 15; pressure 238 drivers/iio/pressure/ms5611_core.c s32 temp, pressure; pressure 245 drivers/iio/pressure/ms5611_core.c &temp, &pressure); pressure 255 drivers/iio/pressure/ms5611_core.c *val = pressure / 1000; pressure 256 drivers/iio/pressure/ms5611_core.c *val2 = (pressure % 1000) * 1000; pressure 59 drivers/iio/pressure/ms5611_i2c.c s32 *temp, s32 *pressure) pressure 80 drivers/iio/pressure/ms5611_i2c.c return ms5611_i2c_read_adc(st, pressure); pressure 54 drivers/iio/pressure/ms5611_spi.c s32 *temp, s32 *pressure) pressure 79 drivers/iio/pressure/ms5611_spi.c return ms5611_spi_read_adc(dev, pressure); pressure 42 drivers/iio/pressure/ms5637.c unsigned int pressure; pressure 49 drivers/iio/pressure/ms5637.c &pressure); pressure 59 drivers/iio/pressure/ms5637.c *val = pressure / 1000; pressure 60 drivers/iio/pressure/ms5637.c *val2 = (pressure % 1000) * 1000; pressure 48 drivers/iio/pressure/t5403.c static int t5403_read(struct t5403_data *data, bool pressure) pressure 53 drivers/iio/pressure/t5403.c (pressure ? (data->mode << T5403_MODE_SHIFT) : T5403_PT) | pressure 58 drivers/iio/pressure/t5403.c wait_time += pressure ? t5403_pressure_conv_ms[data->mode] : 2; pressure 512 drivers/iio/pressure/zpa2326.c u32 *pressure) pressure 524 drivers/iio/pressure/zpa2326.c *pressure = 0; pressure 533 drivers/iio/pressure/zpa2326.c err = regmap_bulk_read(regs, ZPA2326_PRESS_OUT_XL_REG, pressure, pressure 549 drivers/iio/pressure/zpa2326.c err = regmap_bulk_read(regs, ZPA2326_PRESS_OUT_XL_REG, pressure, pressure 582 drivers/iio/pressure/zpa2326.c u32 pressure; pressure 590 drivers/iio/pressure/zpa2326.c err = zpa2326_dequeue_pressure(indio_dev, &sample.pressure); pressure 165 drivers/input/keyboard/applespi.c __le16 pressure; pressure 534 drivers/input/mouse/alps.c fingers = f->pressure > 0 ? 1 : 0; pressure 550 drivers/input/mouse/alps.c input_report_abs(dev, ABS_PRESSURE, f->pressure); pressure 652 drivers/input/mouse/alps.c f->pressure = p[5] & 0x7f; pressure 680 drivers/input/mouse/alps.c f->pressure = p[5] & 0x7f; pressure 700 drivers/input/mouse/alps.c f->pressure = (p[0] & 4) ? 0 : p[5] & 0x7f; pressure 789 drivers/input/mouse/alps.c if (f->st.x && f->st.y && !f->pressure) pressure 919 drivers/input/mouse/alps.c f->pressure = packet[5] & 0x7f; pressure 1191 drivers/input/mouse/alps.c f->pressure = ((SS4_1F_Z_V2(p)) * 2) & 0x7f; pressure 1198 drivers/input/mouse/alps.c f->fingers = f->pressure > 0 ? 1 : 0; pressure 1225 drivers/input/mouse/alps.c f->pressure = SS4_MF_Z_V2(p, 0) ? 0x30 : 0; pressure 1384 drivers/input/mouse/alps.c input_report_abs(dev, ABS_PRESSURE, f->pressure); pressure 237 drivers/input/mouse/alps.h int pressure; pressure 232 drivers/input/mouse/bcm5974.c __le16 pressure; /* pressure on forcetouch touchpad */ pressure 94 drivers/input/mouse/cyapa_gen3.c u8 pressure; pressure 1163 drivers/input/mouse/cyapa_gen3.c input_report_abs(input, ABS_MT_PRESSURE, touch->pressure); pressure 895 drivers/input/mouse/elan_i2c_core.c unsigned int pressure, mk_x, mk_y; pressure 906 drivers/input/mouse/elan_i2c_core.c pressure = finger_data[4]; pressure 926 drivers/input/mouse/elan_i2c_core.c scaled_pressure = pressure + data->pressure_adjustment; pressure 107 drivers/input/mouse/synaptics_usb.c unsigned int pressure; pressure 109 drivers/input/mouse/synaptics_usb.c pressure = synusb->data[6]; pressure 113 drivers/input/mouse/synaptics_usb.c if (pressure > 0) { pressure 118 drivers/input/mouse/synaptics_usb.c input_report_abs(input_dev, ABS_PRESSURE, pressure); pressure 130 drivers/input/mouse/synaptics_usb.c unsigned int pressure, w; pressure 132 drivers/input/mouse/synaptics_usb.c pressure = synusb->data[6]; pressure 137 drivers/input/mouse/synaptics_usb.c if (pressure > 0) { pressure 163 drivers/input/mouse/synaptics_usb.c if (pressure > 30) pressure 165 drivers/input/mouse/synaptics_usb.c if (pressure < 25) pressure 174 drivers/input/mouse/synaptics_usb.c input_report_abs(input_dev, ABS_PRESSURE, pressure); pressure 72 drivers/input/tablet/acecad.c int pressure = data[5] | (data[6] << 8); pressure 78 drivers/input/tablet/acecad.c input_report_abs(dev, ABS_PRESSURE, pressure); pressure 36 drivers/input/tablet/kbtab.c int pressure; pressure 67 drivers/input/tablet/kbtab.c pressure = data[5]; pressure 69 drivers/input/tablet/kbtab.c input_report_abs(dev, ABS_PRESSURE, pressure); pressure 71 drivers/input/tablet/kbtab.c input_report_key(dev, BTN_LEFT, pressure > kb_pressure_click ? 1 : 0); pressure 860 drivers/input/touchscreen/atmel_mxt_ts.c u8 pressure = 0; pressure 895 drivers/input/touchscreen/atmel_mxt_ts.c pressure = message[data->t100_aux_ampl]; pressure 912 drivers/input/touchscreen/atmel_mxt_ts.c pressure = message[data->t100_aux_ampl]; pressure 930 drivers/input/touchscreen/atmel_mxt_ts.c if (!pressure && type != MXT_T100_TYPE_HOVERING_FINGER) pressure 931 drivers/input/touchscreen/atmel_mxt_ts.c pressure = MXT_PRESSURE_DEFAULT; pressure 937 drivers/input/touchscreen/atmel_mxt_ts.c id, type, x, y, major, pressure, orientation); pressure 943 drivers/input/touchscreen/atmel_mxt_ts.c input_report_abs(input_dev, ABS_MT_PRESSURE, pressure); pressure 33 drivers/input/touchscreen/chipone_icn8318.c __u8 pressure; /* Seems more like finger width then pressure really */ pressure 53 drivers/input/touchscreen/chipone_icn8505.c u8 pressure; /* Seems more like finger width then pressure really */ pressure 724 drivers/input/touchscreen/iqs5xx.c u16 pressure = be16_to_cpu(touch_data[i].strength); pressure 728 drivers/input/touchscreen/iqs5xx.c pressure != 0)) { pressure 733 drivers/input/touchscreen/iqs5xx.c input_report_abs(input, ABS_MT_PRESSURE, pressure); pressure 85 drivers/input/touchscreen/mainstone-wm97xx.c static int pressure; pressure 86 drivers/input/touchscreen/mainstone-wm97xx.c module_param(pressure, int, 0); pressure 87 drivers/input/touchscreen/mainstone-wm97xx.c MODULE_PARM_DESC(pressure, "Pressure readback (1 = pressure, 0 = no pressure)"); pressure 147 drivers/input/touchscreen/mainstone-wm97xx.c if (pressure) pressure 473 drivers/input/touchscreen/melfas_mip4.c u8 pressure; pressure 489 drivers/input/touchscreen/melfas_mip4.c pressure = packet[4]; pressure 512 drivers/input/touchscreen/melfas_mip4.c pressure = ((packet[7] & 0x0F) << 8) | pressure 521 drivers/input/touchscreen/melfas_mip4.c id, state, x, y, pressure); pressure 531 drivers/input/touchscreen/melfas_mip4.c input_report_abs(ts->input, ABS_MT_PRESSURE, pressure); pressure 77 drivers/input/touchscreen/mxs-lradc-ts.c u32 pressure; pressure 228 drivers/input/touchscreen/mxs-lradc-ts.c unsigned int pressure, m1, m2; pressure 247 drivers/input/touchscreen/mxs-lradc-ts.c pressure = m1; pressure 248 drivers/input/touchscreen/mxs-lradc-ts.c pressure *= (1 << LRADC_RESOLUTION); pressure 249 drivers/input/touchscreen/mxs-lradc-ts.c pressure /= m2; pressure 251 drivers/input/touchscreen/mxs-lradc-ts.c dev_dbg(ts->dev, "Pressure = %u\n", pressure); pressure 252 drivers/input/touchscreen/mxs-lradc-ts.c return pressure; pressure 358 drivers/input/touchscreen/mxs-lradc-ts.c writel(info[lradc->soc].pressure, pressure 25 drivers/input/touchscreen/pcap_ts.c u16 pressure; pressure 46 drivers/input/touchscreen/pcap_ts.c pcap_ts->pressure = res[0]; pressure 67 drivers/input/touchscreen/pcap_ts.c pcap_ts->pressure); pressure 55 drivers/input/touchscreen/raspberrypi-ts.c u8 pressure; /* Not supported */ pressure 36 drivers/input/touchscreen/resistive-adc-touch.c bool pressure; pressure 52 drivers/input/touchscreen/resistive-adc-touch.c if (st->pressure) pressure 55 drivers/input/touchscreen/resistive-adc-touch.c if ((!x && !y) || (st->pressure && (press < st->pressure_min))) { pressure 64 drivers/input/touchscreen/resistive-adc-touch.c if (st->pressure) pressure 119 drivers/input/touchscreen/resistive-adc-touch.c st->pressure = false; pressure 122 drivers/input/touchscreen/resistive-adc-touch.c st->pressure = true; pressure 126 drivers/input/touchscreen/resistive-adc-touch.c if (st->pressure) { pressure 149 drivers/input/touchscreen/resistive-adc-touch.c if (st->pressure) pressure 177 drivers/input/touchscreen/sis_i2c.c u8 pressure; pressure 196 drivers/input/touchscreen/sis_i2c.c pressure = height = width = 1; pressure 204 drivers/input/touchscreen/sis_i2c.c pressure = pressure 215 drivers/input/touchscreen/sis_i2c.c input_report_abs(input, ABS_MT_PRESSURE, pressure); pressure 54 drivers/input/touchscreen/surface3_spi.c __le16 pressure; pressure 156 drivers/input/touchscreen/surface3_spi.c get_unaligned_le16(&pen->pressure)); pressure 38 drivers/input/touchscreen/tps6507x-ts.c u16 pressure; pressure 159 drivers/input/touchscreen/tps6507x-ts.c &tsc->tc.pressure); pressure 163 drivers/input/touchscreen/tps6507x-ts.c pendown = tsc->tc.pressure > tsc->min_pressure; pressure 193 drivers/input/touchscreen/tps6507x-ts.c input_report_abs(input_dev, ABS_PRESSURE, tsc->tc.pressure); pressure 113 drivers/input/touchscreen/tsc200x-core.c int x, int y, int pressure) pressure 115 drivers/input/touchscreen/tsc200x-core.c if (pressure) { pressure 118 drivers/input/touchscreen/tsc200x-core.c input_report_abs(ts->idev, ABS_PRESSURE, pressure); pressure 120 drivers/input/touchscreen/tsc200x-core.c input_report_key(ts->idev, BTN_TOUCH, !!pressure); pressure 132 drivers/input/touchscreen/tsc200x-core.c pressure); pressure 139 drivers/input/touchscreen/tsc200x-core.c unsigned int pressure; pressure 179 drivers/input/touchscreen/tsc200x-core.c pressure = tsdata.x * (tsdata.z2 - tsdata.z1) / tsdata.z1; pressure 180 drivers/input/touchscreen/tsc200x-core.c pressure = pressure * ts->x_plate_ohm / 4096; pressure 181 drivers/input/touchscreen/tsc200x-core.c if (unlikely(pressure > MAX_12BIT)) pressure 186 drivers/input/touchscreen/tsc200x-core.c tsc200x_update_pen_state(ts, tsdata.x, tsdata.y, pressure); pressure 147 drivers/input/touchscreen/ucb1400_ts.c static void ucb1400_ts_report_event(struct input_dev *idev, u16 pressure, u16 x, u16 y) pressure 151 drivers/input/touchscreen/ucb1400_ts.c input_report_abs(idev, ABS_PRESSURE, pressure); pressure 94 drivers/input/touchscreen/wacom_i2c.c unsigned int x, y, pressure; pressure 109 drivers/input/touchscreen/wacom_i2c.c pressure = le16_to_cpup((__le16 *)&data[8]); pressure 123 drivers/input/touchscreen/wacom_i2c.c input_report_abs(input, ABS_PRESSURE, pressure); pressure 64 drivers/input/touchscreen/wm831x-ts.c bool pressure; pressure 92 drivers/input/touchscreen/wm831x-ts.c if (wm831x_ts->pressure) pressure 139 drivers/input/touchscreen/wm831x-ts.c if (wm831x_ts->pressure) pressure 167 drivers/input/touchscreen/wm831x-ts.c if (wm831x_ts->pressure) pressure 271 drivers/input/touchscreen/wm831x-ts.c wm831x_ts->pressure = pdata->pressure; pressure 273 drivers/input/touchscreen/wm831x-ts.c wm831x_ts->pressure = true; pressure 281 drivers/input/touchscreen/wm831x-ts.c WARN_ON(pdata->pressure && pdata->fivewire); pressure 282 drivers/input/touchscreen/wm831x-ts.c wm831x_ts->pressure = false; pressure 356 drivers/input/touchscreen/wm831x-ts.c if (wm831x_ts->pressure) pressure 47 drivers/input/touchscreen/wm9705.c static int pressure = DEFAULT_PRESSURE & 0xfff; pressure 48 drivers/input/touchscreen/wm9705.c module_param(pressure, int, 0); pressure 49 drivers/input/touchscreen/wm9705.c MODULE_PARM_DESC(pressure, "Set threshold for pressure measurement."); pressure 153 drivers/input/touchscreen/wm9705.c pressure = 0; pressure 60 drivers/input/touchscreen/wm9712.c static int pressure = DEFAULT_PRESSURE & 0xfff; pressure 61 drivers/input/touchscreen/wm9712.c module_param(pressure, int, 0); pressure 62 drivers/input/touchscreen/wm9712.c MODULE_PARM_DESC(pressure, "Set threshold for pressure measurement."); pressure 185 drivers/input/touchscreen/wm9712.c pressure = 0; pressure 60 drivers/input/touchscreen/wm9713.c static int pressure = DEFAULT_PRESSURE & 0xfff; pressure 61 drivers/input/touchscreen/wm9713.c module_param(pressure, int, 0); pressure 62 drivers/input/touchscreen/wm9713.c MODULE_PARM_DESC(pressure, "Set threshold for pressure measurement."); pressure 189 drivers/input/touchscreen/wm9713.c pressure = 0; pressure 89 drivers/input/touchscreen/zforce_ts.c int pressure; pressure 375 drivers/input/touchscreen/zforce_ts.c point.pressure = payload[9 * i + 8]; pressure 381 drivers/input/touchscreen/zforce_ts.c point.pressure, point.prblty, pressure 61 drivers/input/touchscreen/zylonite-wm97xx.c static int pressure; pressure 62 drivers/input/touchscreen/zylonite-wm97xx.c module_param(pressure, int, 0); pressure 63 drivers/input/touchscreen/zylonite-wm97xx.c MODULE_PARM_DESC(pressure, "Pressure readback (1 = pressure, 0 = no pressure)"); pressure 114 drivers/input/touchscreen/zylonite-wm97xx.c if (pressure) pressure 54 drivers/mfd/ucb1x00-ts.c static inline void ucb1x00_ts_evt_add(struct ucb1x00_ts *ts, u16 pressure, u16 x, u16 y) pressure 60 drivers/mfd/ucb1x00-ts.c input_report_abs(idev, ABS_PRESSURE, pressure); pressure 76 include/linux/mfd/wm831x/pdata.h int pressure; /** Report pressure (boolean) */ pressure 1146 include/uapi/linux/soundcard.h #define SEQ_KEY_PRESSURE(dev, chn, note, pressure) \ pressure 1147 include/uapi/linux/soundcard.h _CHN_VOICE(dev, MIDI_KEY_PRESSURE, chn, note, pressure) pressure 1191 include/uapi/linux/soundcard.h #define SEQ_CHN_PRESSURE(dev, chn, pressure) \ pressure 1192 include/uapi/linux/soundcard.h _CHN_COMMON(dev, MIDI_CHN_PRESSURE, chn, pressure, 0, 0) pressure 112 mm/vmpressure.c static enum vmpressure_levels vmpressure_level(unsigned long pressure) pressure 114 mm/vmpressure.c if (pressure >= vmpressure_level_critical) pressure 116 mm/vmpressure.c else if (pressure >= vmpressure_level_med) pressure 125 mm/vmpressure.c unsigned long pressure = 0; pressure 141 mm/vmpressure.c pressure = scale - (reclaimed * scale / scanned); pressure 142 mm/vmpressure.c pressure = pressure * 100 / scale; pressure 145 mm/vmpressure.c pr_debug("%s: %3lu (s: %lu r: %lu)\n", __func__, pressure, pressure 148 mm/vmpressure.c return vmpressure_level(pressure); pressure 1264 net/packet/af_packet.c int pressure, ret; pressure 1267 net/packet/af_packet.c pressure = ret != ROOM_NORMAL; pressure 1269 net/packet/af_packet.c if (READ_ONCE(po->pressure) != pressure) pressure 1270 net/packet/af_packet.c WRITE_ONCE(po->pressure, pressure); pressure 1277 net/packet/af_packet.c if (READ_ONCE(po->pressure) && pressure 1279 net/packet/af_packet.c WRITE_ONCE(po->pressure, 0); pressure 1368 net/packet/af_packet.c if (po_next != po_skip && !READ_ONCE(po_next->pressure) && pressure 124 net/packet/internal.h int pressure; pressure 478 sound/usb/caiaq/input.c __le16 *pressure = (__le16 *) buf; pressure 481 sound/usb/caiaq/input.c pad_id = le16_to_cpu(*pressure) >> 12; pressure 483 sound/usb/caiaq/input.c le16_to_cpu(*pressure) & 0xfff); pressure 484 sound/usb/caiaq/input.c pressure++;