Home
last modified time | relevance | path

Searched full:pressure (Results 1 – 25 of 453) sorted by relevance

12345678910>>...19

/Linux-v5.10/drivers/iio/pressure/
DKconfig3 # Pressure drivers
7 menu "Pressure sensors"
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 "All Sensors DLHL60D and DLHL60G low voltage digital pressure sensors"
63 pressure sensors driver.
69 tristate "Infineon DPS310 pressure and temperature sensor"
73 Support for the Infineon DPS310 digital barometric pressure sensor.
[all …]
Dms5611_core.c3 * MS5611 pressure and temperature sensor driver
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()
114 "failed to read temperature and pressure\n"); 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()
[all …]
Dst_pressure_core.c29 * About determining pressure scaling factors
32 * Datasheets specify typical pressure sensitivity so that pressure is computed
34 * pressure[mBar] = raw / sensitivity
36 * raw the 24 bits long raw sampled pressure
39 * IIO ABI expects pressure to be expressed as kPascal, hence pressure should be
41 * pressure[kPascal] = pressure[mBar] / 10
44 * Finally, st_press_read_raw() returns pressure scaling factor as an
96 /* Default pressure sensitivity */
112 /* LPS001WP pressure resolution */
116 /* LPS001WP pressure gain */
[all …]
Dhp03.c5 * Driver for Hope RF HP03 digital temperature and pressure sensor.
21 * 0x77 ... read-write ADC for pressure and temperature
43 s32 pressure; /* kPa */ member
111 /* Sample Temperature and Pressure */ in hp03_update_temp_pressure()
116 dev_err(dev, "Failed to read pressure\n"); in hp03_update_temp_pressure()
130 /* The Cx coefficients and Temp/Pressure values are MSB first. */ in hp03_update_temp_pressure()
150 priv->pressure = ((x * 100) >> 5) + (cx_val[6] * 10); in hp03_update_temp_pressure()
178 *val = priv->pressure; in hp03_read_raw()
313 MODULE_DESCRIPTION("Driver for Hope RF HP03 pressure and temperature sensor");
Dms5637.c4 * MS5837 and MS8607 pressure & temperature sensor
43 unsigned int pressure; in ms5637_read_raw() local
50 &pressure); in ms5637_read_raw()
60 *val = pressure / 1000; in ms5637_read_raw()
61 *val2 = (pressure % 1000) * 1000; in ms5637_read_raw()
202 MODULE_DESCRIPTION("Measurement-Specialties ms5637 temperature & pressure driver");
/Linux-v5.10/Documentation/accounting/
Dpsi.rst4 PSI - Pressure Stall Information
34 Pressure interface
37 Pressure information for each resource is exported through the
38 respective file in /proc/pressure/ -- cpu, memory, and io.
68 Monitoring for pressure thresholds
72 pressure exceeds certain thresholds.
79 /proc/pressure/ representing the resource to be monitored and write the
86 For example writing "some 150000 1000000" into /proc/pressure/memory
88 1sec time window. Writing "full 50000 1000000" into /proc/pressure/io
138 fds.fd = open("/proc/pressure/memory", O_RDWR | O_NONBLOCK);
[all …]
/Linux-v5.10/drivers/input/touchscreen/
Dresistive-adc-touch.c27 * @pressure_min: number representing the minimum for the pressure
28 * @pressure: are we getting pressure info or not
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()
121 if (!strcmp(chan->channel->datasheet_name, "pressure")) in grts_probe()
122 st->pressure = true; in grts_probe()
126 if (st->pressure) { in grts_probe()
[all …]
Dwm9705.c29 * Set current used for pressure measurement.
33 * pil = 0 to disable pressure measurement.
36 * when measureing touchpanel pressure.
40 MODULE_PARM_DESC(pil, "Set current used for pressure measurement.");
43 * Set threshold for pressure measurement.
45 * Pen down pressure below threshold is ignored.
47 static int pressure = DEFAULT_PRESSURE & 0xfff; variable
48 module_param(pressure, int, 0);
49 MODULE_PARM_DESC(pressure, "Set threshold for pressure measurement.");
144 /* touchpanel pressure current*/ in wm9705_phy_init()
[all …]
Dzylonite-wm97xx.c57 * Pressure readback.
59 * Set to 1 to read back pen down pressure
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()
Dwm9712.c42 * Set current used for pressure measurement.
46 * pil = 0 to disable pressure measurement.
49 * when measureing touchpanel pressure.
53 MODULE_PARM_DESC(pil, "Set current used for pressure measurement.");
56 * Set threshold for pressure measurement.
58 * Pen down pressure below threshold is ignored.
60 static int pressure = DEFAULT_PRESSURE & 0xfff; variable
61 module_param(pressure, int, 0);
62 MODULE_PARM_DESC(pressure, "Set threshold for pressure measurement.");
83 * NOTE: Five wire mode does not allow for readback of pressure.
[all …]
Dwm9713.c42 * Set current used for pressure measurement.
46 * pil = 0 to disable pressure measurement.
49 * when measureing touchpanel pressure.
53 MODULE_PARM_DESC(pil, "Set current used for pressure measurement.");
56 * Set threshold for pressure measurement.
58 * Pen down pressure below threshold is ignored.
60 static int pressure = DEFAULT_PRESSURE & 0xfff; variable
61 module_param(pressure, int, 0);
62 MODULE_PARM_DESC(pressure, "Set threshold for pressure measurement.");
83 * NOTE: Five wire mode does not allow for readback of pressure.
[all …]
Dwm831x-ts.c64 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()
275 /* Five wire touchscreens can't report pressure */ in wm831x_ts_probe()
280 /* Pressure measurements are not possible for five wire mode */ in wm831x_ts_probe()
281 WARN_ON(pdata->pressure && pdata->fivewire); in wm831x_ts_probe()
282 wm831x_ts->pressure = false; in wm831x_ts_probe()
[all …]
Dmainstone-wm97xx.c81 * Pressure readback.
83 * Set to 1 to read back pen down pressure
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()
Dtsc200x-core.c113 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()
131 dev_dbg(ts->dev, "point(%4d,%4d), pressure (%4d)\n", x, y, in tsc200x_update_pen_state()
132 pressure); in tsc200x_update_pen_state()
139 unsigned int pressure; in tsc200x_irq_thread() local
153 /* Skip reading if the pressure components are out of range */ in tsc200x_irq_thread()
178 /* Compute touch pressure resistance using equation #1 */ in tsc200x_irq_thread()
179 pressure = tsdata.x * (tsdata.z2 - tsdata.z1) / tsdata.z1; in tsc200x_irq_thread()
[all …]
/Linux-v5.10/mm/
Dvmpressure.c3 * Linux VM pressure
41 * These thresholds are used when we account memory pressure through
51 * critical pressure as number of pages will be less than "window size".
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()
[all …]
/Linux-v5.10/Documentation/devicetree/bindings/input/touchscreen/
Dresistive-adc-touch.txt7 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";
Dtouchscreen.yaml31 touchscreen-max-pressure:
32 description: maximum reported pressure (arbitrary range dependent on the controller)
35 touchscreen-min-pressure:
36 description: minimum pressure on the touchscreen to be achieved in order
48 touchscreen-fuzz-pressure:
49 description: pressure noise value of the absolute input device (arbitrary
Dads7846.txt64 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>;
Dad7879.txt9 - 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>;
Dcolibri-vf50-ts.txt13 - 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>;
Dtsc2005.txt33 touchscreen-fuzz-pressure = <2>;
36 touchscreen-max-pressure = <2048>;
56 touchscreen-fuzz-pressure = <2>;
59 touchscreen-max-pressure = <2048>;
Diqs5xx.txt32 - touchscreen-max-pressure : See [2]. Pressure is expressed as the sum of
43 - touchscreen-fuzz-pressure : See [2].
76 touchscreen-max-pressure = <16000>;
/Linux-v5.10/Documentation/devicetree/bindings/iio/pressure/
Dasc,dlhl60d.yaml4 $id: http://devicetree.org/schemas/iio/pressure/asc,dlhl60d.yaml#
7 title: All Sensors DLH series low voltage digital pressure sensors
13 Bindings for the All Sensors DLH series pressure sensors.
46 pressure@29 {
Dbmp085.yaml4 $id: http://devicetree.org/schemas/iio/pressure/bmp085.yaml#
7 title: BMP085/BMP180/BMP280/BME280 pressure iio sensors
13 Pressure, temperature and humidity iio sensors with i2c and spi interfaces
64 pressure@77 {
/Linux-v5.10/drivers/input/tablet/
Dkbtab.c9 * Pressure-threshold modules param code from Alex Perry <alex.perry@ieee.org>
20 MODULE_PARM_DESC(kb_pressure_click, "pressure threshold for clicks");
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()

12345678910>>...19