/Linux-v5.4/drivers/iio/pressure/ |
D | Kconfig | 10 tristate "Honeywell ABP pressure sensor driver" 13 Say yes here to build support for the Honeywell ABP pressure 20 tristate "Bosch Sensortec BMP180/BMP280 pressure sensor I2C driver" 27 pressure and temperature sensors. Also supports the BME280 with 57 tristate "Infineon DPS310 pressure and temperature sensor" 61 Support for the Infineon DPS310 digital barometric pressure sensor. 82 tristate "Hope RF HP03 temperature and pressure sensor driver" 86 Say yes here to build support for Hope RF HP03 pressure and 96 tristate "Freescale MPL115A2 pressure sensor driver" 101 pressure sensor connected via I2C. [all …]
|
D | ms5611_core.c | 106 s32 *temp, s32 *pressure) in ms5611_read_temp_and_pressure() argument 111 ret = st->read_adc_temp_and_pressure(&indio_dev->dev, temp, pressure); in ms5611_read_temp_and_pressure() 119 temp, pressure); in ms5611_read_temp_and_pressure() 123 s32 *temp, s32 *pressure) in ms5611_temp_and_pressure_compensate() argument 125 s32 t = *temp, p = *pressure; in ms5611_temp_and_pressure_compensate() 153 *pressure = (((p * sens) >> 21) - off) >> 15; in ms5611_temp_and_pressure_compensate() 159 s32 *temp, s32 *pressure) in ms5607_temp_and_pressure_compensate() argument 161 s32 t = *temp, p = *pressure; in ms5607_temp_and_pressure_compensate() 189 *pressure = (((p * sens) >> 21) - off) >> 15; in ms5607_temp_and_pressure_compensate() 238 s32 temp, pressure; in ms5611_read_raw() local [all …]
|
D | abp060mg.c | 104 u16 pressure; in abp060mg_get_measurement() local 118 pressure = be16_to_cpu(buf[0]); in abp060mg_get_measurement() 119 if (pressure & ABP060MG_ERROR_MASK) in abp060mg_get_measurement() 122 if (pressure < ABP060MG_MIN_COUNTS || pressure > ABP060MG_MAX_COUNTS) in abp060mg_get_measurement() 125 *val = pressure; in abp060mg_get_measurement()
|
D | ms5637.c | 42 unsigned int pressure; in ms5637_read_raw() local 49 &pressure); in ms5637_read_raw() 59 *val = pressure / 1000; in ms5637_read_raw() 60 *val2 = (pressure % 1000) * 1000; in ms5637_read_raw()
|
D | ms5611.h | 32 s32 *temp, s32 *pressure); 56 s32 *temp, s32 *pressure);
|
/Linux-v5.4/Documentation/devicetree/bindings/input/touchscreen/ |
D | resistive-adc-touch.txt | 7 position measurement and optional pressure. 17 - iio-channels: The third channel named "pressure" is optional and can be 18 used if the ADC device also measures pressure besides position. 19 If this channel is missing, pressure will be ignored and the touchscreen 21 - iio-channel-names: optional channel named "pressure". 27 touchscreen-min-pressure = <50000>; 29 io-channel-names = "x", "y", "pressure";
|
D | touchscreen.txt | 10 - touchscreen-max-pressure : maximum reported pressure (arbitrary range 12 - touchscreen-min-pressure : minimum pressure on the touchscreen to be 19 - touchscreen-fuzz-pressure : pressure noise value of the absolute input 37 - contact-threshold : deprecated name for touchscreen-fuzz-pressure
|
D | colibri-vf50-ts.txt | 13 - pinctrl-1: pinctrl node for X/Y and pressure measurement (ADC) state pinmux 15 - vf50-ts-min-pressure: pressure level at which to stop measuring X/Y values 33 vf50-ts-min-pressure = <200>;
|
D | ad7879.txt | 9 - touchscreen-max-pressure : maximum reported pressure 10 - adi,resistance-plate-x : total resistance of X-plate (for pressure 46 touchscreen-max-pressure = <4096>; 64 touchscreen-max-pressure = <4096>;
|
D | tsc2005.txt | 33 touchscreen-fuzz-pressure = <2>; 36 touchscreen-max-pressure = <2048>; 56 touchscreen-fuzz-pressure = <2>; 59 touchscreen-max-pressure = <2048>;
|
D | ads7846.txt | 64 touchscreen-max-pressure General touchscreen binding, see [1]. 65 touchscreen-min-pressure General touchscreen binding, see [1]. 79 ti,pressure-min Minimum reported pressure value 81 ti,pressure-max Maximum reported pressure value (u16). 102 ti,pressure-max = /bits/ 16 <255>;
|
D | bu21029.txt | 14 - touchscreen-max-pressure: maximum pressure value 31 touchscreen-max-pressure = <4095>;
|
D | mms114.txt | 15 - touchscreen-fuzz-pressure: See [1] 35 touchscreen-fuzz-pressure = <10>;
|
/Linux-v5.4/drivers/input/touchscreen/ |
D | resistive-adc-touch.c | 36 bool pressure; member 52 if (st->pressure) in grts_cb() 55 if ((!x && !y) || (st->pressure && (press < st->pressure_min))) { in grts_cb() 64 if (st->pressure) in grts_cb() 119 st->pressure = false; in grts_probe() 122 st->pressure = true; in grts_probe() 126 if (st->pressure) { in grts_probe() 149 if (st->pressure) in grts_probe()
|
D | wm831x-ts.c | 64 bool pressure; member 92 if (wm831x_ts->pressure) in wm831x_ts_data_irq() 139 if (wm831x_ts->pressure) in wm831x_ts_data_irq() 167 if (wm831x_ts->pressure) in wm831x_ts_pen_down_irq() 271 wm831x_ts->pressure = pdata->pressure; in wm831x_ts_probe() 273 wm831x_ts->pressure = true; in wm831x_ts_probe() 281 WARN_ON(pdata->pressure && pdata->fivewire); in wm831x_ts_probe() 282 wm831x_ts->pressure = false; in wm831x_ts_probe() 356 if (wm831x_ts->pressure) in wm831x_ts_probe()
|
D | tsc200x-core.c | 113 int x, int y, int pressure) in tsc200x_update_pen_state() argument 115 if (pressure) { in tsc200x_update_pen_state() 118 input_report_abs(ts->idev, ABS_PRESSURE, pressure); in tsc200x_update_pen_state() 120 input_report_key(ts->idev, BTN_TOUCH, !!pressure); in tsc200x_update_pen_state() 132 pressure); in tsc200x_update_pen_state() 139 unsigned int pressure; in tsc200x_irq_thread() local 179 pressure = tsdata.x * (tsdata.z2 - tsdata.z1) / tsdata.z1; in tsc200x_irq_thread() 180 pressure = pressure * ts->x_plate_ohm / 4096; in tsc200x_irq_thread() 181 if (unlikely(pressure > MAX_12BIT)) in tsc200x_irq_thread() 186 tsc200x_update_pen_state(ts, tsdata.x, tsdata.y, pressure); in tsc200x_irq_thread()
|
D | zylonite-wm97xx.c | 61 static int pressure; variable 62 module_param(pressure, int, 0); 63 MODULE_PARM_DESC(pressure, "Pressure readback (1 = pressure, 0 = no pressure)"); 114 if (pressure) in wm97xx_acc_pen_down()
|
D | mainstone-wm97xx.c | 85 static int pressure; variable 86 module_param(pressure, int, 0); 87 MODULE_PARM_DESC(pressure, "Pressure readback (1 = pressure, 0 = no pressure)"); 147 if (pressure) in wm97xx_acc_pen_down()
|
D | wm9705.c | 47 static int pressure = DEFAULT_PRESSURE & 0xfff; variable 48 module_param(pressure, int, 0); 49 MODULE_PARM_DESC(pressure, "Set threshold for pressure measurement."); 153 pressure = 0; in wm9705_phy_init()
|
D | mxs-lradc-ts.c | 77 u32 pressure; member 228 unsigned int pressure, m1, m2; in mxs_lradc_read_ts_pressure() local 247 pressure = m1; in mxs_lradc_read_ts_pressure() 248 pressure *= (1 << LRADC_RESOLUTION); in mxs_lradc_read_ts_pressure() 249 pressure /= m2; in mxs_lradc_read_ts_pressure() 251 dev_dbg(ts->dev, "Pressure = %u\n", pressure); in mxs_lradc_read_ts_pressure() 252 return pressure; in mxs_lradc_read_ts_pressure() 358 writel(info[lradc->soc].pressure, in mxs_lradc_prepare_pressure()
|
D | tps6507x-ts.c | 38 u16 pressure; member 159 &tsc->tc.pressure); in tps6507x_ts_poll() 163 pendown = tsc->tc.pressure > tsc->min_pressure; in tps6507x_ts_poll() 193 input_report_abs(input_dev, ABS_PRESSURE, tsc->tc.pressure); in tps6507x_ts_poll()
|
/Linux-v5.4/mm/ |
D | vmpressure.c | 112 static enum vmpressure_levels vmpressure_level(unsigned long pressure) in vmpressure_level() argument 114 if (pressure >= vmpressure_level_critical) in vmpressure_level() 116 else if (pressure >= vmpressure_level_med) in vmpressure_level() 125 unsigned long pressure = 0; in vmpressure_calc_level() local 141 pressure = scale - (reclaimed * scale / scanned); in vmpressure_calc_level() 142 pressure = pressure * 100 / scale; in vmpressure_calc_level() 145 pr_debug("%s: %3lu (s: %lu r: %lu)\n", __func__, pressure, in vmpressure_calc_level() 148 return vmpressure_level(pressure); in vmpressure_calc_level()
|
/Linux-v5.4/Documentation/accounting/ |
D | psi.rst | 36 respective file in /proc/pressure/ -- cpu, memory, and io. 66 Monitoring for pressure thresholds 70 pressure exceeds certain thresholds. 77 /proc/pressure/ representing the resource to be monitored and write the 84 For example writing "some 150000 1000000" into /proc/pressure/memory 86 1sec time window. Writing "full 50000 1000000" into /proc/pressure/io 136 fds.fd = open("/proc/pressure/memory", O_RDWR | O_NONBLOCK); 138 printf("/proc/pressure/memory open error: %s\n", 145 printf("/proc/pressure/memory write error: %s\n", 176 mounted, pressure stall information is also tracked for tasks grouped [all …]
|
/Linux-v5.4/drivers/input/mouse/ |
D | synaptics_usb.c | 107 unsigned int pressure; in synusb_report_stick() local 109 pressure = synusb->data[6]; in synusb_report_stick() 113 if (pressure > 0) { in synusb_report_stick() 118 input_report_abs(input_dev, ABS_PRESSURE, pressure); in synusb_report_stick() 130 unsigned int pressure, w; in synusb_report_touchpad() local 132 pressure = synusb->data[6]; in synusb_report_touchpad() 137 if (pressure > 0) { in synusb_report_touchpad() 163 if (pressure > 30) in synusb_report_touchpad() 165 if (pressure < 25) in synusb_report_touchpad() 174 input_report_abs(input_dev, ABS_PRESSURE, pressure); in synusb_report_touchpad()
|
/Linux-v5.4/drivers/input/tablet/ |
D | kbtab.c | 36 int pressure; in kbtab_irq() local 67 pressure = data[5]; in kbtab_irq() 69 input_report_abs(dev, ABS_PRESSURE, pressure); in kbtab_irq() 71 input_report_key(dev, BTN_LEFT, pressure > kb_pressure_click ? 1 : 0); in kbtab_irq()
|