Home
last modified time | relevance | path

Searched +full:pressure +full:- +full:min (Results 1 – 25 of 206) sorted by relevance

123456789

/linux-6.12.1/Documentation/devicetree/bindings/input/touchscreen/
Dresistive-adc-touch.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/input/touchscreen/resistive-adc-touch.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Oleksij Rempel <o.rempel@pengutronix.de>
15 position measurement and optional pressure.
18 - $ref: touchscreen.yaml#
22 const: resistive-adc-touch
24 io-channels:
27 - description: x
[all …]
Dtouchscreen.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Dmitry Torokhov <dmitry.torokhov@gmail.com>
20 touchscreen-min-x:
25 touchscreen-min-y:
30 touchscreen-size-x:
34 touchscreen-size-y:
38 touchscreen-max-pressure:
39 description: maximum reported pressure (arbitrary range dependent on the controller)
[all …]
Dtoradex,vf50-touchscreen.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/input/touchscreen/toradex,vf50-touchscreen.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Dmitry Torokhov <dmitry.torokhov@gmail.com>
11 - Sanchayan Maity <maitysanchayan@gmail.com>
15 const: toradex,vf50-touchscreen
20 io-channels:
24 IIO ADC for Y-, X-, Y+, X+ connections
26 xp-gpios:
[all …]
Dti,ads7843.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Alexander Stein <alexander.stein@ew.tq-group.com>
11 - Dmitry Torokhov <dmitry.torokhov@gmail.com>
12 - Marek Vasut <marex@denx.de>
21 - ti,ads7843
22 - ti,ads7845
23 - ti,ads7846
24 - ti,ads7873
[all …]
/linux-6.12.1/drivers/iio/pressure/
Dabp060mg.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (C) 2016 - Marcin Malagowski <mrc@bourne.st>
18 #define ABP060MG_NUM_COUNTS (ABP060MG_MAX_COUNTS - ABP060MG_MIN_COUNTS)
34 int min; member
40 [ABP006KG] = { .min = 0, .max = 6000 },
41 [ABP010KG] = { .min = 0, .max = 10000 },
42 [ABP016KG] = { .min = 0, .max = 16000 },
43 [ABP025KG] = { .min = 0, .max = 25000 },
44 [ABP040KG] = { .min = 0, .max = 40000 },
45 [ABP060KG] = { .min = 0, .max = 60000 },
[all …]
Dms5611_spi.c1 // SPDX-License-Identifier: GPL-2.0
3 * MS5611 pressure and temperature sensor driver (SPI bus)
22 return spi_write_then_read(st->client, &cmd, 1, NULL, 0); in ms5611_spi_reset()
30 ret = spi_w8r16be(st->client, MS5611_READ_PROM_WORD + (index << 1)); in ms5611_spi_read_prom_word()
44 ret = spi_write_then_read(st->client, buf, 1, buf, 3); in ms5611_spi_read_adc()
54 s32 *temp, s32 *pressure) in ms5611_spi_read_adc_temp_and_pressure() argument
57 const struct ms5611_osr *osr = st->temp_osr; in ms5611_spi_read_adc_temp_and_pressure()
60 * Warning: &osr->cmd MUST be aligned on a word boundary since used as in ms5611_spi_read_adc_temp_and_pressure()
63 ret = spi_write_then_read(st->client, &osr->cmd, 1, NULL, 0); in ms5611_spi_read_adc_temp_and_pressure()
67 usleep_range(osr->conv_usec, osr->conv_usec + (osr->conv_usec / 10UL)); in ms5611_spi_read_adc_temp_and_pressure()
[all …]
Dmprls0025pa.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * MPRLS0025PA - Honeywell MicroPressure pressure sensor series driver
5 * Copyright (c) Andreas Klinger <ak@it-klinger.de>
8-edam.honeywell.com/content/dam/honeywell-edam/sps/siot/en-us/products/sensors/pressure-sensors/bo…
45 * pressure = (press_cnt - outputmin) * scale + pmin
47 * * pressure - measured pressure in Pascal
48 * * press_cnt - raw value read from sensor
49 * * pmin - minimum pressure range value of sensor (data->pmin)
50 * * pmax - maximum pressure range value of sensor (data->pmax)
51 * * outputmin - minimum numerical range raw value delivered by sensor
[all …]
Dzpa2326_spi.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Murata ZPA2326 SPI pressure and temperature sensor driver
18 * - address bit 7 must be set to request a register read operation
19 * - address bit 6 must be set to request register address auto increment
39 dev_err(&spi->dev, "failed to init registers map"); in zpa2326_probe_spi()
49 spi->mode = SPI_MODE_3; in zpa2326_probe_spi()
50 spi->max_speed_hz = min(spi->max_speed_hz, 1000000U); in zpa2326_probe_spi()
51 spi->bits_per_word = 8; in zpa2326_probe_spi()
56 return zpa2326_probe(&spi->dev, spi_get_device_id(spi)->name, in zpa2326_probe_spi()
57 spi->irq, ZPA2326_DEVICE_ID, regmap); in zpa2326_probe_spi()
[all …]
/linux-6.12.1/Documentation/accounting/
Dpsi.rst4 PSI - Pressure Stall Information
14 either play it safe and under-utilize their hardware resources, or
23 scarcity aids users in sizing workloads to hardware--or provisioning
34 Pressure interface
37 Pressure information for each resource is exported through the
38 respective file in /proc/pressure/ -- cpu, memory, and io.
48 The "full" line indicates the share of time in which all non-idle
67 Monitoring for pressure thresholds
71 pressure exceeds certain thresholds.
78 /proc/pressure/ representing the resource to be monitored and write the
[all …]
/linux-6.12.1/drivers/input/touchscreen/
Dresistive-adc-touch.c1 // SPDX-License-Identifier: GPL-2.0
21 #define DRIVER_NAME "resistive-adc-touch"
37 * struct grts_state - generic resistive touch screen information struct
39 * @pressure_min: number representing the minimum for the pressure
40 * @pressure: are we getting pressure info or not
50 bool pressure; member
64 x = touch_info[st->ch_map[GRTS_CH_X]]; in grts_cb()
65 y = touch_info[st->ch_map[GRTS_CH_Y]]; in grts_cb()
67 if (st->ch_map[GRTS_CH_PRESSURE] < GRTS_MAX_CHANNELS) { in grts_cb()
68 press = touch_info[st->ch_map[GRTS_CH_PRESSURE]]; in grts_cb()
[all …]
Dcolibri-vf50-ts.c1 // SPDX-License-Identifier: GPL-2.0-or-later
25 #define DRIVER_NAME "colibri-vf50-ts"
27 #define VF_ADC_MAX ((1 << 12) - 1)
88 gpiod_set_value(vf50_ts->gpio_ym, 1); in vf50_ts_enable_touch_detection()
92 * Pull-Up on GPIO in vf50_ts_enable_touch_detection()
94 pinctrl_pm_select_idle_state(&vf50_ts->pdev->dev); in vf50_ts_enable_touch_detection()
96 /* Wait for the pull-up to be stable on high */ in vf50_ts_enable_touch_detection()
106 struct device *dev = &vf50_ts->pdev->dev; in vf50_ts_irq_bh()
111 gpiod_set_value(vf50_ts->gpio_ym, 0); in vf50_ts_irq_bh()
116 while (!vf50_ts->stop_touchscreen) { in vf50_ts_irq_bh()
[all …]
Dads7846.c1 // SPDX-License-Identifier: GPL-2.0-only
10 * - corgi_ts.c
11 * Copyright (C) 2004-2005 Richard Purdie
12 * - omap_ts.[hc], ads7846.h, ts_osk.c
39 * Support for ads7843 tested on Atmel at91sam926x-EK.
53 * note. The strength of filtering can be set in the board-* specific
76 * driver is used with DMA-based SPI controllers (like atmel_spi) on
77 * systems where main memory is not DMA-coherent (most non-x86 boards).
152 /* leave chip selected when we're done, for quicker re-select? */
159 /*--------------------------------------------------------------------------*/
[all …]
/linux-6.12.1/Documentation/input/
Dmulti-touch-protocol.rst4 Multi-touch (MT) Protocol
7 :Copyright: |copy| 2009-2010 Henrik Rydberg <rydberg@euromail.se>
11 ------------
13 In order to utilize the full power of the new multi-touch and multi-user
16 document describes the multi-touch (MT) protocol which allows kernel
30 --------------
34 packet. Since these events are ignored by current single-touch (ST)
48 All drivers mark the end of a multi-touch transfer by calling the usual
67 the ABS_MT_TRACKING_ID of the associated slot. A non-negative tracking id
68 is interpreted as a contact, and the value -1 denotes an unused slot. A
[all …]
/linux-6.12.1/kernel/sched/
Dpsi.c1 // SPDX-License-Identifier: GPL-2.0
3 * Pressure stall information for CPU, memory and IO
16 * This code aggregates individual task delays into resource pressure
23 * productivity. Pressure expresses the amount of time in which this
27 * the CPU. To measure the impact of pressure on both, we define two
34 * In the FULL state of a given resource, all non-idle tasks are
44 * CPU, productive means an on-CPU task.
48 * FULL means all non-idle tasks in the cgroup are delayed on the CPU
53 * states gives pressure numbers between 0 and 100 for each resource,
64 * unrealized due to resource contention *also* scales with non-idle
[all …]
/linux-6.12.1/drivers/input/
Dtouchscreen.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Generic helper functions for touchscreens and other two-dimensional
35 int min, int max, int fuzz) in touchscreen_set_params() argument
39 if (!test_bit(axis, dev->absbit)) { in touchscreen_set_params()
40 dev_warn(&dev->dev, in touchscreen_set_params()
46 absinfo = &dev->absinfo[axis]; in touchscreen_set_params()
47 absinfo->minimum = min; in touchscreen_set_params()
48 absinfo->maximum = max; in touchscreen_set_params()
49 absinfo->fuzz = fuzz; in touchscreen_set_params()
53 * touchscreen_parse_properties - parse common touchscreen properties
[all …]
/linux-6.12.1/arch/arm/boot/dts/ti/omap/
Dam3517-som.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
5 * Based on am3517-evm.dts
11 cpu0-supply = <&vdd_core_reg>;
16 compatible = "regulator-fixed";
17 regulator-name = "wl1271_buf";
18 regulator-min-microvolt = <1800000>;
19 regulator-max-microvolt = <1800000>;
20 pinctrl-names = "default";
21 pinctrl-0 = <&wl12xx_buffer_pins>;
23 regulator-always-on;
[all …]
Domap3-panel-sharp-ls037v7dw01.dtsi1 // SPDX-License-Identifier: GPL-2.0
6 * at minimum the GPIO enable-gpios for display, and
7 * gpios for gpio-backlight.
16 compatible = "gpio-backlight";
17 default-on;
21 lcd_3v3: regulator-lcd-3v3 {
22 compatible = "regulator-fixed";
23 regulator-name = "lcd_3v3";
24 regulator-min-microvolt = <3300000>;
25 regulator-max-microvolt = <3300000>;
[all …]
Domap3-devkit8000-lcd-common.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
6 #include "omap3-devkit8000-common.dtsi"
15 compatible = "panel-dpi";
18 enable-gpios = <&twl_gpio 18 GPIO_ACTIVE_HIGH>;
22 remote-endpoint = <&dpi_lcd_out>;
30 #address-cells = <1>;
31 #size-cells = <0>;
34 remote-endpoint = <&lcd_in>;
35 data-lines = <24>;
41 regulator-min-microvolt = <1800000>;
[all …]
/linux-6.12.1/Documentation/admin-guide/
Dcgroup-v2.rst1 .. _cgroup-v2:
11 conventions of cgroup v2. It describes all userland-visible aspects
14 v1 is available under :ref:`Documentation/admin-guide/cgroup-v1/index.rst <cgroup-v1>`.
19 1-1. Terminology
20 1-2. What is cgroup?
22 2-1. Mounting
23 2-2. Organizing Processes and Threads
24 2-2-1. Processes
25 2-2-2. Threads
26 2-3. [Un]populated Notification
[all …]
/linux-6.12.1/arch/arm/boot/dts/nxp/vf/
Dvf500-colibri-eval-v3.dts1 // SPDX-License-Identifier: GPL-2.0+ OR MIT
3 * Copyright 2014-2020 Toradex
6 /dts-v1/;
7 #include "vf500-colibri.dtsi"
8 #include "vf-colibri-eval-v3.dtsi"
12 compatible = "toradex,vf500-colibri_vf50-on-eval", "toradex,vf500-colibri_vf50", "fsl,vf500";
16 vf50-ts-min-pressure = <200>;
Dvf500-colibri.dtsi1 // SPDX-License-Identifier: GPL-2.0+ OR MIT
3 * Copyright 2014-2020 Toradex
7 #include "vf-colibri.dtsi"
11 compatible = "toradex,vf500-colibri_vf50", "fsl,vf500";
18 touchscreen: vf50-touchscreen {
19 compatible = "toradex,vf50-touchscreen";
20 io-channels = <&adc1 0>,<&adc0 0>,
22 xp-gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
23 xm-gpios = <&gpio2 29 GPIO_ACTIVE_HIGH>;
24 yp-gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
[all …]
/linux-6.12.1/arch/arm/boot/dts/microchip/
Dat91sam9x5dm.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * at91sam9x5dm.dtsi - Device Tree file for SAM9x5 display module
8 * Author: Boris Brezillon <boris.brezillon@free-electrons.com>
13 compatible = "pwm-backlight";
15 brightness-levels = <0 4 8 16 32 64 128 255>;
16 default-brightness-level = <6>;
17 power-supply = <&bl_reg>;
22 compatible = "regulator-fixed";
23 regulator-name = "backlight-power-supply";
24 regulator-min-microvolt = <5000000>;
[all …]
/linux-6.12.1/drivers/input/mouse/
Dsynaptics_usb.c1 // SPDX-License-Identifier: GPL-2.0-or-later
9 * Copyright (c) 2004 Jan Steinhoff (cpad@jan-steinhoff . de)
14 * http://jan-steinhoff.de/linux/synaptics-usb.html
16 * Bases on: usb_skeleton.c v2.2 by Greg Kroah-Hartman
96 struct input_dev *input_dev = synusb->input; in synusb_report_buttons()
98 input_report_key(input_dev, BTN_LEFT, synusb->data[1] & 0x04); in synusb_report_buttons()
99 input_report_key(input_dev, BTN_RIGHT, synusb->data[1] & 0x01); in synusb_report_buttons()
100 input_report_key(input_dev, BTN_MIDDLE, synusb->data[1] & 0x02); in synusb_report_buttons()
105 struct input_dev *input_dev = synusb->input; in synusb_report_stick()
107 unsigned int pressure; in synusb_report_stick() local
[all …]
/linux-6.12.1/arch/arm64/boot/dts/freescale/
Dimx8mp-skov-revb-lt6.dts1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
3 /dts-v1/;
5 #include "imx8mp-skov-reva.dtsi"
8 model = "SKOV IMX8MP CPU revB - LT6";
9 compatible = "skov,imx8mp-skov-revb-lt6", "fsl,imx8mp";
12 compatible = "resistive-adc-touch";
13 io-channels = <&adc_ts 1>, <&adc_ts 3>, <&adc_ts 4>, <&adc_ts 5>;
14 io-channel-names = "y", "z1", "z2", "x";
15 touchscreen-min-pressure = <65000>;
16 touchscreen-inverted-y;
[all …]
/linux-6.12.1/arch/arm/boot/dts/nxp/imx/
Dimx7d-pico-hobbit.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
5 #include "imx7d-pico.dtsi"
8 model = "TechNexion PICO-IMX7D Board using Hobbit baseboard";
9 compatible = "technexion,imx7d-pico-hobbit", "fsl,imx7d";
12 compatible = "gpio-leds";
13 pinctrl-names = "default";
14 pinctrl-0 = <&pinctrl_gpio_leds>;
17 label = "gpio-led";
23 compatible = "simple-audio-card";
24 simple-audio-card,name = "imx7-sgtl5000";
[all …]

123456789