Home
last modified time | relevance | path

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

12345678910>>...12

/linux/arch/arm/boot/dts/microchip/
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 …]
/linux/drivers/input/
H A Dinput-poller.c1 // SPDX-License-Identifier: GPL-2.0-only
14 #include "input-poller.h"
17 void (*poll)(struct input_dev *dev); member
31 delay = msecs_to_jiffies(poller->poll_interval); in input_dev_poller_queue_work()
35 queue_delayed_work(system_freezable_wq, &poller->work, delay); in input_dev_poller_queue_work()
43 poller->poll(poller->input); in input_dev_poller_work()
49 if (!poller->poll_interval) in input_dev_poller_finalize()
50 poller->poll_interval = 500; in input_dev_poller_finalize()
51 if (!poller->poll_interval_max) in input_dev_poller_finalize()
52 poller->poll_interval_max = poller->poll_interval; in input_dev_poller_finalize()
[all …]
/linux/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#
10 - Rob Herring <robh@kernel.org>
15 - gpio-keys
16 - gpio-keys-polled
23 poll-interval: true
26 …"^(button|event|key|switch|(button|event|key|switch)-[a-z0-9-]+|[a-z0-9-]+-(button|event|key|switc…
35 - items:
[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 …]
/linux/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 …]
/linux/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 …]
/linux/Documentation/devicetree/bindings/power/supply/
H A Dcharger-manager.yaml1 # 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 …]
H A Dbq24735.yaml1 # SPDX-License-Identifier: GPL-2.0
4 ---
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: 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/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 */
/linux/drivers/input/keyboard/
H A Dcharlieplex_keypad.c1 // SPDX-License-Identifier: GPL-2.0-only
39 const unsigned short *keycodes = input->keycode; in charlieplex_keypad_report_key()
41 if (keypad->current_code > 0) { in charlieplex_keypad_report_key()
42 input_event(input, EV_MSC, MSC_SCAN, keypad->current_code); in charlieplex_keypad_report_key()
43 input_report_key(input, keycodes[keypad->current_code], 0); in charlieplex_keypad_report_key()
47 if (keypad->debounce_code) { in charlieplex_keypad_report_key()
48 input_event(input, EV_MSC, MSC_SCAN, keypad->debounce_code); in charlieplex_keypad_report_key()
49 input_report_key(input, keycodes[keypad->debounce_code], 1); in charlieplex_keypad_report_key()
53 keypad->current_code = keypad->debounce_code; in charlieplex_keypad_report_key()
61 if (code != keypad->debounce_code) { in charlieplex_keypad_check_switch_change()
[all …]
/linux/tools/testing/selftests/damon/
H A Ddamos_apply_interval.py2 # SPDX-License-Identifier: GPL-2.0
23 nr_accesses=[5, 20], age=[2, 2**64 - 1]),
24 # aggregation interval (100 ms) is used
26 # use 10ms apply interval
30 nr_accesses=[5, 20], age=[2, 2**64 - 1]),
31 # explicitly set 10 ms apply interval
44 while proc.poll() == None:
56 # Because the second scheme was having the apply interval tha
[all...]
/linux/tools/perf/scripts/python/
H A Dparallel-perf.py2 # SPDX-License-Identifier: GPL-2.0
5 # options --cpu and --time so that each job processes a different chunk
20 glb_prog_name = "parallel-perf.py"
88 return [ f"Non-empty error file {self.stderr_name}" ]
97 return p.poll()
99 def Poll(self, wait=False): member in Work
116 return self.Poll(wait=True)
139 x = "0" * (10 - len(x)) + x
140 return x[:len(x) - 9] + "." + x[-9:]
150 max_len = len(str(cpus[-1]))
[all …]
/linux/Documentation/userspace-api/media/v4l/
H A Duser-func.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
4 .. _user-func:
14 func-close
15 func-ioctl
16 vidioc-create-bufs
17 vidioc-cropcap
18 vidioc-dbg-g-chip-info
19 vidioc-dbg-g-register
20 vidioc-decoder-cmd
21 vidioc-dqevent
[all …]
H A Dfunc-read.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
4 .. _func-read:
13 v4l2-read - Read from a V4L2 device
18 .. code-block:: c
52 :c:func:`poll()` functions can always be used to suspend
55 :c:func:`poll()`.
64 only the period of the vertical blanking interval is available for
101 :c:func:`read()` was interrupted by a signal. On error, -1 is
107 Non-blocking I/O has been selected using O_NONBLOCK and no data was
/linux/drivers/gpu/drm/amd/display/dc/dcn20/
H A Ddcn20_vmid.c32 vmid->regs->reg
35 vmid->ctx
39 vmid->shifts->field_name, vmid->masks->field_name
42 CTX->logger
46 /* According the hardware spec, we need to poll for the lowest in dcn20_wait_for_vmid_ready()
51 * TODO: Confirm timeout / poll interval with hardware team in dcn20_wait_for_vmid_ready()
79 VM_CONTEXT0_START_LOGICAL_PAGE_NUMBER_HI4, (config->page_table_start_addr >> 32) & 0xF); in dcn20_vmid_setup()
81 VM_CONTEXT0_START_LOGICAL_PAGE_NUMBER_LO32, config->page_table_start_addr & 0xFFFFFFFF); in dcn20_vmid_setup()
84 VM_CONTEXT0_END_LOGICAL_PAGE_NUMBER_HI4, (config->page_table_end_addr >> 32) & 0xF); in dcn20_vmid_setup()
86 VM_CONTEXT0_END_LOGICAL_PAGE_NUMBER_LO32, config->page_table_end_addr & 0xFFFFFFFF); in dcn20_vmid_setup()
[all …]
/linux/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 -
[all...]
/linux/Documentation/accounting/
H A Dpsi.rst4 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.
48 The "full" line indicates the share of time in which all non-idle
70 Users can register triggers and use poll() to be woken up when resource
80 used to wait for trigger events using select(), poll() or epoll().
92 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
116 Notifications to the userspace are rate-limited to one per tracking window.
[all …]
/linux/drivers/input/tests/
H A Dinput_test.c1 // SPDX-License-Identifier: GPL-2.0
23 input_dev->name = "Test input device"; in input_test_init()
24 input_dev->id.bustype = BUS_VIRTUAL; in input_test_init()
25 input_dev->id.vendor = 1; in input_test_init()
26 input_dev->id.product = 1; in input_test_init()
27 input_dev->id.version = 1; in input_test_init()
37 test->priv = input_dev; in input_test_init()
44 struct input_dev *input_dev = test->priv; in input_test_exit()
54 struct input_dev *input_dev = test->priv; in input_test_polling()
56 /* Must fail because a poll handler has not been set-up yet */ in input_test_polling()
[all …]
/linux/samples/bpf/
H A Dxdp_router_ipv4_user.c1 // SPDX-License-Identifier: GPL-2.0-only
18 #include <poll.h>
33 "Usage: xdp_router_ipv4 <IFNAME-0> ... <IFNAME-N>\n";
42 static int interval = 5; variable
51 { "skb-mode", no_argument, NULL, 'S' },
53 { "interval", required_argument, NULL, 'i' },
69 len = recv(sock, buf_ptr, sizeof(buf) - nll, 0); in recv_msg()
75 if (nh->nlmsg_type == NLMSG_DONE) in recv_msg()
119 rtm_family = rt_msg->rtm_family; in read_route()
121 if (rt_msg->rtm_table != RT_TABLE_MAIN) in read_route()
[all …]
/linux/drivers/hwmon/
H A Dsht4x.c1 // SPDX-License-Identifier: GPL-2.0-only
6 * sht4x.c - Linux hwmon driver for SHT4x Temperature and Humidity sensor
14 #include <linux/hwmon-sysfs.h>
20 * Poll intervals (in milliseconds)
48 #define SHT4X_MIN_TEMPERATURE -45000
56 * struct sht4x_data - All the data required to operate an SHT4X chip
63 * @update_interval: the minimum poll interval
72 u32 heater_power; /* in milli-watts */
73 u32 heater_time; /* in milli-seconds */
75 long update_interval; /* in milli-seconds */
[all …]
/linux/drivers/net/wireless/ti/wlcore/
H A Dconf.h1 /* SPDX-License-Identifier: GPL-2.0-only */
117 * Range: 0 - 0xFFFFFFFF
130 * after a PS-poll has been transmitted.
132 * Range: 0 - 200000
139 * Range: 0 - 200000
147 * Range: 0 - 4096
161 * Occupied Rx mem-blocks number which requires interrupting the host
177 * Max time in msec the FW may delay RX-Complete interrupt.
179 * Range: 1 - 100
273 * Range: bit 0: Truncate - when set, FW attempts to send a frame stop
[all …]
/linux/arch/arm64/boot/dts/amlogic/
H A Dmeson-gxl-s905d-mecool-kii-pro.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 /dts-v1/;
9 #include "meson-gxl-s905d.dtsi"
10 #include "meson-gx-p23x-q20x.dtsi"
11 #include <dt-bindings/input/input.h>
12 #include <dt-bindings/leds/common.h>
15 compatible = "videostrong,gxl-kii-pro", "amlogic,s905d", "amlogic,meson-gxl";
18 adc-keys {
19 compatible = "adc-keys";
20 io-channels = <&saradc 0>;
[all …]
H A Dmeson-gxm-wetek-core2.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include "meson-gxm.dtsi"
9 #include "meson-gx-p23x-q20x.dtsi"
10 #include <dt-bindings/input/input.h>
11 #include <dt-bindings/leds/common.h>
14 compatible = "wetek,core2", "amlogic,s912", "amlogic,meson-gxm";
23 compatible = "gpio-leds";
25 led-blue {
29 default-state = "on";
[all …]
/linux/arch/x86/platform/geode/
H A Dgeode-common.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Shared helpers to register GPIO-connected buttons and LEDs
16 #include "geode-common.h"
19 PROPERTY_ENTRY_U32("poll-interval", 20),
24 .name = "geode-gpio-keys",
34 PROPERTY_ENTRY_U32("debounce-interval", 100),
50 * Creates gpio-keys-polled device for the restart key.
53 * because it registers gpiochip software node used by both gpio-keys and
54 * leds-gpio devices.
59 .name = "gpio-keys-polled", in geode_create_restart_key()
[all …]

12345678910>>...12