| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-4.19/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| D | input-polldev.c | 1 // SPDX-License-Identifier: GPL-2.0-only 15 #include <linux/input-polldev.h> 25 delay = msecs_to_jiffies(dev->poll_interval); in input_polldev_queue_work() 29 queue_delayed_work(system_freezable_wq, &dev->work, delay); in input_polldev_queue_work() 37 dev->poll(dev); in input_polled_device_work() 45 if (dev->open) in input_open_polled_device() 46 dev->open(dev); in input_open_polled_device() 49 if (dev->poll_interval > 0) { in input_open_polled_device() 50 dev->poll(dev); in input_open_polled_device() 61 cancel_delayed_work_sync(&dev->work); in input_close_polled_device() [all …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/input/ |
| D | gpio-keys-polled.txt | 1 Device-Tree bindings for input/gpio_keys_polled.c keyboard driver 4 - compatible = "gpio-keys-polled"; 5 - poll-interval: Poll interval time in milliseconds 8 - autorepeat: Boolean, Enable auto repeat feature of Linux input 11 Each button (key) is represented as a sub-node of "gpio-keys-polled": 14 - gpios: OF device-tree gpio specification. 15 - label: Descriptive name of the key. 16 - linux,code: Key / Axis code to emit. 18 Optional subnode-properties: 19 - linux,input-type: Specify event type this button/key generates. [all …]
|
| 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 | 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 at which all the keys are considered up. 11 - poll-interval: Poll interval time in milliseconds 12 - autorepeat: Boolean, Enable auto repeat feature of Linux input 15 Each button (key) is represented as a sub-node of "adc-keys": 17 Required subnode-properties: 18 - label: Descriptive name of the key. [all …]
|
| /kernel/linux/linux-5.10/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:
|
| 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 at which all the keys are considered up. 11 - poll-interval: Poll interval time in milliseconds 12 - autorepeat: Boolean, Enable auto repeat feature of Linux input 15 Each button (key) is represented as a sub-node of "adc-keys": 17 Required subnode-properties: 18 - label: Descriptive name of the key. [all …]
|
| /kernel/linux/linux-4.19/Documentation/virtual/kvm/ |
| D | halt-polling.txt | 13 the order of a few micro-seconds, although performance benefits are workload 15 interval or some other task on the runqueue is runnable the scheduler is 24 The powerpc kvm-hv specific case is implemented in: 28 Halt Polling Interval 31 The maximum time for which to poll before invoking the scheduler, referred to 32 as the halt polling interval, is increased and decreased based on the perceived 36 kvm_vcpu->halt_poll_ns 38 or in the case of powerpc kvm-hv, in the vcore struct: 40 kvmppc_vcore->halt_poll_ns 44 During polling if a wakeup source is received within the halt polling interval, [all …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/power/supply/ |
| D | charger-manager.txt | 1 charger-manager bindings 5 - compatible : "charger-manager" 6 - <>-supply : for regulator consumer 7 - cm-num-chargers : number of chargers 8 - cm-chargers : name of chargers 9 - cm-fuel-gauge : name of battery fuel gauge 10 - subnode <regulator> : 11 - cm-regulator-name : name of charger regulator 12 - subnode <cable> : 13 - cm-cable-name : name of charger cable [all …]
|
| /kernel/linux/linux-4.19/drivers/input/misc/ |
| D | kxtj9.c | 17 * 02111-1307, USA 27 #include <linux/input-polldev.h> 67 * The following table lists the maximum appropriate poll interval for each 101 .addr = tj9->client->addr, in kxtj9_i2c_read() 102 .flags = tj9->client->flags, in kxtj9_i2c_read() 107 .addr = tj9->client->addr, in kxtj9_i2c_read() 108 .flags = tj9->client->flags | I2C_M_RD, in kxtj9_i2c_read() 114 return i2c_transfer(tj9->client->adapter, msgs, 2); in kxtj9_i2c_read() 125 dev_err(&tj9->client->dev, "accelerometer data read failed\n"); in kxtj9_report_acceleration_data() 127 x = le16_to_cpu(acc_data[tj9->pdata.axis_map_x]); in kxtj9_report_acceleration_data() [all …]
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | input-polldev.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 13 * struct input_polled_dev - simple polled input device 15 * @open: driver-supplied method that prepares device for polling 17 * @close: driver-supplied method that is called when device is no 19 * @poll: driver-supplied method that polls the device and posts 21 * @poll_interval: specifies how often the poll() method should be called. 23 * @poll_interval_max: specifies upper bound for the poll interval. 25 * @poll_interval_min: specifies lower bound for the poll interval. 39 void (*poll)(struct input_polled_dev *dev); member
|
| /kernel/linux/linux-4.19/include/linux/ |
| D | input-polldev.h | 16 * struct input_polled_dev - simple polled input device 18 * @open: driver-supplied method that prepares device for polling 20 * @close: driver-supplied method that is called when device is no 22 * @poll: driver-supplied method that polls the device and posts 24 * @poll_interval: specifies how often the poll() method should be called. 26 * @poll_interval_max: specifies upper bound for the poll interval. 28 * @poll_interval_min: specifies lower bound for the poll interval. 42 void (*poll)(struct input_polled_dev *dev); member
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/power/supply/ |
| D | charger-manager.txt | 1 charger-manager bindings 5 - compatible : "charger-manager" 6 - <>-supply : for regulator consumer, named according to cm-regulator-name 7 - cm-chargers : name of chargers 8 - cm-fuel-gauge : name of battery fuel gauge 9 - subnode <regulator> : 10 - cm-regulator-name : name of charger regulator 11 - subnode <cable> : 12 - cm-cable-name : name of charger cable - one of USB, USB-HOST, 13 SDP, DCP, CDP, ACA, FAST-CHARGER, SLOW-CHARGER, WPT, [all …]
|
| /kernel/linux/linux-4.19/Documentation/x86/x86_64/ |
| D | machinecheck | 2 Configurable sysfs parameters for the x86-64 machine check code. 38 How often to poll for corrected machine check errors, in seconds 40 finds MCEs it triggers an exponential speedup (poll more often) on 41 the polling interval. When the poller stops finding MCEs, it 42 triggers an exponential backoff (poll less often) on the polling 43 interval. The check_interval variable is both the initial and 44 maximum polling interval. 0 means no polling for corrected machine
|
| /kernel/linux/linux-5.10/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
|
| /kernel/linux/linux-4.19/Documentation/hwmon/ |
| D | acpi_power_meter | 14 ----------- 18 features--a power meter that returns average power use over a configurable 19 interval, an optional capping mechanism, and a couple of trip points. The 21 of Documentation/hwmon/sysfs-interface. 24 ---------------- 26 The power[1-*]_is_battery knob indicates if the power supply is a battery. 27 Both power[1-*]_average_{min,max} must be set before the trip points will work. 29 socket and a poll notification will be sent to the appropriate 30 power[1-*]_average sysfs file. 32 The power[1-*]_{model_number, serial_number, oem_info} fields display arbitrary [all …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-5.10/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 */
|
| /kernel/linux/linux-4.19/drivers/input/ |
| D | input-polldev.c | 18 #include <linux/input-polldev.h> 28 delay = msecs_to_jiffies(dev->poll_interval); in input_polldev_queue_work() 32 queue_delayed_work(system_freezable_wq, &dev->work, delay); in input_polldev_queue_work() 40 dev->poll(dev); in input_polled_device_work() 48 if (dev->open) in input_open_polled_device() 49 dev->open(dev); in input_open_polled_device() 52 if (dev->poll_interval > 0) { in input_open_polled_device() 53 dev->poll(dev); in input_open_polled_device() 64 cancel_delayed_work_sync(&dev->work); in input_close_polled_device() 66 if (dev->close) in input_close_polled_device() [all …]
|