Home
last modified time | relevance | path

Searched +full:poll +full:- +full:interval (Results 1 – 25 of 733) sorted by relevance

12345678910>>...30

/OK3568_Linux_fs/buildroot/package/watchdogd/
H A DConfig.in8 Extended version of uClinux-dist watchdogd. Monitors loadavg,
26 The watchdogctl program comes with a suite of tests built-in.
31 int "Generic script monitor poll interval (sec)"
34 Poll interval for generic script monitor, in seconds. A value
38 int "CPU load average monitor poll interval (sec)"
41 Poll interval for CPU load average monitor, in seconds. A
45 int "File descriptor leak monitor poll interval (sec)"
48 Poll interval for file descriptor leak monitor, in seconds. A
52 int "Memory leak monitor poll interval (sec)"
55 Poll interval for memory leak monitor, in seconds. A value of
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A Dat91-natte.dtsi1 // 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 …]
/OK3568_Linux_fs/kernel/drivers/input/
H A Dinput-poller.c1 // 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 …]
H A Dinput-polldev.c1 // 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 …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/power/supply/
H A Drockchip-charger-manager.txt1 rockchip-charger-manager bindings
5 - compatible : "rockchip-charger-manager"
6 - cm-chargers : name of charger
7 - cm-fuel-gauge : name of battery fuel gauge
8 - cm-charge-pump : name of battery charge pump
11 - cm-poll-mode : polling mode - 0 for disabled, 1 for always, 2 for when
14 - cm-poll-interval : polling interval (in ms)
17 charger-manager {
18 compatible = "rockchip-charger-manager";
19 cm-poll-mode = <2>;
[all …]
H A Dcharger-manager.txt1 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 …]
H A Dti,bq24735.txt5 - compatible : "ti,bq24735"
8 - interrupts : Specify the interrupt to be used to trigger when the AC
10 - ti,ac-detect-gpios : This GPIO is optionally used to read the AC adapter
15 - ti,charge-current : Used to control and set the charging current. This value
19 - ti,charge-voltage : Used to control and set the charging voltage. This value
23 - ti,input-current : Used to control and set the charger input current. This
27 - ti,external-control : Indicates that the charger is configured externally
30 - poll-interval : In case 'interrupts' is not specified, poll AC adapter
31 presence with this interval (milliseconds).
38 ti,ac-detect-gpios = <&gpio 72 0x1>;
/OK3568_Linux_fs/kernel/drivers/input/misc/
H A Dkxtj9.c1 // 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 …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/input/
H A Dclps711x-keypad.txt4 - 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>,
H A Dgpio-keys.yaml1 # 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 …]
H A Dinput.yaml1 # 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:
H A Dadc-keys.txt2 ------------------------------------
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 …]
H A Dfsl,mpr121-touchkey.yaml1 # 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 …]
/OK3568_Linux_fs/kernel/Documentation/virt/kvm/
H A Dhalt-polling.rst1 .. 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 …]
/OK3568_Linux_fs/kernel/include/linux/
H A Dinput-polldev.h1 /* 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
/OK3568_Linux_fs/kernel/Documentation/x86/x86_64/
H A Dmachinecheck.rst1 .. 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
/OK3568_Linux_fs/kernel/Documentation/hwmon/
H A Dacpi_power_meter.rst17 -----------
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 …]
/OK3568_Linux_fs/kernel/include/linux/input/
H A Dkxtj9.h1 /* 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 */
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/ipc_server/
H A Dsocket_server.cpp31 : tool_mode_on(false), sockfd(-1), client_socket(-1), quit_(0), in SocketServer()
34 callback_(nullptr), _stop_fds{-1, -1} {
37 msg_parser->setMsgCallBack(onPacketHandle);
38 msg_parser->start();
47 if (_stop_fds[1] != -1) { in SaveEixt()
68 int ret = -1; in ProcessText()
71 if (ret != -1) { in ProcessText()
74 sizeof(RkAiqSocketPacket) + dataReply.dataSize - sizeof(char *); in ProcessText()
106 return -1; in ProcessText()
118 int start_pos = -1; in bit_stream_find()
[all …]
/OK3568_Linux_fs/kernel/arch/x86/kernel/cpu/mce/
H A Dintel.c1 // 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 …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/sound/
H A Drockchip,multicodecs.txt4 - compatible: "rockchip,multicodecs-card"
5 - rockchip,cpu: The phandle of the Rockchip I2S/PDM controller that's
7 - rockchip,codec: The phandle of audio codecs
10 - rockchip,card-name: User specified audio sound card name, one string property.
11 - rockchip,codec-hp-det : Detect the headphone via internal codec.
12 - rockchip,wait-card-locked : This is a variable length array, user specified
15 - rockchip,audio-routing : sound card dapm routing.
16 - hp-det-gpio : headphone detect gpio.
17 - io-channels : headset mic/key detect adc channel.
18 - io-channel-names : headset mic/key adc channel name.
[all …]
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/rockchip/
H A Drk3308-evb.dts1 // 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 …]
/OK3568_Linux_fs/kernel/tools/power/x86/turbostat/
H A Dturbostat.83 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 …]
/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/
H A Dmali_kbase_vinstr.c1 // SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note
4 * (C) COPYRIGHT 2011-2022 ARM Limited. All rights reserved.
18 * http://www.gnu.org/licenses/gpl-2.0.html.
39 #include <linux/poll.h>
52 /* The minimum allowed interval between dumps (equivalent to 10KHz) */
59 * struct kbase_vinstr_context - IOCTL interface for userspace hardware
68 * @suspend_count: Suspend reference count. If non-zero, timer and worker are
69 * prevented from being re-scheduled.
88 * struct kbase_vinstr_client - A vinstr client attached to a vinstr context.
93 * @dump_interval_ns: Interval between periodic dumps. If 0, not a periodic
[all …]
/OK3568_Linux_fs/kernel/Documentation/userspace-api/media/v4l/
H A Duser-func.rst1 .. 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 …]

12345678910>>...30