Home
last modified time | relevance | path

Searched refs:pressure (Results 1 – 25 of 178) sorted by relevance

12345678

/Linux-v5.10/drivers/iio/pressure/
DKconfig10 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.
94 tristate "Hope RF HP03 temperature and pressure sensor driver"
98 Say yes here to build support for Hope RF HP03 pressure and
[all …]
Dms5611_core.c106 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()
243 s32 temp, pressure; in ms5611_read_raw() local
[all …]
Dms5637.c43 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()
Dabp060mg.c104 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()
Ddlhl60d.c124 unsigned int *pressure, unsigned int *temperature) in dlh_read_direct() argument
132 *pressure = get_unaligned_be32(&st->rx_buf[1]) >> 8; in dlh_read_direct()
144 unsigned int pressure, temperature; in dlh_read_raw() local
155 ret = dlh_read_direct(st, &pressure, &temperature); in dlh_read_raw()
162 *value = pressure; in dlh_read_raw()
Dms5611.h32 s32 *temp, s32 *pressure);
56 s32 *temp, s32 *pressure);
/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";
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>;
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>;
Dtsc2005.txt33 touchscreen-fuzz-pressure = <2>;
36 touchscreen-max-pressure = <2048>;
56 touchscreen-fuzz-pressure = <2>;
59 touchscreen-max-pressure = <2048>;
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>;
Dbu21029.txt14 - touchscreen-max-pressure: maximum pressure value
31 touchscreen-max-pressure = <4095>;
Dmms114.txt16 - touchscreen-fuzz-pressure: See [1]
36 touchscreen-fuzz-pressure = <10>;
/Linux-v5.10/drivers/input/touchscreen/
Dresistive-adc-touch.c36 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()
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()
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()
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()
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()
Dzylonite-wm97xx.c61 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()
Dmainstone-wm97xx.c85 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()
Dwm9705.c47 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()
Dmxs-lradc-ts.c77 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()
Dtps6507x-ts.c37 u16 pressure; member
157 &tsc->tc.pressure); in tps6507x_ts_poll()
161 pendown = tsc->tc.pressure > tsc->min_pressure; in tps6507x_ts_poll()
191 input_report_abs(input_dev, ABS_PRESSURE, tsc->tc.pressure); in tps6507x_ts_poll()
/Linux-v5.10/mm/
Dvmpressure.c112 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.10/Documentation/accounting/
Dpsi.rst38 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);
140 printf("/proc/pressure/memory open error: %s\n",
147 printf("/proc/pressure/memory write error: %s\n",
178 mounted, pressure stall information is also tracked for tasks grouped
[all …]
/Linux-v5.10/drivers/input/mouse/
Dsynaptics_usb.c107 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.10/drivers/input/tablet/
Dkbtab.c36 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()

12345678