/Linux-v5.15/arch/arm/boot/dts/ |
D | at91-natte.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * at91-natte.dts - Device Tree include file for the Natte board 11 mux: mux-controller { 12 compatible = "gpio-mux"; 13 #mux-control-cells = <0>; 15 mux-gpios = <&ioexp 0 GPIO_ACTIVE_HIGH>, 20 batntc-mux { 21 compatible = "io-channel-mux"; 22 io-channels = <&adc 5>; 23 io-channel-names = "parent"; [all …]
|
/Linux-v5.15/drivers/input/ |
D | input-poller.c | 1 // SPDX-License-Identifier: GPL-2.0-only 13 #include "input-poller.h" 16 void (*poll)(struct input_dev *dev); member 30 delay = msecs_to_jiffies(poller->poll_interval); in input_dev_poller_queue_work() 34 queue_delayed_work(system_freezable_wq, &poller->work, delay); in input_dev_poller_queue_work() 42 poller->poll(poller->input); in input_dev_poller_work() 48 if (!poller->poll_interval) in input_dev_poller_finalize() 49 poller->poll_interval = 500; in input_dev_poller_finalize() 50 if (!poller->poll_interval_max) in input_dev_poller_finalize() 51 poller->poll_interval_max = poller->poll_interval; in input_dev_poller_finalize() [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/input/ |
D | clps711x-keypad.txt | 4 - compatible: Shall contain "cirrus,ep7209-keypad". 5 - row-gpios: List of GPIOs used as row lines. 6 - poll-interval: Poll interval time in milliseconds. 7 - linux,keymap: The definition can be found at 8 bindings/input/matrix-keymap.txt. 11 - autorepeat: Enable autorepeat feature. 15 compatible = "cirrus,ep7312-keypad", "cirrus,ep7209-keypad"; 17 poll-interval = <120>; 18 row-gpios = <&porta 0 0>,
|
D | gpio-keys.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/input/gpio-keys.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Device-Tree bindings for GPIO attached keys 10 - Rob Herring <robh@kernel.org> 15 - gpio-keys 16 - gpio-keys-polled 39 linux,input-type: 47 linux,input-value: [all …]
|
D | input.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Dmitry Torokhov <dmitry.torokhov@gmail.com> 21 $ref: /schemas/types.yaml#/definitions/uint32-array 26 poll-interval: 27 description: Poll interval time in milliseconds. 30 power-off-time-sec: 36 reset-time-sec:
|
D | fsl,mpr121-touchkey.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/input/fsl,mpr121-touchkey.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Dmitry Torokhov <dmitry.torokhov@gmail.com> 15 https://www.nxp.com/docs/en/data-sheet/MPR121.pdf 18 - $ref: input.yaml# 21 - required: [ interrupts ] 22 - required: [ poll-interval ] 26 const: fsl,mpr121-touchkey [all …]
|
D | adc-keys.txt | 2 ------------------------------------ 5 - compatible: "adc-keys" 6 - io-channels: Phandle to an ADC channel 7 - io-channel-names = "buttons"; 8 - keyup-threshold-microvolt: Voltage above or equal to which all the keys are 12 - poll-interval: Poll interval time in milliseconds 13 - autorepeat: Boolean, Enable auto repeat feature of Linux input 16 Each button (key) is represented as a sub-node of "adc-keys": 18 Required subnode-properties: 19 - label: Descriptive name of the key. [all …]
|
/Linux-v5.15/drivers/input/misc/ |
D | kxtj9.c | 1 // SPDX-License-Identifier: GPL-2.0-only 53 * The following table lists the maximum appropriate poll interval for each 84 .addr = tj9->client->addr, in kxtj9_i2c_read() 85 .flags = tj9->client->flags, in kxtj9_i2c_read() 90 .addr = tj9->client->addr, in kxtj9_i2c_read() 91 .flags = tj9->client->flags | I2C_M_RD, in kxtj9_i2c_read() 97 return i2c_transfer(tj9->client->adapter, msgs, 2); in kxtj9_i2c_read() 108 dev_err(&tj9->client->dev, "accelerometer data read failed\n"); in kxtj9_report_acceleration_data() 110 x = le16_to_cpu(acc_data[tj9->pdata.axis_map_x]); in kxtj9_report_acceleration_data() 111 y = le16_to_cpu(acc_data[tj9->pdata.axis_map_y]); in kxtj9_report_acceleration_data() [all …]
|
/Linux-v5.15/Documentation/virt/kvm/ |
D | halt-polling.rst | 1 .. SPDX-License-Identifier: GPL-2.0 16 the order of a few micro-seconds, although performance benefits are workload 18 interval or some other task on the runqueue is runnable the scheduler is 27 The powerpc kvm-hv specific case is implemented in: 31 Halt Polling Interval 34 The maximum time for which to poll before invoking the scheduler, referred to 35 as the halt polling interval, is increased and decreased based on the perceived 39 kvm_vcpu->halt_poll_ns 41 or in the case of powerpc kvm-hv, in the vcore struct: 43 kvmppc_vcore->halt_poll_ns [all …]
|
/Linux-v5.15/drivers/hwmon/ |
D | aht10.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * aht10.c - Linux hwmon driver for AHT10 Temperature and Humidity sensor 17 * Poll intervals (in milliseconds) 48 * struct aht10_data - All the data required to operate an AHT10 chip 52 * @min_poll_interval: the minimum poll interval 53 * While the poll rate limit is not 100% necessary, 81 * aht10_init() - Initialize an AHT10 chip 92 struct i2c_client *client = data->client; in aht10_init() 103 return -ENODATA; in aht10_init() 106 return -EBUSY; in aht10_init() [all …]
|
D | sht4x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * sht4x.c - Linux hwmon driver for SHT4x Temperature and Humidity sensor 19 * Poll intervals (in milliseconds) 41 #define SHT4X_MIN_TEMPERATURE -45000 49 * struct sht4x_data - All the data required to operate an SHT4X chip 52 * @update_interval: the minimum poll interval 61 long update_interval; /* in milli-seconds */ 68 * sht4x_read_values() - read and parse the raw data from the SHT4X 70 * Return: 0 if successful, -ERRNO if not 77 struct i2c_client *client = data->client; in sht4x_read_values() [all …]
|
D | lochnagar-hwmon.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (c) 2016-2019 Cirrus Logic, Inc. and 13 #include <linux/hwmon-sysfs.h> 59 * float_to_long - Convert ieee754 reading from hardware to an integer 68 * will convert that into an integer in a smaller unit such as micro-amps 69 * or milli-celsius. The hardware does not return NaN, so consideration of 75 int exp = ((data & 0x7F800000) >> 23) - 127 - 23; in float_to_long() 81 if (fls64(man) + exp > (int)sizeof(long) * 8 - 1) in float_to_long() 84 result = (man + (1ull << (-exp - 1))) >> -exp; in float_to_long() 88 return negative ? -result : result; in float_to_long() [all …]
|
/Linux-v5.15/Documentation/x86/x86_64/ |
D | machinecheck.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 Configurable sysfs parameters for the x86-64 machine check code 40 How often to poll for corrected machine check errors, in seconds 42 finds MCEs it triggers an exponential speedup (poll more often) on 43 the polling interval. When the poller stops finding MCEs, it 44 triggers an exponential backoff (poll less often) on the polling 45 interval. The check_interval variable is both the initial and 46 maximum polling interval. 0 means no polling for corrected machine
|
/Linux-v5.15/Documentation/hwmon/ |
D | acpi_power_meter.rst | 17 ----------- 21 features--a power meter that returns average power use over a configurable 22 interval, an optional capping mechanism, and a couple of trip points. The 24 of Documentation/hwmon/sysfs-interface.rst. 27 ---------------- 29 The `power[1-*]_is_battery` knob indicates if the power supply is a battery. 30 Both `power[1-*]_average_{min,max}` must be set before the trip points will work. 32 socket and a poll notification will be sent to the appropriate 33 `power[1-*]_average` sysfs file. 35 The `power[1-*]_{model_number, serial_number, oem_info}` fields display [all …]
|
/Linux-v5.15/include/linux/input/ |
D | kxtj9.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 13 unsigned int min_interval; /* minimum poll interval (in milli-seconds) */ 14 unsigned int init_interval; /* initial poll interval (in milli-seconds) */ 32 /* CTRL_REG1: set resolution, g-range, data ready enable */ 33 /* Output resolution: 8-bit valid or 12-bit valid */ 37 /* Output g-range: +/-2g, 4g, or 8g */
|
/Linux-v5.15/Documentation/devicetree/bindings/power/supply/ |
D | charger-manager.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/power/supply/charger-manager.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sebastian Reichel <sre@kernel.org> 18 const: charger-manager 20 cm-chargers: 22 $ref: /schemas/types.yaml#/definitions/string-array 24 cm-num-chargers: 28 cm-fuel-gauge: [all …]
|
D | bq24735.yaml | 1 # SPDX-License-Identifier: GPL-2.0 4 --- 6 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 8 title: Binding for TI BQ24735 Li-Ion Battery Charger 11 - Sebastian Reichel <sre@kernel.org> 14 - $ref: power-supply.yaml# 27 ti,ac-detect-gpios: 35 ti,charge-current: 43 ti,charge-voltage: 51 ti,input-current: [all …]
|
/Linux-v5.15/arch/x86/kernel/cpu/mce/ |
D | intel.c | 1 // SPDX-License-Identifier: GPL-2.0 16 #include <asm/intel-family.h> 136 * Reset the counter if we've logged an error in the last poll in mce_intel_cmci_poll() 176 unsigned long cmci_intel_adjust_timer(unsigned long interval) in cmci_intel_adjust_timer() argument 188 * We switch back to interrupt mode once the poll timer has in cmci_intel_adjust_timer() 190 * interval is back to our poll interval. in cmci_intel_adjust_timer() 211 /* We have shiny weather. Let the poll do whatever it thinks. */ in cmci_intel_adjust_timer() 212 return interval; in cmci_intel_adjust_timer() 244 pr_notice("CMCI storm detected: switching to poll mode\n"); in cmci_storm_detect() 312 /* Did the enable bit stick? -- the bank supports CMCI */ in cmci_discover() [all …]
|
/Linux-v5.15/arch/arm64/boot/dts/rockchip/ |
D | rk3308-evb.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 8 #include <dt-bindings/input/input.h> 13 compatible = "rockchip,rk3308-evb", "rockchip,rk3308"; 16 stdout-path = "serial4:1500000n8"; 19 adc-keys0 { 20 compatible = "adc-keys"; 21 io-channels = <&saradc 0>; 22 io-channel-names = "buttons"; 23 poll-interval = <100>; [all …]
|
D | rk3399-nanopi-m4b.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 5 * Copyright (c) 2020 Chen-Yu Tsai <wens@csie.org> 8 /dts-v1/; 9 #include "rk3399-nanopi-m4.dts" 13 compatible = "friendlyarm,nanopi-m4b", "rockchip,rk3399"; 15 adc-keys { 16 compatible = "adc-keys"; 17 io-channels = <&saradc 1>; 18 io-channel-names = "buttons"; 19 keyup-threshold-microvolt = <1500000>; [all …]
|
/Linux-v5.15/tools/power/x86/turbostat/ |
D | turbostat.8 | 3 turbostat \- Report processor frequency and idle statistics 12 .RB [ "\--interval seconds" ] 15 idle power-state statistics, temperature and power on X86 processors. 19 in one-shot upon its completion. 21 and turbostat displays statistics every 5 seconds interval. 22 The 5-second interval can be changed using the --interval option. 26 Options can be specified with a single or double '-', and only as much of the option 27 name as necessary to disambiguate it from others is necessary. Note that options are case-sensitiv… 29 \fB--add attributes\fP add column with counter having specified 'attributes'. The 'location' attri… 41 MSRs are read as 64-bits, u32 truncates the displayed value to 32-bits. [all …]
|
/Linux-v5.15/block/ |
D | disk-events.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Disk events - monitor disk events like media change and eject request. 20 long poll_msecs; /* interval, -1 for default */ 38 /* disable in-kernel polling by default */ 43 struct disk_events *ev = disk->ev; in disk_events_poll_jiffies() 47 * If device-specific poll interval is set, always use it. If in disk_events_poll_jiffies() 48 * the default is being used, poll if the POLL flag is set. in disk_events_poll_jiffies() 50 if (ev->poll_msecs >= 0) in disk_events_poll_jiffies() 51 intv_msecs = ev->poll_msecs; in disk_events_poll_jiffies() 52 else if (disk->event_flags & DISK_EVENT_FLAG_POLL) in disk_events_poll_jiffies() [all …]
|
/Linux-v5.15/Documentation/userspace-api/media/v4l/ |
D | user-func.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _user-func: 13 func-close 14 func-ioctl 15 vidioc-create-bufs 16 vidioc-cropcap 17 vidioc-dbg-g-chip-info 18 vidioc-dbg-g-register 19 vidioc-decoder-cmd 20 vidioc-dqevent [all …]
|
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dcn20/ |
D | dcn20_vmid.c | 32 vmid->regs->reg 35 vmid->ctx 39 vmid->shifts->field_name, vmid->masks->field_name 43 /* According the hardware spec, we need to poll for the lowest in dcn20_wait_for_vmid_ready() 48 * TODO: Confirm timeout / poll interval with hardware team in dcn20_wait_for_vmid_ready() 76 VM_CONTEXT0_START_LOGICAL_PAGE_NUMBER_HI4, (config->page_table_start_addr >> 32) & 0xF); in dcn20_vmid_setup() 78 VM_CONTEXT0_START_LOGICAL_PAGE_NUMBER_LO32, config->page_table_start_addr & 0xFFFFFFFF); in dcn20_vmid_setup() 81 VM_CONTEXT0_END_LOGICAL_PAGE_NUMBER_HI4, (config->page_table_end_addr >> 32) & 0xF); in dcn20_vmid_setup() 83 VM_CONTEXT0_END_LOGICAL_PAGE_NUMBER_LO32, config->page_table_end_addr & 0xFFFFFFFF); in dcn20_vmid_setup() 86 VM_CONTEXT0_PAGE_TABLE_DEPTH, config->depth, in dcn20_vmid_setup() [all …]
|
/Linux-v5.15/Documentation/accounting/ |
D | psi.rst | 4 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 38 respective file in /proc/pressure/ -- cpu, memory, and io. 52 The "full" line indicates the share of time in which all non-idle 71 Users can register triggers and use poll() to be woken up when resource 81 used to wait for trigger events using select(), poll() or epoll(). 93 file descriptor is required to be able to poll it separately from others, 103 monitoring update interval is 50ms and max is 1s. Min limit is set to 112 Notifications to the userspace are rate-limited to one per tracking window. [all …]
|