Home
last modified time | relevance | path

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

12345678910>>...20

/linux/drivers/iio/pressure/
H A 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 "ROHM BM1390GLV-Z pressure sensor driver"
26 Support for the ROHM BM1390 pressure sensor. The BM1390GLV-Z
32 tristate "Bosch Sensortec BMP180/BMP280/BMP380/BMP580 pressure sensor driver"
41 and BMP580 pressure and temperature sensors. Also supports the BME280 with
71 tristate "All Sensors DLHL60D and DLHL60G low voltage digital pressure sensors"
77 pressure sensors driver.
[all …]
H A Dmprls0025pa.h3 * MPRLS0025PA - Honeywell MicroPressure pressure sensor series driver
8 …ontent/dam/honeywell-edam/sps/siot/en-us/products/sensors/pressure-sensors/board-mount-pressure-se…
48 * @pmin: minimal pressure in pascal
49 * @pmax: maximal pressure in pascal
51 * @outmin: minimum raw pressure in counts (based on transfer function)
52 * @outmax: maximum raw pressure in counts (based on transfer function)
53 * @scale: pressure scale
54 * @scale2: pressure scale, decimal number
55 * @offset: pressure offset
56 * @offset2: pressure offset, decimal number
[all …]
H A Dmprls0025pa.c3 * MPRLS0025PA - Honeywell MicroPressure pressure sensor series driver
8 …ontent/dam/honeywell-edam/sps/siot/en-us/products/sensors/pressure-sensors/board-mount-pressure-se…
45 * pressure = (press_cnt - outputmin) * scale + pmin
47 * * pressure - measured pressure in Pascal
49 * * pmin - minimum pressure range value of sensor (data->pmin)
50 * * pmax - maximum pressure range value of sensor (data->pmax)
58 * pressure = (raw + offset) * scale
110 * struct mpr_range_config - list of pressure ranges based on nomenclature
111 * @pmin: lowest pressure that can be measured
112 * @pmax: highest pressure that can be measured
[all …]
H A Dms5611_core.c3 * MS5611 pressure and temperature sensor driver
105 s32 *temp, s32 *pressure) in ms5611_read_temp_and_pressure() argument
110 ret = st->read_adc_temp_and_pressure(st, temp, pressure); in ms5611_read_temp_and_pressure()
113 "failed to read temperature and pressure\n"); in ms5611_read_temp_and_pressure()
117 return st->compensate_temp_and_pressure(st, temp, pressure); in ms5611_read_temp_and_pressure()
121 s32 *temp, s32 *pressure) in ms5611_temp_and_pressure_compensate() argument
123 s32 t = *temp, p = *pressure; in ms5611_temp_and_pressure_compensate()
151 *pressure = (((p * sens) >> 21) - off) >> 15; in ms5611_temp_and_pressure_compensate()
157 s32 *temp, s32 *pressure) in ms5607_temp_and_pressure_compensate() argument
159 s32 t = *temp, p = *pressure; in ms5607_temp_and_pressure_compensate()
[all …]
H A Dst_pressure_core.c23 * About determining pressure scaling factors
26 * Datasheets specify typical pressure sensitivity so that pressure is computed
28 * pressure[mBar] = raw / sensitivity
30 * raw the 24 bits long raw sampled pressure
33 * IIO ABI expects pressure to be expressed as kPascal, hence pressure should be
35 * pressure[kPascal] = pressure[mBar] / 10
38 * Finally, st_press_read_raw() returns pressure scaling factor as an
90 /* Default pressure sensitivity */
106 /* LPS001WP pressure resolution */
110 /* LPS001WP pressure gain */
[all …]
H A Dhsc030pa_i2c.c3 * Honeywell TruStability HSC Series pressure/temperature sensor
7 …/en-us/products/sensors/pressure-sensors/board-mount-pressure-sensors/common/documents/sps-siot-i2…
8 …oneywell.com/content/dam/honeywell-edam/sps/siot/en-us/products/sensors/pressure-sensors/common/do…
72 MODULE_DESCRIPTION("Honeywell HSC and SSC pressure sensor i2c driver");
H A Dhsc030pa_spi.c3 * Honeywell TruStability HSC Series pressure/temperature sensor
7 …l-edam/sps/siot/en-us/products/sensors/pressure-sensors/common/documents/sps-siot-spi-comms-digita…
8 …oneywell.com/content/dam/honeywell-edam/sps/siot/en-us/products/sensors/pressure-sensors/common/do…
59 MODULE_DESCRIPTION("Honeywell HSC and SSC pressure sensor spi driver");
H A 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()
291 MODULE_DESCRIPTION("Driver for Hope RF HP03 pressure and temperature sensor");
/linux/Documentation/devicetree/bindings/iio/pressure/
H A Dhoneywell,hsc030pa.yaml4 $id: http://devicetree.org/schemas/iio/pressure/honeywell,hsc030pa.yaml#
7 title: Honeywell TruStability HSC and SSC pressure sensor series
10 support for Honeywell TruStability HSC and SSC digital pressure sensor
16 There are 118 models with different pressure ranges available in each family.
18 identical programming model but differ in pressure range, unit and transfer
21 To support different models one needs to specify the pressure range as well
22 as the transfer function. Pressure range can either be provided via
23 pressure-triplet (directly extracted from the part number) or in case it's
28 maximum pressure that can be measured.
34 …rs/pressure-sensors/board-mount-pressure-sensors/trustability-hsc-series/documents/sps-siot-trusta…
[all …]
H A Dhoneywell,mprls0025pa.yaml4 $id: http://devicetree.org/schemas/iio/pressure/honeywell,mprls0025pa.yaml#
7 title: Honeywell mprls0025pa pressure sensor
14 Honeywell pressure sensor of model mprls0025pa.
18 There are many models with different pressure ranges available. The vendor
20 differ in the pressure range, unit and transfer function.
22 To support different models one need to specify its pressure triplet as well
26 the pressure values can be specified manually via honeywell,pmin-pascal and
28 The minimal range value stands for the minimum pressure and the maximum value
29 also for the maximum pressure with linear relation inside the range.
36 products/sensors/pressure-sensors/board-mount-pressure-sensors/
[all …]
H A Drohm,bm1390.yaml4 $id: http://devicetree.org/schemas/iio/pressure/rohm,bm1390.yaml#
7 title: ROHM BM1390 pressure sensor
13 BM1390GLV-Z is a pressure sensor which performs internal temperature
14 compensation for the MEMS. Pressure range is from 300 hPa to 1300 hPa
43 pressure-sensor@5d {
H A Dmurata,zpa2326.yaml4 $id: http://devicetree.org/schemas/iio/pressure/murata,zpa2326.yaml#
7 title: Murata ZPA2326 pressure sensor
13 Pressure sensor from Murata with SPI and I2C bus interfaces.
47 pressure@5c {
59 pressure@0 {
H A Dmeas,ms5611.yaml4 $id: http://devicetree.org/schemas/iio/pressure/meas,ms5611.yaml#
7 title: Measurement Specialities ms5611 and similar pressure sensors
13 Pressure sensors from MEAS Switzerland with SPI and I2C bus interfaces.
44 pressure@77 {
54 pressure@0 {
H A Dhoperf,hp03.yaml4 $id: http://devicetree.org/schemas/iio/pressure/hoperf,hp03.yaml#
7 title: HopeRF HP03 digital pressure/temperature sensors
13 Digital pressure and temperature sensor with an I2C interface.
41 pressure@77 {
H A Dsensirion,sdp500.yaml4 $id: http://devicetree.org/schemas/iio/pressure/sensirion,sdp500.yaml#
7 title: sdp500/sdp510 pressure sensor with I2C bus interface
13 Pressure sensor from Sensirion with I2C bus interface.
41 pressure@40 {
H A 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 {
/linux/drivers/hid/bpf/progs/
H A DWacom__ArtPen.bpf.c21 * reports pressure every other events.
23 * the current one, we can emulate a smoother pressure reporting by reporting
26 * We are effectively delaying the pressure by one event every other event, but
30 * <Tip switch 0> <X 0> <Y 0> <Pressure 0 > <Tooltype 0x0804>
31 * <Tip switch 1> <X 1> <Y 1> <Pressure 100 > <Tooltype 0x0804>
32 * <Tip switch 1> <X 2> <Y 2> <Pressure 100 > <Tooltype 0x0804>
33 * <Tip switch 1> <X 3> <Y 3> <Pressure 200 > <Tooltype 0x0804>
34 * <Tip switch 1> <X 4> <Y 4> <Pressure 200 > <Tooltype 0x0804>
35 * <Tip switch 0> <X 5> <Y 5> <Pressure 0 > <Tooltype 0x0804>
38 * <Tip switch 0> <X 0> <Y 0> <Pressure 0 > <Tooltype 0x0804>
[all …]
/linux/Documentation/accounting/
H A 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.
67 Monitoring for pressure thresholds
71 pressure exceeds certain thresholds.
78 /proc/pressure/ representing the resource to be monitored and write the
85 For example writing "some 150000 1000000" into /proc/pressure/memory
87 1sec time window. Writing "full 50000 1000000" into /proc/pressure/io
142 fds.fd = open("/proc/pressure/memory", O_RDWR | O_NONBLOCK);
[all …]
/linux/mm/
H A 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".
111 static enum vmpressure_levels vmpressure_level(unsigned long pressure) in vmpressure_level() argument
113 if (pressure >= vmpressure_level_critical) in vmpressure_level()
115 else if (pressure >= vmpressure_level_med) in vmpressure_level()
124 unsigned long pressure = 0; in vmpressure_calc_level() local
140 pressure = scale - (reclaimed * scale / scanned); in vmpressure_calc_level()
141 pressure = pressure * 10 in vmpressure_calc_level()
[all...]
/linux/drivers/input/touchscreen/
H A Dresistive-adc-touch.c39 * @pressure_min: number representing the minimum for the pressure
40 * @pressure: are we getting pressure info or not
50 bool pressure; member
83 * On increased pressure the resistance (Rt) is in grts_cb()
85 * real pressure. in grts_cb()
92 if ((!x && !y) || (st->pressure && (press < st->pressure_min))) { in grts_cb()
101 if (st->pressure) in grts_cb()
165 /* pressure is optional */ in grts_get_properties()
166 error = grts_map_channel(st, dev, GRTS_CH_PRESSURE, "pressure", true); in grts_get_properties()
171 st->pressure = true; in grts_get_properties()
[all …]
H A 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 …]
H A 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)");
143 if (pressure) in wm97xx_acc_pen_down()
/linux/Documentation/translations/zh_CN/accounting/
H A Dpsi.rst37 压力信息可通过/proc/pressure/ --cpu、memory、io文件分别获取。
74 示例:向/proc/pressure/memory写入"some 150000 1000000"将新增触发器,将在
75 1秒内至少一个任务阻塞于内存的总时间超过150ms时触发。向/proc/pressure/io写入
112 fds.fd = open("/proc/pressure/memory", O_RDWR | O_NONBLOCK);
114 printf("/proc/pressure/memory open error: %s\n",
121 printf("/proc/pressure/memory write error: %s\n",
152 此场景下cgroupfs挂载点的子目录包含cpu.pressure、memory.pressure、io.pressure文件,
153 内容格式与/proc/pressure/下的文件相同。
/linux/Documentation/devicetree/bindings/input/touchscreen/
H A Dti,tsc2005.yaml51 touchscreen-fuzz-pressure: true
54 touchscreen-max-pressure: true
93 touchscreen-fuzz-pressure = <2>;
96 touchscreen-max-pressure = <2048>;
120 touchscreen-fuzz-pressure = <2>;
123 touchscreen-max-pressure = <2048>;
/linux/drivers/input/tablet/
H A 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>>...20