/linux-6.14.4/tools/testing/selftests/ftrace/test.d/trigger/ |
D | trigger-hist-poll.tc | 3 # description: event trigger - test poll wait on histogram 7 POLL=${FTRACETEST_ROOT}/poll 9 if [ ! -x ${POLL} ]; then 10 echo "poll program is not compiled!" 16 # Check poll ops is supported. Before implementing poll on hist file, it 21 ${POLL} -I -t 1000 ${EVENT}/hist 25 echo "poll on hist file is not supported" 37 # if timeout happens, poll returns 1. 38 ${POLL} -I -t 4000 ${EVENT}/hist 42 echo "poll exits too soon" [all …]
|
/linux-6.14.4/io_uring/ |
D | poll.c | 8 #include <linux/poll.h> 22 #include "poll.h" 40 /* output value, set only if arm poll returns >0 */ 92 * arming poll and wakeups. 108 /* pure poll stashes this in ->async_data, poll driven retry elsewhere */ in io_poll_get_double() 118 return &req->apoll->poll; in io_poll_get_single() 131 static void io_init_poll_iocb(struct io_poll *poll, __poll_t events) in io_init_poll_iocb() argument 133 poll->head = NULL; in io_init_poll_iocb() 136 poll->events = events | IO_POLL_UNMASK; in io_init_poll_iocb() 137 INIT_LIST_HEAD(&poll->wait.entry); in io_init_poll_iocb() [all …]
|
/linux-6.14.4/Documentation/userspace-api/media/v4l/ |
D | func-poll.rst | 4 .. _func-poll: 7 V4L2 poll() 13 v4l2-poll - Wait for some event on a file descriptor 20 #include <sys/poll.h> 22 .. c:function:: int poll( struct pollfd *ufds, unsigned int nfds, int timeout ) 31 With the :c:func:`poll()` function applications can suspend execution 44 On success :c:func:`poll()` returns the number of file descriptors 52 :ref:`VIDIOC_STREAMON <VIDIOC_STREAMON>` the :c:func:`poll()` 57 :c:func:`poll()` function succeeds and sets the ``POLLERR`` flag in 59 :c:func:`poll()` to succeed as well, but it sets the ``POLLOUT`` and [all …]
|
/linux-6.14.4/drivers/tty/vt/ |
D | vc_screen.c | 44 #include <linux/poll.h> 89 struct vcs_poll_data *poll = in vcs_notifier() local 91 int currcons = poll->cons_num; in vcs_notifier() 112 poll->event = code; in vcs_notifier() 113 wake_up_interruptible(&poll->waitq); in vcs_notifier() 114 kill_fasync(&poll->fasync, SIGIO, fa_band); in vcs_notifier() 119 vcs_poll_data_free(struct vcs_poll_data *poll) in vcs_poll_data_free() argument 121 unregister_vt_notifier(&poll->notifier); in vcs_poll_data_free() 122 kfree(poll); in vcs_poll_data_free() 128 struct vcs_poll_data *poll = file->private_data, *kill = NULL; in vcs_poll_data_get() local [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/serial/ |
D | pl011.yaml | 78 auto-poll: 83 poll-rate-ms: 85 Rate at which poll occurs when auto-poll is set. 89 poll-timeout-ms: 91 Poll timeout when auto-poll is set, default 110 poll-rate-ms: [ auto-poll ] 111 poll-timeout-ms: [ auto-poll ]
|
/linux-6.14.4/Documentation/userspace-api/media/mediactl/ |
D | request-func-poll.rst | 4 .. _request-func-poll: 7 request poll() 13 request-poll - Wait for some event on a file descriptor 20 #include <sys/poll.h> 22 .. c:function:: int poll( struct pollfd *ufds, unsigned int nfds, int timeout ) 39 With the :c:func:`poll()` function applications can wait 42 On success :c:func:`poll()` returns the number of file 50 Attempting to poll for a request that is not yet queued will 56 On success, :c:func:`poll()` returns the number of
|
/linux-6.14.4/arch/um/os-Linux/ |
D | sigio.c | 9 #include <poll.h> 38 struct pollfd *poll; member 62 n = poll(fds->poll, fds->used, -1); in write_sigio_thread() 66 printk(UM_KERN_ERR "write_sigio_thread : poll returned " in write_sigio_thread() 70 p = &fds->poll[i]; in write_sigio_thread() 89 memmove(&fds->poll[i], &fds->poll[i + 1], in write_sigio_thread() 90 (fds->used - i) * sizeof(*fds->poll)); in write_sigio_thread() 118 memcpy(new, polls->poll, polls->used * sizeof(struct pollfd)); in need_poll() 119 kfree(polls->poll); in need_poll() 121 polls->poll = new; in need_poll() [all …]
|
/linux-6.14.4/include/trace/events/ |
D | scmi.h | 39 bool poll), 40 TP_ARGS(transfer_id, msg_id, protocol_id, seq, poll), 47 __field(bool, poll) 55 __entry->poll = poll; 58 TP_printk("pt=%02X msg_id=%02X seq=%04X transfer_id=%X poll=%u", 60 __entry->transfer_id, __entry->poll) 65 u32 timeout, bool poll), 66 TP_ARGS(transfer_id, msg_id, protocol_id, seq, timeout, poll), 74 __field(bool, poll) 83 __entry->poll = poll; [all …]
|
/linux-6.14.4/Documentation/userspace-api/media/cec/ |
D | cec-func-poll.rst | 4 .. _cec-func-poll: 7 cec poll() 13 cec-poll - Wait for some event on a file descriptor 20 #include <sys/poll.h> 22 .. c:function:: int poll( struct pollfd *ufds, unsigned int nfds, int timeout ) 39 With the :c:func:`poll()` function applications can wait for CEC 42 On success :c:func:`poll()` returns the number of file descriptors 53 For more details see the :c:func:`poll()` manual page. 58 On success, :c:func:`poll()` returns the number structures which have
|
/linux-6.14.4/include/linux/ |
D | poll.h | 12 #include <uapi/linux/poll.h> 29 * structures and helpers for f_op->poll implementations 57 * Return the set of events that the application wants to poll for. 59 * to be started implicitly on poll(). You typically only want to do that 75 return file->f_op->poll; in file_can_poll() 80 if (unlikely(!file->f_op->poll)) in vfs_poll() 82 return file->f_op->poll(file, pt); in vfs_poll() 93 * Structures and helpers for select/poll syscall 123 #define M(X) __MAP(v, (__force __u16)EPOLL##X, POLL##X) in mangle_poll() 132 #define M(X) (__force __poll_t)__MAP(val, POLL##X, (__force __u16)EPOLL##X) in demangle_poll()
|
D | iopoll.h | 17 * read_poll_timeout - Periodically poll an address until a condition is 27 * @args: arguments for @op poll 62 * read_poll_timeout_atomic - Periodically poll an address until a condition is 72 * @args: arguments for @op poll 117 * readx_poll_timeout - Periodically poll an address until a condition is met or a timeout occurs 119 * @addr: Address to poll 138 …* readx_poll_timeout_atomic - Periodically poll an address until a condition is met or a timeout o… 140 * @addr: Address to poll
|
/linux-6.14.4/Documentation/networking/ |
D | napi.rst | 16 interrupts first (:ref:`busy polling<poll>`). 29 and the associated poll method. struct napi_struct holds the state 45 A disabled NAPI can't be scheduled and its poll method is guaranteed 57 napi_schedule() is the basic method of scheduling a NAPI poll. 62 Later, after NAPI is scheduled, the driver's poll method will be 69 packets driver can process in a single poll. Rx specific APIs like page 79 The poll method returns the amount of work done. If the driver still 81 the poll method should return exactly ``budget``. In that case, 86 processed) the poll method should call napi_complete_done() 104 of calls. The poll method may be called without the driver scheduling [all …]
|
/linux-6.14.4/tools/testing/selftests/ftrace/ |
D | poll.c | 3 * Simple poll on a file. 10 #include <poll.h> 20 * poll [-I|-P] [-t timeout] FILE 58 /* Reset poll by read if POLLIN is specified. */ in main() 62 ret = poll(&pfd, 1, timeout); in main() 64 perror("poll"); in main()
|
/linux-6.14.4/drivers/iio/common/hid-sensors/ |
D | hid-sensor-attributes.c | 160 st->poll.report_id, in hid_sensor_read_poll_value() 161 st->poll.index, sizeof(value), &value); in hid_sensor_read_poll_value() 166 if (st->poll.units == HID_USAGE_SENSOR_UNITS_SECOND) in hid_sensor_read_poll_value() 181 st->poll.report_id, in hid_sensor_read_samp_freq_value() 182 st->poll.index, sizeof(value), &value); in hid_sensor_read_samp_freq_value() 187 if (st->poll.units == HID_USAGE_SENSOR_UNITS_MILLISECOND) in hid_sensor_read_samp_freq_value() 189 else if (st->poll.units == HID_USAGE_SENSOR_UNITS_SECOND) in hid_sensor_read_samp_freq_value() 212 if (st->poll.units == HID_USAGE_SENSOR_UNITS_MILLISECOND) in hid_sensor_write_samp_freq_value() 214 else if (st->poll.units == HID_USAGE_SENSOR_UNITS_SECOND) in hid_sensor_write_samp_freq_value() 219 ret = sensor_hub_set_feature(st->hsdev, st->poll.report_id, in hid_sensor_write_samp_freq_value() [all …]
|
/linux-6.14.4/tools/testing/selftests/pidfd/ |
D | pidfd_poll_test.c | 6 #include <poll.h> 44 ksft_print_msg("running pidfd poll test for %d iterations\n", in main() 86 nevents = poll(&fds, 1, -1); in main() 90 ksft_exit_fail_msg("%s - poll failed\n", in main() 94 ksft_exit_fail_msg("unexpected poll result: %d\n", in main() 114 ksft_test_result_pass("pidfd poll test: pass\n"); in main()
|
/linux-6.14.4/arch/arm/boot/dts/microchip/ |
D | at91-natte.dtsi | 74 poll-interval = <20000>; 90 poll-interval = <20000>; 106 poll-interval = <20000>; 122 poll-interval = <20000>; 138 poll-interval = <20000>; 154 poll-interval = <20000>; 170 poll-interval = <20000>; 186 poll-interval = <20000>;
|
/linux-6.14.4/drivers/staging/gpib/include/ |
D | gpib_types.h | 113 /* configure parallel poll */ 115 /* conduct parallel poll */ 119 /* select local parallel poll configuration mode PP2 versus remote PP1 */ 140 /* Sets the byte the board should send in response to a serial poll. 148 * This method should implement the serial poll response method described 153 /* Sets the byte the board should send in response to a serial poll. 161 * This method implements the serial poll response method described 169 /* returns the byte the board will send in response to a serial poll. 276 /* board's parallel poll configuration byte */ 299 /* one means local parallel poll mode ieee 488.1 PP2 (or no parallel poll PP0), [all …]
|
D | nec7210_registers.h | 28 SPMR, // serial poll mode 43 SPSR, // serial poll status 101 // SPSR, serial poll status register 106 // SPMR, serial poll mode register 184 // parallel poll register 193 AUX_CPPF = 0x1, /* Clear Parallel Poll Flag */ 200 AUX_SPPF = 0x9, /* Set Parallel Poll Flag */ 212 AUX_EPP = 0x1d, /* Execute Parallel Poll */
|
/linux-6.14.4/lib/ |
D | stmp_device.c | 22 * Clear the bit and poll it cleared. This is usually called with 43 /* clear and poll SFTRST */ in stmp_reset_block() 55 /* poll CLKGATE becoming set */ in stmp_reset_block() 61 /* clear and poll SFTRST */ in stmp_reset_block() 66 /* clear and poll CLKGATE */ in stmp_reset_block()
|
D | irq_poll.c | 3 * Functions related to interrupt-poll handling in the block layer. This 24 * Add this irq_poll structure to the pending poll list and trigger the 102 * entries to the tail of this list, and only ->poll() in irq_poll_softirq() 110 work = iop->poll(iop, weight); in irq_poll_softirq() 184 iop->poll = poll_fn; in irq_poll_init() 192 * set the POLL softirq bit. The local_bh_disable()/enable() pair in irq_poll_cpu_dead() 194 * reach idle with the POLL softirq pending. in irq_poll_cpu_dead()
|
/linux-6.14.4/drivers/cpuidle/governors/ |
D | haltpoll.c | 39 /* allow shrinking guest halt poll */ 63 /* Last state was poll? */ in haltpoll_select() 65 /* Halt if no event occurred on poll window */ in haltpoll_select() 70 /* Otherwise, poll again */ in haltpoll_select() 75 /* Last state was halt: poll */ in haltpoll_select() 116 * haltpoll_reflect - update variables and update poll time
|
/linux-6.14.4/drivers/input/misc/ |
D | wm831x-on.c | 38 * then need to poll to see when the pin is deasserted. 45 int poll, ret; in wm831x_poll_on() local 49 poll = !(ret & WM831X_ON_PIN_STS); in wm831x_poll_on() 51 input_report_key(wm831x_on->dev, KEY_POWER, poll); in wm831x_poll_on() 55 poll = 1; in wm831x_poll_on() 58 if (poll) in wm831x_poll_on()
|
/linux-6.14.4/tools/leds/ |
D | led_hw_brightness_mon.c | 17 #include <poll.h> 50 * but it is required to avoid spurious poll notifications in in main() 59 ret = poll(&pollfd, 1, -1); in main() 61 printf("Failed to poll %s file (%d)\n", in main()
|
/linux-6.14.4/tools/testing/selftests/cgroup/ |
D | wait_inotify.c | 13 #include <poll.h> 62 * poll waiting loop in main() 65 int ret = poll(&fds, 1, 10000); in main() 70 perror("poll"); in main()
|
/linux-6.14.4/Documentation/devicetree/bindings/input/ |
D | clps711x-keypad.txt | 6 - poll-interval: Poll interval time in milliseconds. 17 poll-interval = <120>;
|