Home
last modified time | relevance | path

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

12345678910>>...21

/Linux-v6.1/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/BMP380 pressure sensor I2C driver"
27 BMP380 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
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 …]
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 …]
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-v6.1/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.
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
138 fds.fd = open("/proc/pressure/memory", O_RDWR | O_NONBLOCK);
[all …]
/Linux-v6.1/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".
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 * 100 / scale; in vmpressure_calc_level()
144 pr_debug("%s: %3lu (s: %lu r: %lu)\n", __func__, pressure, in vmpressure_calc_level()
[all …]
/Linux-v6.1/drivers/input/touchscreen/
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 …]
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 …]
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 …]
Dzylonite-wm97xx.c56 * Pressure readback.
58 * Set to 1 to read back pen down pressure
60 static int pressure; variable
61 module_param(pressure, int, 0);
62 MODULE_PARM_DESC(pressure, "Pressure readback (1 = pressure, 0 = no pressure)");
113 if (pressure) in wm97xx_acc_pen_down()
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)");
143 if (pressure) in wm97xx_acc_pen_down()
Dtsc200x-core.c115 int x, int y, int pressure) in tsc200x_update_pen_state() argument
117 if (pressure) { in tsc200x_update_pen_state()
119 input_report_abs(ts->idev, ABS_PRESSURE, pressure); in tsc200x_update_pen_state()
121 input_report_key(ts->idev, BTN_TOUCH, !!pressure); in tsc200x_update_pen_state()
132 dev_dbg(ts->dev, "point(%4d,%4d), pressure (%4d)\n", x, y, in tsc200x_update_pen_state()
133 pressure); in tsc200x_update_pen_state()
140 unsigned int pressure; in tsc200x_irq_thread() local
154 /* Skip reading if the pressure components are out of range */ in tsc200x_irq_thread()
179 /* Compute touch pressure resistance using equation #1 */ in tsc200x_irq_thread()
180 pressure = tsdata.x * (tsdata.z2 - tsdata.z1) / tsdata.z1; in tsc200x_irq_thread()
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/input/touchscreen/
Dresistive-adc-touch.yaml15 position measurement and optional pressure.
29 - description: pressure (optional)
39 - enum: [x, y, pressure]
40 - enum: [x, y, pressure]
41 - enum: [x, y, pressure]
55 touchscreen-min-pressure: true
75 touchscreen-min-pressure = <50000>;
77 io-channel-names = "y", "pressure", "x";
82 touchscreen-min-pressure = <50000>;
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>;
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>;
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.txt15 - pinctrl-1: pinctrl node for X/Y and pressure measurement (ADC) state pinmux
16 - vf50-ts-min-pressure: pressure level at which to stop measuring X/Y values
33 vf50-ts-min-pressure = <200>;
/Linux-v6.1/Documentation/translations/zh_CN/accounting/
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-v6.1/Documentation/devicetree/bindings/iio/pressure/
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.
41 pressure@77 {
51 pressure@0 {
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.
44 pressure@5c {
56 pressure@0 {
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 {
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 {

12345678910>>...21