| /linux/Documentation/translations/zh_CN/accounting/ |
| H A D | psi.rst | 37 压力信息可通过/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/drivers/iio/pressure/ |
| H A D | ms5611_core.c | 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() 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() 187 *pressure = (((p * sens) >> 21) - off) >> 15; in ms5607_temp_and_pressure_compensate() 241 s32 temp, pressure; in ms5611_read_raw() local [all …]
|
| H A D | ms5637.c | 58 unsigned int pressure; in ms5637_read_raw() local 65 &pressure); in ms5637_read_raw() 75 *val = pressure / 1000; in ms5637_read_raw() 76 *val2 = (pressure % 1000) * 1000; in ms5637_read_raw()
|
| H A D | ms5611.h | 49 s32 *temp, s32 *pressure); 52 s32 *pressure);
|
| H A D | ms5611_i2c.c | 58 s32 *temp, s32 *pressure) in ms5611_i2c_read_adc_temp_and_pressure() argument 78 return ms5611_i2c_read_adc(st, pressure); in ms5611_i2c_read_adc_temp_and_pressure()
|
| H A D | ms5611_spi.c | 53 s32 *temp, s32 *pressure) in ms5611_spi_read_adc_temp_and_pressure() argument 77 return ms5611_spi_read_adc(st, pressure); in ms5611_spi_read_adc_temp_and_pressure()
|
| H A D | mprls0025pa.c | 294 s32 pressure; in mpr_read_raw() local 303 ret = mpr_read_pressure(data, &pressure); in mpr_read_raw() 307 *val = pressure; in mpr_read_raw()
|
| /linux/drivers/input/touchscreen/ |
| 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() 281 WARN_ON(pdata->pressure && pdata->fivewire); in wm831x_ts_probe() 282 wm831x_ts->pressure = false; in wm831x_ts_probe() 355 if (wm831x_ts->pressure) in wm831x_ts_probe()
|
| H A D | resistive-adc-touch.c | 49 bool pressure; member 91 if ((!x && !y) || (st->pressure && (press < st->pressure_min))) { in grts_cb() 100 if (st->pressure) in grts_cb() 170 st->pressure = true; in grts_get_properties() 195 st->pressure = true; in grts_get_properties() 224 if (st->pressure) { in grts_probe() 247 if (st->pressure) in grts_probe()
|
| H A D | mainstone-wm97xx.c | 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()
|
| H A D | tps6507x-ts.c | 37 u16 pressure; member 155 &tsc->tc.pressure); in tps6507x_ts_poll() 159 pendown = tsc->tc.pressure > tsc->min_pressure; in tps6507x_ts_poll() 189 input_report_abs(input_dev, ABS_PRESSURE, tsc->tc.pressure); in tps6507x_ts_poll()
|
| H A D | sis_i2c.c | 177 u8 pressure; in sis_ts_report_contact() local 196 pressure = height = width = 1; in sis_ts_report_contact() 204 pressure = in sis_ts_report_contact() 215 input_report_abs(input, ABS_MT_PRESSURE, pressure); in sis_ts_report_contact()
|
| H A D | wacom_w9000.c | 158 u16 x, y, pressure; in wacom_w9000_coord() local 181 pressure = get_unaligned_be16(&data[5]); in wacom_w9000_coord() 191 if (pressure > wacom_data->max_pressure) { in wacom_w9000_coord() 192 dev_warn_ratelimited(dev, "Pressure out of range %d\n", pressure); in wacom_w9000_coord() 197 input_report_abs(wacom_data->input_dev, ABS_PRESSURE, pressure); in wacom_w9000_coord()
|
| H A D | wacom_i2c.c | 111 unsigned int x, y, pressure; in wacom_i2c_irq() local 126 pressure = le16_to_cpup((__le16 *)&data[8]); in wacom_i2c_irq() 140 input_report_abs(input, ABS_PRESSURE, pressure); in wacom_i2c_irq()
|
| /linux/Documentation/accounting/ |
| H A D | psi.rst | 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); 144 printf("/proc/pressure/memory open error: %s\n", 151 printf("/proc/pressure/memory write error: %s\n", 182 mounted, pressure stall information is also tracked for tasks grouped [all …]
|
| /linux/tools/testing/selftests/hid/tests/ |
| H A D | test_wacom_generic.py | 192 self, x, y, pressure, buttons=None, toolid=None, proximity=None, reportID=None argument 224 report.tippressure = pressure 225 report.tipswitch = pressure > 0 264 def event(self, x, y, pressure, buttons=None, toolid=None, proximity=None): argument 276 r = self.create_report(x, y, pressure, buttons, toolid, proximity) 629 pressure=300, 643 uhdev.event(110, 220, pressure=0), 655 pressure=0, 665 uhdev.event(130, 240, pressure=0), [], auto_syn=False, strict=True 695 pressure=0, [all …]
|
| /linux/Documentation/devicetree/bindings/input/touchscreen/ |
| H A D | bu21029.txt | 14 - touchscreen-max-pressure: maximum pressure value 31 touchscreen-max-pressure = <4095>;
|
| /linux/drivers/input/tablet/ |
| H A D | kbtab.c | 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()
|
| /linux/Documentation/input/ |
| H A D | event-codes.rst | 152 touchpad may set the value to 1 only when the touch pressure rises above a 257 - For touch devices, many devices converted contact size into pressure. 258 A finger flattens with pressure, causing a larger contact area and thus 259 pressure and contact size are directly related. This is not the case 261 pressure sensor ("pressure pads"). 264 pressure is in measurable units. If the resolution is zero, the 265 pressure data is in arbitrary units. If the resolution is non-zero, the 266 pressure data is in units/gram. For example, a value of 10 with a 429 table, and report correct units for the pressure.
|
| H A D | multi-touch-protocol.rst | 186 than unity, is related to the contact pressure. For pressure-based devices, 187 ABS_MT_PRESSURE may be used to provide the pressure on the contact area 255 the notion of pressure. The fingers of the hand and the palm all have 259 The pressure, in arbitrary units, on the contact area. May be used instead 260 of TOUCH and WIDTH for pressure-based devices or any device with a spatial 263 If the resolution is zero, the pressure data is in arbitrary units. 264 If the resolution is non-zero, the pressure data is in units/gram. See 396 parameters can be used to, e.g., approximate finger pressure or distinguish
|
| /linux/arch/arm/boot/dts/nxp/vf/ |
| H A D | vf500-colibri-eval-v3.dts | 16 vf50-ts-min-pressure = <200>;
|
| /linux/Documentation/admin-guide/cgroup-v1/ |
| H A D | memory.rst | 52 - memory pressure notifier 86 memory.pressure_level set memory pressure notifications 241 the cgroup that brought it in -- this will happen on memory pressure). 357 sockets memory pressure: 358 some sockets protocols have memory pressure 362 tcp memory pressure: 363 sockets memory pressure for the tcp protocol. 535 memory pressure happens. If you want to avoid that, force_empty will be useful. 799 The pressure level notifications can be used to monitor the memory 800 allocation cost; based on the pressure, applications can implement [all …]
|
| /linux/arch/arc/ |
| H A D | Kconfig.debug | 9 threads to run on the system and also increase the pressure
|
| /linux/Documentation/iio/ |
| H A D | adis16480.rst | 47 ADIS16480 and ADIS16488 also provide access to barometric pressure data and 86 | Barometric pressure sensor related files | Description | 88 | in_pressure0_calibbias | Calibration offset for barometric pressure channel. | 90 | in_pressure0_raw | Raw barometric pressure channel value. | 92 | in_pressure0_scale | Scale for the barometric pressure sensor channel. | 241 | Barometric pressure | kilo Pascal |
|
| /linux/drivers/base/ |
| H A D | arch_topology.c | 183 unsigned long max_capacity, capacity, pressure; in topology_update_hw_pressure() local 200 pressure = max_capacity - capacity; in topology_update_hw_pressure() 202 trace_hw_pressure_update(cpu, pressure); in topology_update_hw_pressure() 205 WRITE_ONCE(per_cpu(hw_pressure, cpu), pressure); in topology_update_hw_pressure()
|