/kernel/linux/linux-4.19/Documentation/media/uapi/v4l/ |
D | func-poll.rst | 3 .. _func-poll: 6 V4L2 poll() 12 v4l2-poll - Wait for some event on a file descriptor 20 #include <sys/poll.h> 23 .. c:function:: int poll( struct pollfd *ufds, unsigned int nfds, int timeout ) 24 :name: v4l2-poll 34 With the :ref:`poll() <func-poll>` function applications can suspend execution 47 On success :ref:`poll() <func-poll>` returns the number of file descriptors 55 :ref:`VIDIOC_STREAMON <VIDIOC_STREAMON>` the :ref:`poll() <func-poll>` 60 :ref:`poll() <func-poll>` function succeeds and sets the ``POLLERR`` flag in [all …]
|
/kernel/linux/linux-4.19/drivers/tty/vt/ |
D | vc_screen.c | 93 struct vcs_poll_data *poll = in vcs_notifier() local 95 int currcons = poll->cons_num; in vcs_notifier() 107 poll->seen_last_update = false; in vcs_notifier() 108 wake_up_interruptible(&poll->waitq); in vcs_notifier() 109 kill_fasync(&poll->fasync, SIGIO, POLL_IN); in vcs_notifier() 114 vcs_poll_data_free(struct vcs_poll_data *poll) in vcs_poll_data_free() argument 116 unregister_vt_notifier(&poll->notifier); in vcs_poll_data_free() 117 kfree(poll); in vcs_poll_data_free() 123 struct vcs_poll_data *poll = file->private_data, *kill = NULL; in vcs_poll_data_get() local 125 if (poll) in vcs_poll_data_get() [all …]
|
/kernel/linux/linux-5.10/drivers/tty/vt/ |
D | vc_screen.c | 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 130 if (poll) in vcs_poll_data_get() [all …]
|
/kernel/linux/linux-4.19/Documentation/media/uapi/cec/ |
D | cec-func-poll.rst | 3 .. _cec-func-poll: 6 cec poll() 12 cec-poll - Wait for some event on a file descriptor 20 #include <sys/poll.h> 23 .. c:function:: int poll( struct pollfd *ufds, unsigned int nfds, int timeout ) 24 :name: cec-poll 42 With the :c:func:`poll() <cec-poll>` function applications can wait for CEC 45 On success :c:func:`poll() <cec-poll>` returns the number of file descriptors 56 For more details see the :c:func:`poll() <cec-poll>` manual page. 62 On success, :c:func:`poll() <cec-poll>` returns the number structures which have
|
/kernel/linux/linux-4.19/arch/um/os-Linux/ |
D | sigio.c | 38 struct pollfd *poll; member 61 n = poll(fds->poll, fds->used, -1); in write_sigio_thread() 69 p = &fds->poll[i]; in write_sigio_thread() 88 memmove(&fds->poll[i], &fds->poll[i + 1], in write_sigio_thread() 89 (fds->used - i) * sizeof(*fds->poll)); in write_sigio_thread() 117 memcpy(new, polls->poll, polls->used * sizeof(struct pollfd)); in need_poll() 118 kfree(polls->poll); in need_poll() 120 polls->poll = new; in need_poll() 174 if (all_sigio_fds.poll[i].fd == fd) in add_sigio_fd() 180 p = &all_sigio_fds.poll[i]; in add_sigio_fd() [all …]
|
/kernel/linux/linux-5.10/arch/um/os-Linux/ |
D | sigio.c | 38 struct pollfd *poll; member 61 n = poll(fds->poll, fds->used, -1); in write_sigio_thread() 69 p = &fds->poll[i]; in write_sigio_thread() 88 memmove(&fds->poll[i], &fds->poll[i + 1], in write_sigio_thread() 89 (fds->used - i) * sizeof(*fds->poll)); in write_sigio_thread() 117 memcpy(new, polls->poll, polls->used * sizeof(struct pollfd)); in need_poll() 118 kfree(polls->poll); in need_poll() 120 polls->poll = new; in need_poll() 174 if (all_sigio_fds.poll[i].fd == fd) in add_sigio_fd() 180 p = &all_sigio_fds.poll[i]; in add_sigio_fd() [all …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/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
|
/kernel/linux/linux-5.10/drivers/iio/common/hid-sensors/ |
D | hid-sensor-attributes.c | 165 st->poll.report_id, in hid_sensor_read_poll_value() 166 st->poll.index, sizeof(value), &value); in hid_sensor_read_poll_value() 171 if (st->poll.units == HID_USAGE_SENSOR_UNITS_SECOND) in hid_sensor_read_poll_value() 186 st->poll.report_id, in hid_sensor_read_samp_freq_value() 187 st->poll.index, sizeof(value), &value); in hid_sensor_read_samp_freq_value() 192 if (st->poll.units == HID_USAGE_SENSOR_UNITS_MILLISECOND) in hid_sensor_read_samp_freq_value() 194 else if (st->poll.units == HID_USAGE_SENSOR_UNITS_SECOND) in hid_sensor_read_samp_freq_value() 217 if (st->poll.units == HID_USAGE_SENSOR_UNITS_MILLISECOND) in hid_sensor_write_samp_freq_value() 219 else if (st->poll.units == HID_USAGE_SENSOR_UNITS_SECOND) in hid_sensor_write_samp_freq_value() 224 ret = sensor_hub_set_feature(st->hsdev, st->poll.report_id, in hid_sensor_write_samp_freq_value() [all …]
|
/kernel/linux/linux-4.19/drivers/iio/common/hid-sensors/ |
D | hid-sensor-attributes.c | 177 st->poll.report_id, in hid_sensor_read_poll_value() 178 st->poll.index, sizeof(value), &value); in hid_sensor_read_poll_value() 183 if (st->poll.units == HID_USAGE_SENSOR_UNITS_SECOND) in hid_sensor_read_poll_value() 198 st->poll.report_id, in hid_sensor_read_samp_freq_value() 199 st->poll.index, sizeof(value), &value); in hid_sensor_read_samp_freq_value() 204 if (st->poll.units == HID_USAGE_SENSOR_UNITS_MILLISECOND) in hid_sensor_read_samp_freq_value() 206 else if (st->poll.units == HID_USAGE_SENSOR_UNITS_SECOND) in hid_sensor_read_samp_freq_value() 229 if (st->poll.units == HID_USAGE_SENSOR_UNITS_MILLISECOND) in hid_sensor_write_samp_freq_value() 231 else if (st->poll.units == HID_USAGE_SENSOR_UNITS_SECOND) in hid_sensor_write_samp_freq_value() 236 ret = sensor_hub_set_feature(st->hsdev, st->poll.report_id, in hid_sensor_write_samp_freq_value() [all …]
|
/kernel/linux/linux-5.10/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
|
/kernel/linux/linux-5.10/include/trace/events/ |
D | scmi.h | 12 bool poll), 13 TP_ARGS(transfer_id, msg_id, protocol_id, seq, poll), 20 __field(bool, poll) 28 __entry->poll = poll; 33 __entry->seq, __entry->poll)
|
/kernel/linux/linux-5.10/arch/arm/boot/dts/ |
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>;
|
/kernel/linux/linux-4.19/arch/arm/boot/dts/ |
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>;
|
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/serial/ |
D | pl011.txt | 30 - auto-poll: 32 - poll-rate-ms: 33 Rate at which poll occurs when auto-poll is set, 35 - poll-timeout-ms: 36 Poll timeout when auto-poll is set, default
|
/kernel/linux/linux-4.19/drivers/input/misc/ |
D | wm831x-on.c | 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()
|
/kernel/linux/linux-5.10/drivers/input/misc/ |
D | wm831x-on.c | 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()
|
/kernel/linux/linux-4.19/drivers/dma-buf/ |
D | dma-buf.c | 154 spin_lock_irqsave(&dcb->poll->lock, flags); in dma_buf_poll_cb() 155 wake_up_locked_poll(dcb->poll, dcb->active); in dma_buf_poll_cb() 157 spin_unlock_irqrestore(&dcb->poll->lock, flags); in dma_buf_poll_cb() 160 static __poll_t dma_buf_poll(struct file *file, poll_table *poll) in dma_buf_poll() argument 175 poll_wait(file, &dmabuf->poll, poll); in dma_buf_poll() 177 events = poll_requested_events(poll) & (EPOLLIN | EPOLLOUT); in dma_buf_poll() 203 spin_lock_irq(&dmabuf->poll.lock); in dma_buf_poll() 209 spin_unlock_irq(&dmabuf->poll.lock); in dma_buf_poll() 236 spin_lock_irq(&dmabuf->poll.lock); in dma_buf_poll() 241 spin_unlock_irq(&dmabuf->poll.lock); in dma_buf_poll() [all …]
|
/kernel/linux/linux-5.10/kernel/ |
D | utsname_sysctl.c | 63 proc_sys_poll_notify(table->poll); in proc_do_uts_string() 103 .poll = &hostname_poll, 111 .poll = &domainname_poll, 134 proc_sys_poll_notify(table->poll); in uts_proc_notify()
|
/kernel/linux/linux-4.19/kernel/ |
D | utsname_sysctl.c | 67 proc_sys_poll_notify(table->poll); in proc_do_uts_string() 107 .poll = &hostname_poll, 115 .poll = &domainname_poll, 138 proc_sys_poll_notify(table->poll); in uts_proc_notify()
|
/kernel/linux/linux-5.10/drivers/input/ |
D | input-poller.c | 16 void (*poll)(struct input_dev *dev); member 42 poller->poll(poller->input); in input_dev_poller_work() 58 poller->poll(poller->input); in input_dev_poller_start() 87 poller->poll = poll_fn; in input_setup_polling() 180 static DEVICE_ATTR(poll, 0644,
|
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/nx-gzip/ |
D | gzip_vas.c | 137 long poll = 0; in nx_wait_for_csb() local 153 ++poll; in nx_wait_for_csb() 167 if (poll > CSB_MAX_POLL) in nx_wait_for_csb() 186 (int) poll); in nx_wait_for_csb() 188 (int) poll); in nx_wait_for_csb()
|
/kernel/linux/linux-5.10/drivers/vhost/ |
D | vhost.c | 157 struct vhost_poll *poll; in vhost_poll_func() local 159 poll = container_of(pt, struct vhost_poll, table); in vhost_poll_func() 160 poll->wqh = wqh; in vhost_poll_func() 161 add_wait_queue(wqh, &poll->wait); in vhost_poll_func() 167 struct vhost_poll *poll = container_of(wait, struct vhost_poll, wait); in vhost_poll_wakeup() local 168 struct vhost_work *work = &poll->work; in vhost_poll_wakeup() 170 if (!(key_to_poll(key) & poll->mask)) in vhost_poll_wakeup() 173 if (!poll->dev->use_worker) in vhost_poll_wakeup() 176 vhost_poll_queue(poll); in vhost_poll_wakeup() 189 void vhost_poll_init(struct vhost_poll *poll, vhost_work_fn_t fn, in vhost_poll_init() argument [all …]
|
D | vhost.h | 43 void vhost_poll_init(struct vhost_poll *poll, vhost_work_fn_t fn, 45 int vhost_poll_start(struct vhost_poll *poll, struct file *file); 46 void vhost_poll_stop(struct vhost_poll *poll); 47 void vhost_poll_flush(struct vhost_poll *poll); 48 void vhost_poll_queue(struct vhost_poll *poll); 85 struct vhost_poll poll; member
|
/kernel/linux/linux-4.19/drivers/vhost/ |
D | vhost.h | 41 void vhost_poll_init(struct vhost_poll *poll, vhost_work_fn_t fn, 43 int vhost_poll_start(struct vhost_poll *poll, struct file *file); 44 void vhost_poll_stop(struct vhost_poll *poll); 45 void vhost_poll_flush(struct vhost_poll *poll); 46 void vhost_poll_queue(struct vhost_poll *poll); 99 struct vhost_poll poll; member
|