| /OK3568_Linux_fs/kernel/drivers/iio/pressure/ |
| H A D | Kconfig | 3 # 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 …]
|
| H A D | st_pressure_core.c | 29 * 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 …]
|
| H A D | ms5611_core.c | 3 * 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 D | hp03.c | 5 * 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");
|
| H A D | zpa2326.c | 3 * Murata ZPA2326 pressure and temperature sensor IIO driver 21 * performs pressure and temperature measurements, then automatically switches 31 * pressure samples only). Measurement cycle completion may be signaled by a 36 * - at end of period, upon data ready interrupt: pop pressure samples out of 49 * preset pressure threshold crossing / IIO events ; 50 * differential pressure sampling ; 470 * A single fetch from pressure MSB register is enough to pop in zpa2326_clear_fifo() 503 * zpa2326_dequeue_pressure() - Retrieve the most recent pressure sample from 506 * @pressure: Sampled pressure output. 508 * Note that ZPA2326 hardware FIFO stores pressure samples only. [all …]
|
| H A D | ms5637.c | 4 * 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");
|
| /OK3568_Linux_fs/kernel/Documentation/accounting/ |
| H A D | psi.rst | 4 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 139 fds.fd = open("/proc/pressure/memory", O_RDWR | O_NONBLOCK); [all …]
|
| /OK3568_Linux_fs/kernel/mm/ |
| H A D | vmpressure.c | 3 * Linux VM pressure 43 * These thresholds are used when we account memory pressure through 53 * critical pressure as number of pages will be less than "window size". 114 static enum vmpressure_levels vmpressure_level(unsigned long pressure) in vmpressure_level() argument 116 if (pressure >= vmpressure_level_critical) in vmpressure_level() 118 else if (pressure >= vmpressure_level_med) in vmpressure_level() 127 unsigned long pressure = 0; in vmpressure_calc_level() local 143 pressure = scale - (reclaimed * scale / scanned); in vmpressure_calc_level() 144 pressure = pressure * 100 / scale; in vmpressure_calc_level() 147 pr_debug("%s: %3lu (s: %lu r: %lu)\n", __func__, pressure, in vmpressure_calc_level() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/input/touchscreen/ |
| H A D | resistive-adc-touch.c | 27 * @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 …]
|
| H A D | wm9705.c | 29 * 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 …]
|
| H A D | wm9713.c | 42 * 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 …]
|
| H A D | wm9712.c | 42 * 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 …]
|
| H A D | zylonite-wm97xx.c | 57 * 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()
|
| H A D | wm831x-ts.c | 64 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 D | mainstone-wm97xx.c | 81 * 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()
|
| H A D | tsc200x-core.c | 113 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 …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/input/touchscreen/ |
| H A D | resistive-adc-touch.txt | 7 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";
|
| H A D | touchscreen.yaml | 31 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
|
| H A D | ads7846.txt | 64 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>;
|
| H A D | ad7879.txt | 9 - 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>;
|
| H A D | colibri-vf50-ts.txt | 13 - 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>;
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/lib/gcc/arm-none-linux-gnueabihf/10.3.1/plugin/include/ |
| H A D | ira.h | 55 /* Number of pressure classes. Pressure classes are register 56 classes for which we calculate register pressure. */ 59 /* The array containing pressure classes. Only first 63 /* Map of all register classes to corresponding pressure classes 65 pressure class, we translate it into the cheapest pressure 69 /* Biggest pressure register class containing stack registers.
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/lib/gcc/aarch64-none-linux-gnu/10.3.1/plugin/include/ |
| H A D | ira.h | 55 /* Number of pressure classes. Pressure classes are register 56 classes for which we calculate register pressure. */ 59 /* The array containing pressure classes. Only first 63 /* Map of all register classes to corresponding pressure classes 65 pressure class, we translate it into the cheapest pressure 69 /* Biggest pressure register class containing stack registers.
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/iio/pressure/ |
| H A D | asc,dlhl60d.yaml | 4 $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 {
|
| /OK3568_Linux_fs/kernel/drivers/input/tablet/ |
| H A D | kbtab.c | 9 * 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()
|