Home
last modified time | relevance | path

Searched refs:poll (Results 1 – 200 of 723) sorted by relevance

1234

/linux-4.4.14/drivers/tty/vt/
Dvc_screen.c66 struct vcs_poll_data *poll = in vcs_notifier() local
68 int currcons = poll->cons_num; in vcs_notifier()
80 poll->seen_last_update = false; in vcs_notifier()
81 wake_up_interruptible(&poll->waitq); in vcs_notifier()
82 kill_fasync(&poll->fasync, SIGIO, POLL_IN); in vcs_notifier()
87 vcs_poll_data_free(struct vcs_poll_data *poll) in vcs_poll_data_free() argument
89 unregister_vt_notifier(&poll->notifier); in vcs_poll_data_free()
90 kfree(poll); in vcs_poll_data_free()
96 struct vcs_poll_data *poll = file->private_data, *kill = NULL; in vcs_poll_data_get() local
98 if (poll) in vcs_poll_data_get()
[all …]
/linux-4.4.14/arch/um/os-Linux/
Dsigio.c38 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 …]
Dirq.c28 n = poll(pollfds, pollfds_num, 0); in os_waiting_for_events()
/linux-4.4.14/drivers/iio/common/hid-sensors/
Dhid-sensor-attributes.c156 st->poll.report_id, in hid_sensor_read_poll_value()
157 st->poll.index, sizeof(value), &value); in hid_sensor_read_poll_value()
162 if (st->poll.units == HID_USAGE_SENSOR_UNITS_SECOND) in hid_sensor_read_poll_value()
177 st->poll.report_id, in hid_sensor_read_samp_freq_value()
178 st->poll.index, sizeof(value), &value); in hid_sensor_read_samp_freq_value()
183 if (st->poll.units == HID_USAGE_SENSOR_UNITS_MILLISECOND) in hid_sensor_read_samp_freq_value()
185 else if (st->poll.units == HID_USAGE_SENSOR_UNITS_SECOND) in hid_sensor_read_samp_freq_value()
208 if (st->poll.units == HID_USAGE_SENSOR_UNITS_MILLISECOND) in hid_sensor_write_samp_freq_value()
210 else if (st->poll.units == HID_USAGE_SENSOR_UNITS_SECOND) in hid_sensor_write_samp_freq_value()
215 ret = sensor_hub_set_feature(st->hsdev, st->poll.report_id, in hid_sensor_write_samp_freq_value()
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/serial/
Dpl011.txt30 - 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
/linux-4.4.14/drivers/input/misc/
Dwm831x-on.c45 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()
Dda9063_onkey.c99 bool poll = true; in da9063_poll_on() local
126 poll = false; in da9063_poll_on()
164 if (poll) in da9063_poll_on()
Drb532_button.c64 poll_dev->poll = rb532_button_poll; in rb532_button_probe()
Dsgi_btns.c110 poll_dev->poll = handle_buttons; in sgi_buttons_probe()
Dcobalt_btns.c93 poll_dev->poll = handle_buttons; in cobalt_buttons_probe()
Dmma8450.c191 idev->poll = mma8450_poll; in mma8450_probe()
Dgpio_tilt_polled.c132 poll_dev->poll = gpio_tilt_polled_poll; in gpio_tilt_polled_probe()
/linux-4.4.14/drivers/dma-buf/
Ddma-buf.c129 spin_lock_irqsave(&dcb->poll->lock, flags); in dma_buf_poll_cb()
130 wake_up_locked_poll(dcb->poll, dcb->active); in dma_buf_poll_cb()
132 spin_unlock_irqrestore(&dcb->poll->lock, flags); in dma_buf_poll_cb()
135 static unsigned int dma_buf_poll(struct file *file, poll_table *poll) in dma_buf_poll() argument
150 poll_wait(file, &dmabuf->poll, poll); in dma_buf_poll()
152 events = poll_requested_events(poll) & (POLLIN | POLLOUT); in dma_buf_poll()
178 spin_lock_irq(&dmabuf->poll.lock); in dma_buf_poll()
184 spin_unlock_irq(&dmabuf->poll.lock); in dma_buf_poll()
211 spin_lock_irq(&dmabuf->poll.lock); in dma_buf_poll()
216 spin_unlock_irq(&dmabuf->poll.lock); in dma_buf_poll()
[all …]
/linux-4.4.14/drivers/vhost/
Dvhost.c119 struct vhost_poll *poll; in vhost_poll_func() local
121 poll = container_of(pt, struct vhost_poll, table); in vhost_poll_func()
122 poll->wqh = wqh; in vhost_poll_func()
123 add_wait_queue(wqh, &poll->wait); in vhost_poll_func()
129 struct vhost_poll *poll = container_of(wait, struct vhost_poll, wait); in vhost_poll_wakeup() local
131 if (!((unsigned long)key & poll->mask)) in vhost_poll_wakeup()
134 vhost_poll_queue(poll); in vhost_poll_wakeup()
149 void vhost_poll_init(struct vhost_poll *poll, vhost_work_fn_t fn, in vhost_poll_init() argument
152 init_waitqueue_func_entry(&poll->wait, vhost_poll_wakeup); in vhost_poll_init()
153 init_poll_funcptr(&poll->table, vhost_poll_func); in vhost_poll_init()
[all …]
Dvhost.h41 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);
72 struct vhost_poll poll; member
Dnet.c103 struct vhost_poll poll[VHOST_NET_VQ_MAX]; member
285 vhost_poll_queue(&vq->poll); in vhost_zerocopy_callback()
412 vhost_poll_queue(&vq->poll); in handle_tx()
635 vhost_poll_queue(&vq->poll); in handle_rx()
646 poll.work); in handle_tx_kick()
655 poll.work); in handle_rx_kick()
664 poll[VHOST_NET_VQ_TX].work); in handle_tx_net()
671 poll[VHOST_NET_VQ_RX].work); in handle_rx_net()
709 vhost_poll_init(n->poll + VHOST_NET_VQ_TX, handle_tx_net, POLLOUT, dev); in vhost_net_open()
710 vhost_poll_init(n->poll + VHOST_NET_VQ_RX, handle_rx_net, POLLIN, dev); in vhost_net_open()
[all …]
Dtest.c85 vhost_poll_queue(&vq->poll); in handle_vq()
96 poll.work); in handle_vq_kick()
145 vhost_poll_flush(&n->vqs[index].poll); in vhost_test_flush_vq()
/linux-4.4.14/kernel/
Dutsname_sysctl.c58 proc_sys_poll_notify(table->poll); in proc_do_uts_string()
97 .poll = &hostname_poll,
105 .poll = &domainname_poll,
128 proc_sys_poll_notify(table->poll); in uts_proc_notify()
/linux-4.4.14/include/linux/
Dsysctl.h92 static inline void *proc_sys_poll_event(struct ctl_table_poll *poll) in proc_sys_poll_event() argument
94 return (void *)(unsigned long)atomic_read(&poll->event); in proc_sys_poll_event()
113 struct ctl_table_poll *poll; member
169 void proc_sys_poll_notify(struct ctl_table_poll *poll);
Ddma-buf.h140 wait_queue_head_t poll; member
144 wait_queue_head_t *poll; member
Dinput-polldev.h42 void (*poll)(struct input_polled_dev *dev); member
Dblk-iopoll.h13 blk_iopoll_fn *poll; member
Dadb.h36 void (*poll)(void); member
Dposix-clock.h93 uint (*poll) (struct posix_clock *pc, member
Dthread_info.h47 } poll; member
Drfkill.h62 void (*poll)(struct rfkill *rfkill, void *data); member
Dtty_ldisc.h201 unsigned int (*poll)(struct tty_struct *, struct file *, member
Dipmi_smi.h132 void (*poll)(void *send_info); member
Dhid-sensor-hub.h235 struct hid_sensor_hub_attribute_info poll; member
/linux-4.4.14/fs/
Dselect.c457 if (f_op->poll) { in do_select()
460 mask = (*f_op->poll)(f.file, wait); in do_select()
764 if (f.file->f_op->poll) { in do_pollfd()
767 mask = f.file->f_op->poll(f.file, pwait); in do_pollfd()
937 struct pollfd __user *ufds = restart_block->poll.ufds; in do_restart_poll()
938 int nfds = restart_block->poll.nfds; in do_restart_poll()
942 if (restart_block->poll.has_timeout) { in do_restart_poll()
943 end_time.tv_sec = restart_block->poll.tv_sec; in do_restart_poll()
944 end_time.tv_nsec = restart_block->poll.tv_nsec; in do_restart_poll()
957 SYSCALL_DEFINE3(poll, struct pollfd __user *, ufds, unsigned int, nfds, in SYSCALL_DEFINE3() argument
[all …]
Dproc_namespace.c26 poll_wait(file, &p->ns->poll, wait); in mounts_poll()
319 .poll = mounts_poll,
327 .poll = mounts_poll,
Dmount.h14 wait_queue_head_t poll; member
/linux-4.4.14/Documentation/devicetree/bindings/power_supply/
Dcharger-manager.txt20 - cm-poll-mode : polling mode (enum polling_modes)
21 - cm-poll-interval : polling interval
39 cm-poll-mode = <1>;
40 cm-poll-interval = <30000>;
Dsbs_sbs-battery.txt10 - sbs,poll-retry-count : The number of times to try looking for new status
21 sbs,poll-retry-count = <10>;
/linux-4.4.14/drivers/media/
Dmedia-devnode.c108 struct poll_table_struct *poll) in media_poll() argument
114 if (!mdev->fops->poll) in media_poll()
116 return mdev->fops->poll(filp, poll); in media_poll()
216 .poll = media_poll,
/linux-4.4.14/drivers/isdn/mISDN/
Ddsp_core.c169 static int poll; variable
175 module_param(poll, uint, S_IRUGO | S_IWUSR);
1131 dsp_poll = poll; in dsp_init()
1135 "maximum.\n", __func__, poll, MAX_POLL); in dsp_init()
1145 dsp_tics = poll * HZ / 8000; in dsp_init()
1146 if (dsp_tics * 8000 != poll * HZ) { in dsp_init()
1149 "%d HZ.\n", poll, HZ); in dsp_init()
1154 poll = 8; in dsp_init()
1155 while (poll <= MAX_POLL) { in dsp_init()
1156 tics = (poll * HZ) / 8000; in dsp_init()
[all …]
/linux-4.4.14/drivers/pci/hotplug/
Dcpcihp_zt5550.c61 static bool poll; variable
220 if (!poll) { in zt5550_hc_init_one()
327 module_param(poll, bool, 0644);
328 MODULE_PARM_DESC(poll, "#ENUM polling mode enabled or not");
/linux-4.4.14/Documentation/devicetree/bindings/input/
Dclps711x-keypad.txt6 - poll-interval: Poll interval time in milliseconds.
17 poll-interval = <120>;
Dgpio-keys-polled.txt5 - poll-interval: Poll interval time in milliseconds
39 poll-interval = <100>;
/linux-4.4.14/fs/proc/
Dinode.c226 unsigned int (*poll)(struct file *, struct poll_table_struct *); in proc_reg_poll() local
228 poll = pde->proc_fops->poll; in proc_reg_poll()
229 if (poll) in proc_reg_poll()
230 rv = poll(file, pts); in proc_reg_poll()
371 .poll = proc_reg_poll,
387 .poll = proc_reg_poll,
Dproc_sysctl.c44 void proc_sys_poll_notify(struct ctl_table_poll *poll) in proc_sys_poll_notify() argument
46 if (!poll) in proc_sys_poll_notify()
49 atomic_inc(&poll->event); in proc_sys_poll_notify()
50 wake_up_interruptible(&poll->wait); in proc_sys_poll_notify()
573 if (table->poll) in proc_sys_open()
574 filp->private_data = proc_sys_poll_event(table->poll); in proc_sys_open()
596 if (!table->poll) in proc_sys_poll()
600 poll_wait(filp, &table->poll->wait, wait); in proc_sys_poll()
602 if (event != atomic_read(&table->poll->event)) { in proc_sys_poll()
603 filp->private_data = proc_sys_poll_event(table->poll); in proc_sys_poll()
[all …]
Dkmsg.c53 .poll = kmsg_poll,
/linux-4.4.14/drivers/mfd/
Darizona-irq.c97 bool poll; in arizona_irq_thread() local
108 poll = false; in arizona_irq_thread()
134 poll = true; in arizona_irq_thread()
137 poll = true; in arizona_irq_thread()
139 } while (poll); in arizona_irq_thread()
Dtps65010.c322 u8 tmp = 0, mask, poll; in tps65010_interrupt() local
327 poll = 0; in tps65010_interrupt()
352 poll = 1; in tps65010_interrupt()
401 poll = 1; in tps65010_interrupt()
402 if (poll) in tps65010_interrupt()
/linux-4.4.14/drivers/staging/comedi/drivers/
Dpcl816.c455 unsigned int poll; in pcl816_ai_poll() local
460 poll = comedi_isadma_poll(dma); in pcl816_ai_poll()
461 poll = comedi_bytes_to_samples(s, poll); in pcl816_ai_poll()
462 if (poll > devpriv->ai_poll_ptr) { in pcl816_ai_poll()
466 poll - devpriv->ai_poll_ptr); in pcl816_ai_poll()
468 devpriv->ai_poll_ptr = poll; in pcl816_ai_poll()
641 s->poll = pcl816_ai_poll; in pcl816_attach()
Dpcl812.c863 unsigned int poll; in pcl812_ai_poll() local
872 poll = comedi_isadma_poll(dma); in pcl812_ai_poll()
873 poll = comedi_bytes_to_samples(s, poll); in pcl812_ai_poll()
874 if (poll > devpriv->ai_poll_ptr) { in pcl812_ai_poll()
878 poll - devpriv->ai_poll_ptr); in pcl812_ai_poll()
880 devpriv->ai_poll_ptr = poll; in pcl812_ai_poll()
1215 s->poll = pcl812_ai_poll; in pcl812_attach()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
Dbase.c95 bool poll = true; in nvkm_therm_update() local
109 poll = false; in nvkm_therm_update()
122 poll = false; in nvkm_therm_update()
130 poll = false; in nvkm_therm_update()
133 if (list_empty(&therm->alarm.head) && poll) in nvkm_therm_update()
/linux-4.4.14/Documentation/hwmon/
Dacpi_power_meter29 socket and a poll notification will be sent to the appropriate
39 the netlink event socket and a poll notification will be sent to the
46 well as sent as a poll notification to a sysfs file. The events are as
/linux-4.4.14/Documentation/gpio/
Dsysfs.txt77 description of "edge"), you can poll(2) on that file and
78 poll(2) will return whenever the interrupt was triggered. If
79 you use poll(2), set the events POLLPRI and POLLERR. If you
81 poll(2) returns, either lseek(2) to the beginning of the sysfs
87 that will make poll(2) on the "value" file return.
95 poll(2) support configuration via the edge attribute
/linux-4.4.14/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_minidump.c910 struct __pollrdmwr *poll = &entry->region.pollrdmwr; in qlcnic_read_pollrdmwr() local
913 poll_wait = poll->poll_wait; in qlcnic_read_pollrdmwr()
915 qlcnic_ind_wr(adapter, poll->addr1, poll->val1); in qlcnic_read_pollrdmwr()
919 data = qlcnic_ind_rd(adapter, poll->addr1); in qlcnic_read_pollrdmwr()
920 if ((data & poll->poll_mask) != 0) in qlcnic_read_pollrdmwr()
932 data = qlcnic_ind_rd(adapter, poll->addr2) & poll->mod_mask; in qlcnic_read_pollrdmwr()
933 qlcnic_ind_wr(adapter, poll->addr2, data); in qlcnic_read_pollrdmwr()
934 qlcnic_ind_wr(adapter, poll->addr1, poll->val2); in qlcnic_read_pollrdmwr()
938 temp = qlcnic_ind_rd(adapter, poll->addr1); in qlcnic_read_pollrdmwr()
939 if ((temp & poll->poll_mask) != 0) in qlcnic_read_pollrdmwr()
[all …]
Dqlcnic_83xx_init.c1839 struct qlc_83xx_poll *poll; in qlcnic_83xx_poll_list() local
1843 poll = (struct qlc_83xx_poll *)((char *)p_hdr + in qlcnic_83xx_poll_list()
1846 entry = (struct qlc_83xx_entry *)((char *)poll + in qlcnic_83xx_poll_list()
1853 delay, poll->mask, in qlcnic_83xx_poll_list()
1854 poll->status); in qlcnic_83xx_poll_list()
1862 poll->mask, in qlcnic_83xx_poll_list()
1863 poll->status)){ in qlcnic_83xx_poll_list()
1883 struct qlc_83xx_poll *poll; in qlcnic_83xx_poll_write_list() local
1885 poll = (struct qlc_83xx_poll *)((char *)p_hdr + in qlcnic_83xx_poll_write_list()
1887 entry = (struct qlc_83xx_quad_entry *)((char *)poll + in qlcnic_83xx_poll_write_list()
[all …]
/linux-4.4.14/Documentation/zh_CN/
Dbasic_profiling.txt49 在kernel启动命令行增加“idle=poll
57 说明APIC特性没有开启。另外注意idle=poll选项可能有损性能。
Dgpio.txt592 (见"edge"的描述),你可以对这个文件使用轮询操作(poll(2)),
593 且轮询操作会在任何中断触发时返回。如果你使用轮询操作(poll(2)),
596 轮询操作(poll(2))返回之后,既可以通过 lseek(2)操作读取
607 和 "falling" 沿触发模式的轮询操作(poll(2))将会遵循这个设置。
/linux-4.4.14/drivers/gpu/drm/
Ddrm_probe_helper.c59 module_param_named(poll, drm_kms_helper_poll, bool, 0600);
110 bool poll = false; in drm_kms_helper_poll_enable_locked() local
121 poll = true; in drm_kms_helper_poll_enable_locked()
124 if (poll) in drm_kms_helper_poll_enable_locked()
/linux-4.4.14/net/nfc/nci/
Dntf.c418 struct activation_params_poll_nfc_dep *poll; in nci_extract_activation_params_nfc_dep() local
424 poll = &ntf->activation_params.poll_nfc_dep; in nci_extract_activation_params_nfc_dep()
425 poll->atr_res_len = min_t(__u8, *data++, in nci_extract_activation_params_nfc_dep()
427 pr_debug("atr_res_len %d\n", poll->atr_res_len); in nci_extract_activation_params_nfc_dep()
428 if (poll->atr_res_len > 0) in nci_extract_activation_params_nfc_dep()
429 memcpy(poll->atr_res, data, poll->atr_res_len); in nci_extract_activation_params_nfc_dep()
/linux-4.4.14/block/
Dblk-iopoll.c109 work = iop->poll(iop, weight); in blk_iopoll_softirq()
184 iop->poll = poll_fn; in blk_iopoll_init()
/linux-4.4.14/drivers/scsi/qla4xxx/
Dql4_83xx.h264 uint32_t poll; member
281 uint32_t poll; member
294 uint32_t poll; member
Dql4_nx.c2646 uint32_t poll, mask, data_size, modify_mask; in qla4_84xx_minidump_process_rddfe() local
2659 poll = le32_to_cpu(rddfe->poll); in qla4_84xx_minidump_process_rddfe()
2670 while (wait_count < poll) { in qla4_84xx_minidump_process_rddfe()
2677 if (wait_count == poll) { in qla4_84xx_minidump_process_rddfe()
2691 while (wait_count < poll) { in qla4_84xx_minidump_process_rddfe()
2697 if (wait_count == poll) { in qla4_84xx_minidump_process_rddfe()
2708 while (wait_count < poll) { in qla4_84xx_minidump_process_rddfe()
2715 if (wait_count == poll) { in qla4_84xx_minidump_process_rddfe()
2743 uint32_t poll, mask; in qla4_84xx_minidump_process_rdmdio() local
2755 poll = le32_to_cpu(rdmdio->poll); in qla4_84xx_minidump_process_rdmdio()
[all …]
/linux-4.4.14/drivers/input/
Dinput-polldev.c41 dev->poll(dev); in input_polled_device_work()
54 dev->poll(dev); in input_open_polled_device()
115 static DEVICE_ATTR(poll, S_IRUGO | S_IWUSR, input_polldev_get_poll,
/linux-4.4.14/Documentation/networking/
Dnetlink_mmap.txt19 additionally as long as the ring contains messages no recvmsg() or poll()
46 Conversion of the reception path involves calling poll() on the file
59 stack and setting up the frame header appropriately. Optionally poll() can
157 for user-space. Approriate action is to invoke poll()
166 Appropriate action is to invoke poll() to wait for
254 if (poll(pfds, 1, -1) < 0 && errno != -EINTR)
261 /* If no new messages, poll again */
316 /* No frame available. Use poll() to avoid. */
Dnetdevices.txt100 napi->poll:
103 all NAPI instances which will do a sleeping poll on the
Dpacket_mmap.txt80 [capture] poll() ---------> to wait for incoming packets
122 [transmission] poll() ---------> wait for free packets (optional)
487 The user can use poll (any other variant should apply too) to check if new
497 retval = poll(&pfd, 1, timeout);
500 then poll for frames.
523 The user can also use poll() to check if a buffer is available:
530 retval = poll(&pfd, 1, timeout);
570 2. Read/poll is at a block-level (as opposed to packet-level)
571 3. Added poll timeout to avoid indefinite user-space wait
770 #include <poll.h>
[all …]
Dnfc.txt60 * start_poll - setup the device to poll for targets
87 The user must call START_POLL to poll for NFC targets, passing the desired NFC
/linux-4.4.14/drivers/staging/rtl8188eu/hal/
Drtl8188e_cmd.c568 u32 poll = 0; in rtl8188e_set_FwJoinBssReport_cmd() local
601 poll = 0; in rtl8188e_set_FwJoinBssReport_cmd()
611 poll++; in rtl8188e_set_FwJoinBssReport_cmd()
612 } while (!bcn_valid && (poll%10) != 0 && !adapt->bSurpriseRemoved && !adapt->bDriverStopped); in rtl8188e_set_FwJoinBssReport_cmd()
618 DBG_88E("%s: 1 Download RSVD page failed! DLBcnCount:%u, poll:%u\n", __func__, DLBcnCount, poll); in rtl8188e_set_FwJoinBssReport_cmd()
620 DBG_88E("%s: 1 Download RSVD success! DLBcnCount:%u, poll:%u\n", __func__, DLBcnCount, poll); in rtl8188e_set_FwJoinBssReport_cmd()
/linux-4.4.14/arch/sparc/kernel/
Dsparc_ksyms_32.c16 struct poll { struct
Dsparc_ksyms_64.c19 struct poll { struct
/linux-4.4.14/Documentation/
Dbasic_profiling.txt32 http://oprofile.sourceforge.net/ and add "idle=poll" to the kernel command
41 a 0Hz CPU, APIC was not on. Be aware that idle=poll may mean a performance
Dxillybus.txt29 -- The "nonempty" message (supporting poll)
133 * Supporting poll() and select().
233 poll() for this pipe.
367 The "nonempty" message (supporting poll)
370 In order to support the "poll" method (and hence select() ), there is a small
379 These messages are used only to support poll() and select(). The IP core can
/linux-4.4.14/Documentation/ABI/testing/
Dsysfs-platform-twl4030-usb8 Changes are notified via select/poll.
Dsysfs-tty9 The file supports poll() to detect virtual
18 The file supports poll() to detect virtual
/linux-4.4.14/Documentation/x86/x86_64/
Dmachinecheck38 How often to poll for corrected machine check errors, in seconds
40 finds MCEs it triggers an exponential speedup (poll more often) on
42 triggers an exponential backoff (poll less often) on the polling
/linux-4.4.14/drivers/misc/cxl/
Dapi.c239 unsigned int cxl_fd_poll(struct file *file, struct poll_table_struct *poll) in cxl_fd_poll() argument
241 return afu_poll(file, poll); in cxl_fd_poll()
273 PATCH_FOPS(poll); in cxl_get_fd()
Dfile.c291 unsigned int afu_poll(struct file *file, struct poll_table_struct *poll) in afu_poll() argument
298 poll_wait(file, &ctx->wq, poll); in afu_poll()
419 .poll = afu_poll,
430 .poll = afu_poll,
/linux-4.4.14/include/linux/platform_data/
Dmv_usb.h33 int (*poll)(void); member
/linux-4.4.14/drivers/usb/atm/
Dcxacru.c356 int poll = -1; in cxacru_sysfs_store_adsl_state() local
383 poll = CXPOLL_STOPPED; in cxacru_sysfs_store_adsl_state()
403 poll = CXPOLL_POLLING; in cxacru_sysfs_store_adsl_state()
409 poll = CXPOLL_POLLING; in cxacru_sysfs_store_adsl_state()
414 poll = -1; in cxacru_sysfs_store_adsl_state()
417 if (poll == CXPOLL_POLLING) { in cxacru_sysfs_store_adsl_state()
431 poll = -1; in cxacru_sysfs_store_adsl_state()
434 } else if (poll == CXPOLL_STOPPED) { in cxacru_sysfs_store_adsl_state()
444 if (poll == CXPOLL_POLLING) in cxacru_sysfs_store_adsl_state()
/linux-4.4.14/drivers/gpu/drm/tdfx/
Dtdfx_drv.c51 .poll = drm_poll,
/linux-4.4.14/include/media/
Dmedia-devnode.h47 unsigned int (*poll) (struct file *, struct poll_table_struct *); member
Dv4l2-dev.h67 unsigned int (*poll) (struct file *, struct poll_table_struct *); member
/linux-4.4.14/tools/perf/python/
Dtwatch.py40 evlist.poll(timeout = -1)
/linux-4.4.14/Documentation/i2c/
Dslave-eeprom-backend12 As of 2015, Linux doesn't support poll on binary sysfs files, so there is no
/linux-4.4.14/arch/blackfin/include/uapi/asm/
DKbuild11 header-y += poll.h
/linux-4.4.14/fs/kernfs/
Dfile.c38 wait_queue_head_t poll; member
573 init_waitqueue_head(&new_on->poll); in kernfs_get_open_node()
791 poll_wait(filp, &on->poll, wait); in kernfs_fop_poll()
827 wake_up_interruptible(&on->poll); in kernfs_notify_workfn()
892 .poll = kernfs_fop_poll,
/linux-4.4.14/net/irda/irnet/
Dirnet_ppp.h103 .poll = dev_irnet_poll,
/linux-4.4.14/fs/notify/inotify/
DKconfig10 descriptor, which is also select()- and poll()-able.
/linux-4.4.14/include/net/irda/
Dircomm_param.h135 __u8 poll; member
/linux-4.4.14/drivers/gpu/drm/i810/
Di810_drv.c51 .poll = drm_poll,
/linux-4.4.14/drivers/staging/octeon/
Docteon-ethernet.h48 void (*poll)(struct net_device *dev); member
Dethernet.c134 if (priv->poll) in cvm_oct_periodic_worker()
135 priv->poll(cvm_oct_device[priv->port]); in cvm_oct_periodic_worker()
514 priv->poll = link_poll; in cvm_oct_common_open()
Dethernet-mdio.c145 priv->poll = NULL; in cvm_oct_common_stop()
/linux-4.4.14/drivers/gpu/drm/savage/
Dsavage_drv.c44 .poll = drm_poll,
/linux-4.4.14/kernel/time/
Dposix-clock.c77 if (clk->ops.poll) in posix_clock_poll()
78 result = clk->ops.poll(clk, fp, wait); in posix_clock_poll()
198 .poll = posix_clock_poll,
/linux-4.4.14/drivers/scsi/qla2xxx/
Dqla_nx2.h444 uint32_t poll; member
461 uint32_t poll; member
474 uint32_t poll; member
Dqla_nx2.c2994 uint32_t poll, mask, modify_mask; in qla8044_minidump_process_rddfe() local
3008 poll = rddfe->poll; in qla8044_minidump_process_rddfe()
3018 while (wait_count < poll) { in qla8044_minidump_process_rddfe()
3025 if (wait_count == poll) { in qla8044_minidump_process_rddfe()
3039 while (wait_count < poll) { in qla8044_minidump_process_rddfe()
3045 if (wait_count == poll) { in qla8044_minidump_process_rddfe()
3054 while (wait_count < poll) { in qla8044_minidump_process_rddfe()
3061 if (wait_count == poll) { in qla8044_minidump_process_rddfe()
3164 uint32_t addr1, addr2, value1, value2, poll, r_value; in qla8044_minidump_process_pollwr() local
3174 poll = pollwr_hdr->poll; in qla8044_minidump_process_pollwr()
[all …]
/linux-4.4.14/tools/virtio/virtio-trace/
Dtrace-agent-ctl.c59 ret = poll(&poll_fd, 1, EVENT_WAIT_MSEC); in wait_order()
/linux-4.4.14/arch/xtensa/include/uapi/asm/
DKbuild11 header-y += poll.h
/linux-4.4.14/Documentation/power/
Dcharger-manager.txt122 : CM_POLL_DISABLE: do not poll this battery.
123 CM_POLL_ALWAYS: always poll this battery.
124 CM_POLL_EXTERNAL_POWER_ONLY: poll this battery if and only if
126 CM_POLL_CHARGING_ONLY: poll this battery if and only if the
146 : Required polling interval in ms. Charger Manager will poll
/linux-4.4.14/include/sound/
Dhwdep.h40 unsigned int (*poll)(struct snd_hwdep *hw, struct file *file, member
Dinfo.h65 unsigned int (*poll)(struct snd_info_entry *entry, member
/linux-4.4.14/drivers/gpu/drm/r128/
Dr128_drv.c50 .poll = drm_poll,
/linux-4.4.14/arch/h8300/include/uapi/asm/
DKbuild15 header-y += poll.h
/linux-4.4.14/net/rfkill/
Dcore.c786 if (!rfkill->ops->poll) in rfkill_pause_polling()
797 if (!rfkill->ops->poll) in rfkill_resume_polling()
910 rfkill->ops->poll(rfkill, rfkill->data); in rfkill_poll()
976 if (rfkill->ops->poll) in rfkill_register()
1011 if (rfkill->ops->poll) in rfkill_unregister()
1246 .poll = rfkill_fop_poll,
/linux-4.4.14/arch/parisc/include/asm/
DKbuild22 generic-y += poll.h
/linux-4.4.14/drivers/gpu/drm/mga/
Dmga_drv.c52 .poll = drm_poll,
/linux-4.4.14/include/misc/
Dcxl.h199 unsigned int cxl_fd_poll(struct file *file, struct poll_table_struct *poll);
/linux-4.4.14/drivers/isdn/hardware/mISDN/
Dhfcpci.c60 static uint poll, tics; variable
67 module_param(poll, uint, S_IRUGO | S_IWUSR);
823 if (count > (poll << 1) - fcnt) in hfcpci_fill_fifo()
824 count = (poll << 1) - fcnt; in hfcpci_fill_fifo()
2103 mISDN_initbchannel(&card->bch[i], MAX_DATA_MEM, poll >> 1); in setup_card()
2315 if (!poll) in HFC_init()
2316 poll = HFCPCI_BTRANS_THRESHOLD; in HFC_init()
2318 if (poll != HFCPCI_BTRANS_THRESHOLD) { in HFC_init()
2319 tics = (poll * HZ) / 8000; in HFC_init()
2322 poll = (tics * 8000) / HZ; in HFC_init()
[all …]
Dhfcmulti.c224 static uint poll; variable
241 module_param(poll, uint, S_IRUGO | S_IWUSR);
1200 hc->max_trans = poll << 1; in init_chip()
1649 hc->flash[2] = poll; in hfcmulti_leds()
1651 hc->flash[3] = poll; in hfcmulti_leds()
1661 hc->flash[2] += poll; in hfcmulti_leds()
1663 hc->flash[3] += poll; in hfcmulti_leds()
1696 hc->flash[i] = poll; in hfcmulti_leds()
1702 hc->flash[i] += poll; in hfcmulti_leds()
1760 hc->flash[i] = poll; in hfcmulti_leds()
[all …]
/linux-4.4.14/arch/mn10300/include/uapi/asm/
DKbuild16 header-y += poll.h
/linux-4.4.14/arch/score/include/uapi/asm/
DKbuild16 header-y += poll.h
/linux-4.4.14/arch/m32r/include/uapi/asm/
DKbuild15 header-y += poll.h
/linux-4.4.14/fs/cachefiles/
Ddaemon.c57 .poll = cachefiles_daemon_poll,
294 struct poll_table_struct *poll) in cachefiles_daemon_poll() argument
299 poll_wait(file, &cache->daemon_pollwq, poll); in cachefiles_daemon_poll()
/linux-4.4.14/arch/m68k/include/uapi/asm/
DKbuild27 header-y += poll.h
/linux-4.4.14/arch/microblaze/include/uapi/asm/
DKbuild19 header-y += poll.h
/linux-4.4.14/arch/avr32/include/uapi/asm/
DKbuild33 generic-y += poll.h
/linux-4.4.14/drivers/gpu/drm/via/
Dvia_drv.c66 .poll = drm_poll,
/linux-4.4.14/arch/frv/include/uapi/asm/
DKbuild16 header-y += poll.h
/linux-4.4.14/arch/arm/include/asm/
DKbuild20 generic-y += poll.h
/linux-4.4.14/arch/x86/kvm/
Dirq.h49 u8 poll; member
Di8259.c327 s->poll = 1; in pic_ioport_write()
433 if (s->poll) { in pic_ioport_read()
435 s->poll = 0; in pic_ioport_read()
/linux-4.4.14/include/uapi/asm-generic/
DKbuild17 header-y += poll.h
DKbuild.asm22 header-y += poll.h
/linux-4.4.14/arch/mips/include/uapi/asm/
DKbuild21 header-y += poll.h
/linux-4.4.14/arch/tile/include/asm/
DKbuild27 generic-y += poll.h
/linux-4.4.14/drivers/gpu/drm/udl/
Dudl_drv.c29 .poll = drm_poll,
/linux-4.4.14/arch/sh/include/asm/
DKbuild25 generic-y += poll.h
/linux-4.4.14/drivers/gpu/drm/sis/
Dsis_drv.c74 .poll = drm_poll,
/linux-4.4.14/Documentation/devicetree/bindings/i2c/
Di2c-cros-ec-tunnel.txt36 sbs,poll-retry-count = <1>;
/linux-4.4.14/drivers/input/serio/
Dhp_sdc_mlc.c197 goto poll; in hp_sdc_mlc_cts()
205 poll: in hp_sdc_mlc_cts()
Duserio.c269 .poll = userio_char_poll,
/linux-4.4.14/tools/perf/Documentation/
Dperf-timechart.txt30 There are also poll bars which show how much time application spent
31 in poll/epoll/select syscalls.
/linux-4.4.14/sound/core/
Dhwdep.c182 if (hw->ops.poll) in snd_hwdep_poll()
183 return hw->ops.poll(hw, file, wait); in snd_hwdep_poll()
341 .poll = snd_hwdep_poll,
Dinfo.c212 if (entry->c.ops->poll) in snd_info_entry_poll()
213 return entry->c.ops->poll(entry, in snd_info_entry_poll()
306 .poll = snd_info_entry_poll,
/linux-4.4.14/drivers/mmc/host/
Dsdhci-msm.c67 static inline int msm_dll_poll_ck_out_en(struct sdhci_host *host, u8 poll) in msm_dll_poll_ck_out_en() argument
77 while (ck_out_en != poll) { in msm_dll_poll_ck_out_en()
80 mmc_hostname(mmc), poll); in msm_dll_poll_ck_out_en()
/linux-4.4.14/drivers/media/v4l2-core/
Dv4l2-dev.c331 static unsigned int v4l2_poll(struct file *filp, struct poll_table_struct *poll) in v4l2_poll() argument
336 if (!vdev->fops->poll) in v4l2_poll()
339 res = vdev->fops->poll(filp, poll); in v4l2_poll()
466 .poll = v4l2_poll,
/linux-4.4.14/Documentation/sysctl/
Dnet.txt70 Low latency busy poll timeout for socket reads. (needs CONFIG_NET_RX_BUSY_POLL)
81 Low latency busy poll timeout for poll and select. (needs CONFIG_NET_RX_BUSY_POLL)
83 Recommended value depends on the number of sockets you poll on.
146 poll). In one polling cycle interfaces which are registered to polling are
/linux-4.4.14/drivers/gpu/drm/mgag200/
Dmgag200_drv.c84 .poll = drm_poll,
/linux-4.4.14/arch/mips/boot/dts/qca/
Dar9132_tl_wr1043nd_v1.dts73 poll-interval = <20>;
/linux-4.4.14/arch/cris/include/uapi/asm/
DKbuild22 header-y += poll.h
/linux-4.4.14/arch/alpha/include/uapi/asm/
DKbuild22 header-y += poll.h
/linux-4.4.14/drivers/gpu/drm/virtio/
Dvirtgpu_drv.c109 .poll = drm_poll,
/linux-4.4.14/arch/xtensa/platforms/iss/
Dnetwork.c93 int (*poll)(struct iss_net_private *lp); member
268 lp->tp.poll = tuntap_poll; in tuntap_probe()
283 if (lp->tp.poll(lp) == 0) in iss_net_rx()
/linux-4.4.14/arch/powerpc/include/uapi/asm/
DKbuild25 header-y += poll.h
/linux-4.4.14/crypto/
Dalgif_rng.c109 .poll = sock_no_poll,
Dalgif_hash.c236 .poll = sock_no_poll,
344 .poll = sock_no_poll,
/linux-4.4.14/arch/cris/include/asm/
DKbuild32 generic-y += poll.h
/linux-4.4.14/arch/sparc/include/uapi/asm/
DKbuild26 header-y += poll.h
/linux-4.4.14/arch/ia64/include/uapi/asm/
DKbuild27 header-y += poll.h
/linux-4.4.14/arch/arm/boot/dts/
Dmoxart-uc7112lx.dts66 poll-interval = <500>;
Dcros-ec-sbs.dtsi50 sbs,poll-retry-count = <1>;
/linux-4.4.14/Documentation/devicetree/bindings/input/touchscreen/
Dtsc2007.txt22 - ti,poll-period: how much time to wait (in milliseconds) before reading again the
/linux-4.4.14/arch/arc/include/asm/
DKbuild32 generic-y += poll.h
/linux-4.4.14/tools/lib/api/fd/
Darray.c116 return poll(fda->entries, fda->nr, timeout); in fdarray__poll()
/linux-4.4.14/arch/s390/include/uapi/asm/
DKbuild25 header-y += poll.h
/linux-4.4.14/Documentation/filesystems/
Dinotify.txt42 file bar would pop poll() on both fd's, but there would be no way to tell
73 file descriptor-based one that allows basic file I/O and poll/select.
/linux-4.4.14/drivers/tty/serial/
Dsccnxp.c127 bool poll; member
909 s->poll = 1; in sccnxp_probe()
912 if (!s->poll) { in sccnxp_probe()
965 if (!s->poll) { in sccnxp_probe()
996 if (!s->poll) in sccnxp_remove()
/linux-4.4.14/arch/arm64/include/asm/
DKbuild35 generic-y += poll.h
/linux-4.4.14/drivers/gpu/drm/cirrus/
Dcirrus_drv.c127 .poll = drm_poll,
/linux-4.4.14/arch/hexagon/include/asm/
DKbuild36 generic-y += poll.h
/linux-4.4.14/arch/metag/include/asm/
DKbuild34 generic-y += poll.h
/linux-4.4.14/drivers/macintosh/ams/
Dams-input.c70 ams_info.idev->poll = ams_idev_poll; in ams_input_enable()
/linux-4.4.14/drivers/staging/wilc1000/
Dwilc_debugfs.c124 .poll = (_poll), \
/linux-4.4.14/net/nfc/
Drawsock.c287 .poll = datagram_poll,
307 .poll = datagram_poll,
/linux-4.4.14/net/9p/
Dtrans_fd.c243 if (!ts->rd->f_op->poll) in p9_fd_poll()
246 if (!ts->wr->f_op->poll) in p9_fd_poll()
249 ret = ts->rd->f_op->poll(ts->rd, pt); in p9_fd_poll()
254 n = ts->wr->f_op->poll(ts->wr, pt); in p9_fd_poll()
/linux-4.4.14/net/atm/
Dpvc.c116 .poll = vcc_poll,
/linux-4.4.14/arch/c6x/include/asm/
DKbuild38 generic-y += poll.h
/linux-4.4.14/arch/x86/include/uapi/asm/
DKbuild35 header-y += poll.h
/linux-4.4.14/samples/bpf/
Dtrace_output_user.c55 return poll(&pfd, 1, 1000); in perf_event_poll()
/linux-4.4.14/drivers/usb/serial/
Diuu_phoenix.c60 int poll; /* number of poll */ member
651 priv->poll++; in iuu_uart_read_callback()
679 if (priv->poll > 99) { in iuu_uart_read_callback()
681 priv->poll = 0; in iuu_uart_read_callback()
988 priv->poll = 0; in iuu_open()
/linux-4.4.14/drivers/xen/events/
Devents_base.c1532 struct sched_poll poll; in xen_poll_irq_timeout() local
1534 poll.nr_ports = 1; in xen_poll_irq_timeout()
1535 poll.timeout = timeout; in xen_poll_irq_timeout()
1536 set_xen_guest_handle(poll.ports, &evtchn); in xen_poll_irq_timeout()
1538 if (HYPERVISOR_sched_op(SCHEDOP_poll, &poll) != 0) in xen_poll_irq_timeout()
/linux-4.4.14/Documentation/zh_CN/video4linux/
Dv4l2-framework.txt424 为正确支持事件机制,poll() 文件操作也应被实现。
964 返回未决事件的数量。有助于实现轮询(poll)操作。
966 事件通过 poll 系统调用传递到用户空间。驱动可用
/linux-4.4.14/tools/testing/selftests/net/
Dpsock_tpacket.c278 poll(&pfd, 1, 1); in walk_v1_v2_rx()
426 poll(&pfd, 1, 1); in walk_v1_v2_tx()
562 poll(&pfd, 1, 1); in walk_v3_rx()
/linux-4.4.14/drivers/input/mouse/
Dgpio_mouse.c107 input_poll->poll = gpio_mouse_scan; in gpio_mouse_probe()
/linux-4.4.14/arch/unicore32/include/asm/
DKbuild36 generic-y += poll.h
/linux-4.4.14/Documentation/connector/
Ducon.c207 switch (poll(&pfd, 1, -1)) { in main()
/linux-4.4.14/drivers/vfio/
Dvirqfd.c169 events = irqfd.file->f_op->poll(irqfd.file, &virqfd->pt); in vfio_virqfd_enable()
/linux-4.4.14/arch/nios2/include/asm/
DKbuild40 generic-y += poll.h
/linux-4.4.14/drivers/gpu/drm/ast/
Dast_drv.c190 .poll = drm_poll,
/linux-4.4.14/drivers/gpu/drm/bochs/
Dbochs_drv.c75 .poll = drm_poll,
/linux-4.4.14/drivers/net/ethernet/broadcom/
Dsb1250-mac.c292 int work_to_do, int poll);
294 int poll);
1067 int work_to_do, int poll) in sbdma_rx_process() argument
1173 if (poll) in sbdma_rx_process()
1205 if (!poll) { in sbdma_rx_process()
1232 int poll) in sbdma_tx_process() argument
/linux-4.4.14/sound/firewire/oxfw/
Doxfw-hwdep.c173 .poll = hwdep_poll, in snd_oxfw_create_hwdep()
/linux-4.4.14/Documentation/x86/
Dusb-legacy-support.txt42 idle=poll on the kernel command line. The BIOS may be entering the SMM
/linux-4.4.14/drivers/isdn/hardware/eicon/
Ddivamnt.c177 .poll = maint_poll,
/linux-4.4.14/sound/firewire/digi00x/
Ddigi00x-hwdep.c179 .poll = hwdep_poll,
/linux-4.4.14/security/tomoyo/
Dsecurityfs_if.c211 .poll = tomoyo_poll,
/linux-4.4.14/sound/firewire/dice/
Ddice-hwdep.c173 .poll = hwdep_poll, in snd_dice_create_hwdep()
/linux-4.4.14/sound/firewire/bebob/
Dbebob_hwdep.c178 .poll = hwdep_poll,
/linux-4.4.14/drivers/media/radio/si4713/
Dradio-platform-si4713.c63 .poll = v4l2_ctrl_poll,
/linux-4.4.14/kernel/events/
Dinternal.h22 atomic_t poll; /* POLL_ for wakeups */ member
/linux-4.4.14/tools/hv/
Dhv_vss_daemon.c204 if (poll(&pfd, 1, -1) < 0) { in main()
/linux-4.4.14/drivers/input/keyboard/
Dclps711x-keypad.c137 poll_dev->poll = clps711x_keypad_poll; in clps711x_keypad_probe()
/linux-4.4.14/sound/firewire/tascam/
Dtascam-hwdep.c180 .poll = hwdep_poll,
/linux-4.4.14/arch/openrisc/include/asm/
DKbuild45 generic-y += poll.h
/linux-4.4.14/Documentation/usb/
Dgadget_printer.txt149 #include <linux/poll.h>
213 retval = poll(fd, 1, 1000);
270 retval = poll(fd, 1, 1000);
/linux-4.4.14/drivers/media/firewire/
Dfiredtv-ci.c220 .poll = fdtv_ca_io_poll,
/linux-4.4.14/arch/h8300/include/asm/
DKbuild46 generic-y += poll.h
/linux-4.4.14/net/bluetooth/cmtp/
Dsock.c181 .poll = sock_no_poll,
/linux-4.4.14/drivers/media/radio/
Dradio-timb.c97 .poll = v4l2_ctrl_poll,
/linux-4.4.14/net/bluetooth/bnep/
Dsock.c178 .poll = sock_no_poll,
/linux-4.4.14/Documentation/timers/
Dhpet_example.c183 if (poll(&pfd, 1, -1) < 0) in hpet_poll()
/linux-4.4.14/drivers/platform/x86/
Dtoshiba_bluetooth.c204 .poll = bt_rfkill_poll,
/linux-4.4.14/drivers/gpu/drm/vgem/
Dvgem_drv.c245 .poll = drm_poll,

1234