/linux-4.1.27/arch/score/include/uapi/asm/ |
H A D | poll.h | 4 #include <asm-generic/poll.h>
|
/linux-4.1.27/arch/mips/include/uapi/asm/ |
H A D | poll.h | 7 #include <asm-generic/poll.h>
|
/linux-4.1.27/arch/frv/include/uapi/asm/ |
H A D | poll.h | 7 #include <asm-generic/poll.h>
|
/linux-4.1.27/arch/m68k/include/uapi/asm/ |
H A D | poll.h | 7 #include <asm-generic/poll.h>
|
/linux-4.1.27/arch/sparc/include/uapi/asm/ |
H A D | poll.h | 10 #include <asm-generic/poll.h>
|
/linux-4.1.27/arch/blackfin/include/uapi/asm/ |
H A D | poll.h | 14 #include <asm-generic/poll.h>
|
/linux-4.1.27/arch/xtensa/include/uapi/asm/ |
H A D | poll.h | 2 * include/asm-xtensa/poll.h 18 #include <asm-generic/poll.h>
|
/linux-4.1.27/drivers/tty/vt/ |
H A D | vc_screen.c | 37 #include <linux/poll.h> 66 struct vcs_poll_data *poll = vcs_notifier() local 68 int currcons = poll->cons_num; vcs_notifier() 80 poll->seen_last_update = false; vcs_notifier() 81 wake_up_interruptible(&poll->waitq); vcs_notifier() 82 kill_fasync(&poll->fasync, SIGIO, POLL_IN); vcs_notifier() 87 vcs_poll_data_free(struct vcs_poll_data *poll) vcs_poll_data_free() argument 89 unregister_vt_notifier(&poll->notifier); vcs_poll_data_free() 90 kfree(poll); vcs_poll_data_free() 96 struct vcs_poll_data *poll = file->private_data, *kill = NULL; vcs_poll_data_get() local 98 if (poll) vcs_poll_data_get() 99 return poll; vcs_poll_data_get() 101 poll = kzalloc(sizeof(*poll), GFP_KERNEL); vcs_poll_data_get() 102 if (!poll) vcs_poll_data_get() 104 poll->cons_num = iminor(file_inode(file)) & 127; vcs_poll_data_get() 105 init_waitqueue_head(&poll->waitq); vcs_poll_data_get() 106 poll->notifier.notifier_call = vcs_notifier; vcs_poll_data_get() 107 if (register_vt_notifier(&poll->notifier) != 0) { vcs_poll_data_get() 108 kfree(poll); vcs_poll_data_get() 113 * This code may be called either through ->poll() or ->fasync(). vcs_poll_data_get() 122 file->private_data = poll; vcs_poll_data_get() 125 kill = poll; vcs_poll_data_get() 126 poll = file->private_data; vcs_poll_data_get() 132 return poll; vcs_poll_data_get() 201 struct vcs_poll_data *poll; vcs_read() local 229 poll = file->private_data; vcs_read() 230 if (count && poll) vcs_read() 231 poll->seen_last_update = true; vcs_read() 564 struct vcs_poll_data *poll = vcs_poll_data_get(file); vcs_poll() local 567 if (poll) { vcs_poll() 568 poll_wait(file, &poll->waitq, wait); vcs_poll() 569 if (poll->seen_last_update) vcs_poll() 578 struct vcs_poll_data *poll = file->private_data; vcs_fasync() local 580 if (!poll) { vcs_fasync() 584 poll = vcs_poll_data_get(file); vcs_fasync() 585 if (!poll) vcs_fasync() 589 return fasync_helper(fd, file, on, &poll->fasync); vcs_fasync() 607 struct vcs_poll_data *poll = file->private_data; vcs_release() local 609 if (poll) vcs_release() 610 vcs_poll_data_free(poll); vcs_release() 618 .poll = vcs_poll,
|
/linux-4.1.27/lib/ |
H A D | stmp_device.c | 26 * Clear the bit and poll it cleared. This is usually called with 47 /* clear and poll SFTRST */ stmp_reset_block() 59 /* poll CLKGATE becoming set */ stmp_reset_block() 65 /* clear and poll SFTRST */ stmp_reset_block() 70 /* clear and poll CLKGATE */ stmp_reset_block()
|
/linux-4.1.27/arch/um/os-Linux/ |
H A D | sigio.c | 9 #include <poll.h> 38 struct pollfd *poll; member in struct:pollfds 61 n = poll(fds->poll, fds->used, -1); write_sigio_thread() 65 printk(UM_KERN_ERR "write_sigio_thread : poll returned " write_sigio_thread() 69 p = &fds->poll[i]; write_sigio_thread() 88 memmove(&fds->poll[i], &fds->poll[i + 1], write_sigio_thread() 89 (fds->used - i) * sizeof(*fds->poll)); write_sigio_thread() 117 memcpy(new, polls->poll, polls->used * sizeof(struct pollfd)); need_poll() 118 kfree(polls->poll); need_poll() 120 polls->poll = new; need_poll() 174 if (all_sigio_fds.poll[i].fd == fd) add_sigio_fd() 180 p = &all_sigio_fds.poll[i]; add_sigio_fd() 183 if (current_poll.poll[i].fd == fd) add_sigio_fd() 192 memcpy(next_poll.poll, current_poll.poll, add_sigio_fd() 194 next_poll.poll[n] = *p; add_sigio_fd() 217 if (current_poll.poll[i].fd == fd) ignore_sigio_fd() 228 p = ¤t_poll.poll[i]; ignore_sigio_fd() 230 next_poll.poll[n++] = *p; ignore_sigio_fd() 247 "poll\n"); setup_initial_poll() 298 current_poll = ((struct pollfds) { .poll = p, write_sigio_workaround() 325 current_poll = ((struct pollfds) { .poll = NULL, write_sigio_workaround() 353 all_sigio_fds.poll[all_sigio_fds.used++] = sigio_broken()
|
H A D | irq.c | 8 #include <poll.h> 28 n = poll(pollfds, pollfds_num, 0); os_waiting_for_events() 33 " poll returned %d, errno = %d\n", n, errno); os_waiting_for_events()
|
/linux-4.1.27/drivers/iio/common/hid-sensors/ |
H A D | hid-sensor-attributes.c | 156 st->poll.report_id, hid_sensor_read_poll_value() 157 st->poll.index, sizeof(value), &value); hid_sensor_read_poll_value() 162 if (st->poll.units == HID_USAGE_SENSOR_UNITS_SECOND) hid_sensor_read_poll_value() 177 st->poll.report_id, hid_sensor_read_samp_freq_value() 178 st->poll.index, sizeof(value), &value); hid_sensor_read_samp_freq_value() 183 if (st->poll.units == HID_USAGE_SENSOR_UNITS_MILLISECOND) hid_sensor_read_samp_freq_value() 185 else if (st->poll.units == HID_USAGE_SENSOR_UNITS_SECOND) hid_sensor_read_samp_freq_value() 208 if (st->poll.units == HID_USAGE_SENSOR_UNITS_MILLISECOND) hid_sensor_write_samp_freq_value() 210 else if (st->poll.units == HID_USAGE_SENSOR_UNITS_SECOND) hid_sensor_write_samp_freq_value() 215 ret = sensor_hub_set_feature(st->hsdev, st->poll.report_id, hid_sensor_write_samp_freq_value() 216 st->poll.index, sizeof(value), &value); hid_sensor_write_samp_freq_value() 354 &st->poll); hid_sensor_get_reporting_interval() 356 if (st->poll.units == 0) hid_sensor_get_reporting_interval() 357 st->poll.units = HID_USAGE_SENSOR_UNITS_MILLISECOND; hid_sensor_get_reporting_interval() 386 st->poll.index, st->poll.report_id, hid_sensor_parse_common_attributes()
|
/linux-4.1.27/include/linux/ |
H A D | input-polldev.h | 22 * @poll: driver-supplied method that polls the device and posts 24 * @poll_interval: specifies how often the poll() method should be called. 26 * @poll_interval_max: specifies upper bound for the poll interval. 28 * @poll_interval_min: specifies lower bound for the poll interval. 42 void (*poll)(struct input_polled_dev *dev); member in struct:input_polled_dev
|
H A D | poll.h | 12 #include <uapi/linux/poll.h> 29 * structures and helpers for f_op->poll implementations 49 * Return true if it is guaranteed that poll will not wait. This is the case 50 * if the poll() of another file descriptor in the set got an event, so there 59 * Return the set of events that the application wants to poll for. 61 * to be started implicitly on poll(). You typically only want to do that 83 * Structures and helpers for select/poll syscall
|
H A D | adb.h | 36 void (*poll)(void); member in struct:adb_driver 42 #define ADBREQ_SYNC 2 /* poll until done */
|
H A D | posix-clock.h | 25 #include <linux/poll.h> 55 * @poll: Optional character device poll method 93 uint (*poll) (struct posix_clock *pc, member in struct:posix_clock_operations
|
H A D | serial_max3100.h | 22 * @poll_time: poll time for CTS signal in ms, 0 disables (so no hw
|
H A D | blk-iopoll.h | 13 blk_iopoll_fn *poll; member in struct:blk_iopoll
|
H A D | iopoll.h | 26 * readx_poll_timeout - Periodically poll an address until a condition is met or a timeout occurs 28 * @addr: Address to poll 62 * readx_poll_timeout_atomic - Periodically poll an address until a condition is met or a timeout occurs 64 * @addr: Address to poll
|
H A D | sysctl.h | 86 /* Support for userspace poll() to watch for changes */ 92 static inline void *proc_sys_poll_event(struct ctl_table_poll *poll) proc_sys_poll_event() argument 94 return (void *)(unsigned long)atomic_read(&poll->event); proc_sys_poll_event() 113 struct ctl_table_poll *poll; member in struct:ctl_table 169 void proc_sys_poll_notify(struct ctl_table_poll *poll);
|
H A D | thread_info.h | 40 /* For poll */ 47 } poll; member in union:restart_block::__anon12485
|
H A D | i2c-smbus.h | 37 * handle the interrupts or to poll for alerts.
|
H A D | mailbox_controller.h | 38 * this to poll status of last TX. The controller must 70 * @poll: API private. Used to poll for TXDONE on all channels. 84 struct timer_list poll; member in struct:mbox_controller
|
H A D | tty_ldisc.h | 72 * int (*poll)(struct tty_struct * tty, struct file * file, 75 * This function is called when a user attempts to select/poll on a 77 * discipline to handle poll requests. 201 unsigned int (*poll)(struct tty_struct *, struct file *, member in struct:tty_ldisc_ops
|
H A D | rfkill.h | 46 * @poll: poll the rfkill block state(s) -- only assign this method 62 void (*poll)(struct rfkill *rfkill, void *data); member in struct:rfkill_ops
|
H A D | dma-buf.h | 136 /* poll support */ 137 wait_queue_head_t poll; member in struct:dma_buf 141 wait_queue_head_t *poll; member in struct:dma_buf::dma_buf_poll_cb_t
|
H A D | ipmi_smi.h | 125 /* Called to poll for work to do. This is so upper layers can 126 poll for operations during things like crash dumps. */ 127 void (*poll)(void *send_info); member in struct:ipmi_smi_handlers
|
H A D | ppp_channel.h | 24 #include <linux/poll.h>
|
/linux-4.1.27/drivers/input/misc/ |
H A D | wm831x-on.c | 38 * then need to poll to see when the pin is deasserted. 45 int poll, ret; wm831x_poll_on() local 49 poll = !(ret & WM831X_ON_PIN_STS); wm831x_poll_on() 51 input_report_key(wm831x_on->dev, KEY_POWER, poll); wm831x_poll_on() 55 poll = 1; wm831x_poll_on() 58 if (poll) wm831x_poll_on()
|
H A D | kxtj9.c | 67 * The following table lists the maximum appropriate poll interval for each 184 /* Use the lowest ODR that can support the requested poll interval */ kxtj9_update_odr() 345 * the set_poll method, which accepts a poll interval in milliseconds, and then 347 * data outputs will not be read AT the requested poll interval, rather, the 353 /* Returns currently selected poll interval (in ms) */ kxtj9_get_poll() 363 /* Allow users to select a new poll interval (in ms) */ kxtj9_set_poll() 396 static DEVICE_ATTR(poll, S_IRUGO|S_IWUSR, kxtj9_get_poll, kxtj9_set_poll); 452 poll_dev->poll = kxtj9_poll; kxtj9_setup_polled_device()
|
H A D | mma8450.c | 148 * Sleep mode poll rate - 50Hz mma8450_open() 191 idev->poll = mma8450_poll; mma8450_probe()
|
H A D | rb532_button.c | 63 poll_dev->poll = rb532_button_poll; rb532_button_probe()
|
H A D | cobalt_btns.c | 93 poll_dev->poll = handle_buttons; cobalt_buttons_probe()
|
H A D | sgi_btns.c | 110 poll_dev->poll = handle_buttons; sgi_buttons_probe()
|
/linux-4.1.27/fs/proc/ |
H A D | kmsg.c | 12 #include <linux/poll.h> 53 .poll = kmsg_poll,
|
H A D | inode.c | 15 #include <linux/poll.h> 227 unsigned int (*poll)(struct file *, struct poll_table_struct *); proc_reg_poll() 229 poll = pde->proc_fops->poll; proc_reg_poll() 230 if (poll) proc_reg_poll() 231 rv = poll(file, pts); proc_reg_poll() 372 .poll = proc_reg_poll, 388 .poll = proc_reg_poll,
|
H A D | proc_sysctl.c | 6 #include <linux/poll.h> 44 void proc_sys_poll_notify(struct ctl_table_poll *poll) proc_sys_poll_notify() argument 46 if (!poll) proc_sys_poll_notify() 49 atomic_inc(&poll->event); proc_sys_poll_notify() 50 wake_up_interruptible(&poll->wait); proc_sys_poll_notify() 573 if (table->poll) proc_sys_open() 574 filp->private_data = proc_sys_poll_event(table->poll); proc_sys_open() 596 if (!table->poll) proc_sys_poll() 600 poll_wait(filp, &table->poll->wait, wait); proc_sys_poll() 602 if (event != atomic_read(&table->poll->event)) { proc_sys_poll() 603 filp->private_data = proc_sys_poll_event(table->poll); proc_sys_poll() 784 .poll = proc_sys_poll,
|
/linux-4.1.27/arch/sparc/kernel/ |
H A D | sparc_ksyms_32.c | 16 struct poll { struct
|
H A D | sparc_ksyms_64.c | 19 struct poll { struct
|
/linux-4.1.27/include/trace/events/ |
H A D | napi.h | 29 TP_printk("napi poll on napi struct %p for device %s",
|
/linux-4.1.27/include/uapi/linux/ |
H A D | wait.h | 9 #define WNOWAIT 0x01000000 /* Don't reap, just poll status. */
|
H A D | nfc.h | 47 * @NFC_CMD_GET_TARGET: dump all targets found by the previous poll (requires 69 * starting a poll from a device which has a secure element enabled means 143 * @NFC_ATTR_IM_PROTOCOLS: Initiator mode protocols to poll for
|
/linux-4.1.27/kernel/ |
H A D | utsname_sysctl.c | 58 proc_sys_poll_notify(table->poll); proc_do_uts_string() 97 .poll = &hostname_poll, 105 .poll = &domainname_poll, 128 proc_sys_poll_notify(table->poll); uts_proc_notify()
|
/linux-4.1.27/drivers/vhost/ |
H A D | vhost.h | 8 #include <linux/poll.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); 72 struct vhost_poll poll; member in struct:vhost_virtqueue
|
H A D | vhost.c | 21 #include <linux/poll.h> 42 struct vhost_poll *poll; vhost_poll_func() local 44 poll = container_of(pt, struct vhost_poll, table); vhost_poll_func() 45 poll->wqh = wqh; vhost_poll_func() 46 add_wait_queue(wqh, &poll->wait); vhost_poll_func() 52 struct vhost_poll *poll = container_of(wait, struct vhost_poll, wait); vhost_poll_wakeup() local 54 if (!((unsigned long)key & poll->mask)) vhost_poll_wakeup() 57 vhost_poll_queue(poll); vhost_poll_wakeup() 71 /* Init poll structure */ vhost_poll_init() 72 void vhost_poll_init(struct vhost_poll *poll, vhost_work_fn_t fn, vhost_poll_init() argument 75 init_waitqueue_func_entry(&poll->wait, vhost_poll_wakeup); vhost_poll_init() 76 init_poll_funcptr(&poll->table, vhost_poll_func); vhost_poll_init() 77 poll->mask = mask; vhost_poll_init() 78 poll->dev = dev; vhost_poll_init() 79 poll->wqh = NULL; vhost_poll_init() 81 vhost_work_init(&poll->work, fn); vhost_poll_init() 87 int vhost_poll_start(struct vhost_poll *poll, struct file *file) vhost_poll_start() argument 92 if (poll->wqh) vhost_poll_start() 95 mask = file->f_op->poll(file, &poll->table); vhost_poll_start() 97 vhost_poll_wakeup(&poll->wait, 0, 0, (void *)mask); vhost_poll_start() 99 if (poll->wqh) vhost_poll_start() 100 remove_wait_queue(poll->wqh, &poll->wait); vhost_poll_start() 110 void vhost_poll_stop(struct vhost_poll *poll) vhost_poll_stop() argument 112 if (poll->wqh) { vhost_poll_stop() 113 remove_wait_queue(poll->wqh, &poll->wait); vhost_poll_stop() 114 poll->wqh = NULL; vhost_poll_stop() 149 void vhost_poll_flush(struct vhost_poll *poll) vhost_poll_flush() argument 151 vhost_work_flush(poll->dev, &poll->work); vhost_poll_flush() 171 void vhost_poll_queue(struct vhost_poll *poll) vhost_poll_queue() argument 173 vhost_work_queue(poll->dev, &poll->work); vhost_poll_queue() 320 vhost_poll_init(&vq->poll, vq->handle_kick, vhost_dev_init() 440 vhost_poll_stop(&dev->vqs[i]->poll); vhost_dev_stop() 441 vhost_poll_flush(&dev->vqs[i]->poll); vhost_dev_stop() 814 vhost_poll_stop(&vq->poll); vhost_vring_ioctl() 822 r = vhost_poll_start(&vq->poll, vq->kick); vhost_vring_ioctl() 827 vhost_poll_flush(&vq->poll); vhost_vring_ioctl()
|
H A D | net.c | 104 struct vhost_poll poll[VHOST_NET_VQ_MAX]; member in struct:vhost_net 286 vhost_poll_queue(&vq->poll); vhost_zerocopy_callback() 413 vhost_poll_queue(&vq->poll); handle_tx() 636 vhost_poll_queue(&vq->poll); handle_rx() 647 poll.work); handle_tx_kick() 656 poll.work); handle_rx_kick() 665 poll[VHOST_NET_VQ_TX].work); handle_tx_net() 672 poll[VHOST_NET_VQ_RX].work); handle_rx_net() 710 vhost_poll_init(n->poll + VHOST_NET_VQ_TX, handle_tx_net, POLLOUT, dev); vhost_net_open() 711 vhost_poll_init(n->poll + VHOST_NET_VQ_RX, handle_rx_net, POLLIN, dev); vhost_net_open() 723 struct vhost_poll *poll = n->poll + (nvq - n->vqs); vhost_net_disable_vq() local 726 vhost_poll_stop(poll); vhost_net_disable_vq() 734 struct vhost_poll *poll = n->poll + (nvq - n->vqs); vhost_net_enable_vq() local 741 return vhost_poll_start(poll, sock->file); vhost_net_enable_vq() 766 vhost_poll_flush(n->poll + index); vhost_net_flush_vq() 767 vhost_poll_flush(&n->vqs[index].vq.poll); vhost_net_flush_vq()
|
H A D | test.c | 85 vhost_poll_queue(&vq->poll); handle_vq() 96 poll.work); handle_vq_kick() 145 vhost_poll_flush(&n->vqs[index].poll); vhost_test_flush_vq()
|
/linux-4.1.27/sound/oss/ |
H A D | os.h | 21 #include <linux/poll.h>
|
/linux-4.1.27/drivers/scsi/pcmcia/ |
H A D | nsp_message.c | 21 * therefore we should poll the scsi phase here to catch nsp_message_in() 62 * therefore we should poll the scsi phase here to catch nsp_message_out()
|
/linux-4.1.27/arch/mips/include/asm/ |
H A D | i8259.h | 57 outb(0x0C, PIC_MASTER_CMD); /* prepare for poll */ i8259_irq() 64 outb(0x0C, PIC_SLAVE_CMD); /* prepare for poll */ i8259_irq()
|
/linux-4.1.27/include/linux/iio/ |
H A D | trigger_consumer.h | 20 * struct iio_poll_func - poll function pair 22 * @indio_dev: data specific to device (passed into poll func)
|
/linux-4.1.27/include/linux/input/ |
H A D | kxtj9.h | 26 unsigned int min_interval; /* minimum poll interval (in milli-seconds) */ 27 unsigned int init_interval; /* initial poll interval (in milli-seconds) */
|
/linux-4.1.27/block/ |
H A D | blk-iopoll.c | 2 * Functions related to interrupt-poll handling in the block layer. This 26 * Add this blk_iopoll structure to the pending poll list and trigger the 101 * entries to the tail of this list, and only ->poll() blk_iopoll_softirq() 109 work = iop->poll(iop, weight); blk_iopoll_softirq() 184 iop->poll = poll_fn; blk_iopoll_init()
|
/linux-4.1.27/drivers/dma-buf/ |
H A D | dma-buf.c | 33 #include <linux/poll.h> 57 * Any fences that a dma-buf poll can wait on should be signaled dma_buf_release() 127 spin_lock_irqsave(&dcb->poll->lock, flags); dma_buf_poll_cb() 128 wake_up_locked_poll(dcb->poll, dcb->active); dma_buf_poll_cb() 130 spin_unlock_irqrestore(&dcb->poll->lock, flags); dma_buf_poll_cb() 133 static unsigned int dma_buf_poll(struct file *file, poll_table *poll) dma_buf_poll() argument 148 poll_wait(file, &dmabuf->poll, poll); dma_buf_poll() 150 events = poll_requested_events(poll) & (POLLIN | POLLOUT); dma_buf_poll() 176 spin_lock_irq(&dmabuf->poll.lock); dma_buf_poll() 182 spin_unlock_irq(&dmabuf->poll.lock); dma_buf_poll() 209 spin_lock_irq(&dmabuf->poll.lock); dma_buf_poll() 214 spin_unlock_irq(&dmabuf->poll.lock); dma_buf_poll() 256 .poll = dma_buf_poll, 313 init_waitqueue_head(&dmabuf->poll); dma_buf_export() 314 dmabuf->cb_excl.poll = dmabuf->cb_shared.poll = &dmabuf->poll; dma_buf_export()
|
/linux-4.1.27/drivers/isdn/isdnloop/ |
H A D | isdnloop.h | 55 #define ISDNLOOP_FLAGS_RBTIMER 8 /* scheduling of B-Channel-poll */ 56 #define ISDNLOOP_TIMER_BCREAD 1 /* B-Channel poll-cycle */ 57 #define ISDNLOOP_TIMER_DCREAD (HZ/2) /* D-Channel poll-cycle */
|
/linux-4.1.27/include/linux/platform_data/ |
H A D | mv_usb.h | 33 int (*poll)(void); member in struct:mv_usb_addon_irq
|
/linux-4.1.27/Documentation/timers/ |
H A D | hpet_example.c | 24 #include <sys/poll.h> 40 "poll", 183 if (poll(&pfd, 1, -1) < 0) hpet_poll() 184 fprintf(stderr, "hpet_poll: poll failed\n"); hpet_poll()
|
/linux-4.1.27/drivers/gpu/drm/ |
H A D | drm_probe_helper.c | 59 module_param_named(poll, drm_kms_helper_poll, bool, 0600); 130 * Normally either the driver's hpd code or the poll loop should drm_helper_probe_single_connector_modes_merge_bits() 144 * locks. Fire up the poll struct instead, it will drm_helper_probe_single_connector_modes_merge_bits() 154 /* Re-enable polling in case the global poll config changed. */ drm_helper_probe_single_connector_modes_merge_bits() 330 /* if we are connected and don't want to poll for disconnect output_poll_execute() 341 * The poll work sets force=false when calling detect so output_poll_execute() 345 * flip-flop between unknown here in the poll work and output_poll_execute() 411 bool poll = false; drm_kms_helper_poll_enable() local 420 poll = true; drm_kms_helper_poll_enable() 423 if (poll) drm_kms_helper_poll_enable() 434 * this helper infrastructure to regularly poll such connectors for changes in
|
/linux-4.1.27/tools/lib/api/fd/ |
H A D | array.c | 9 #include <poll.h> 116 return poll(fda->entries, fda->nr, timeout); fdarray__poll()
|
/linux-4.1.27/tools/virtio/virtio-trace/ |
H A D | trace-agent-ctl.c | 14 #include <poll.h> 59 ret = poll(&poll_fd, 1, EVENT_WAIT_MSEC); wait_order()
|
/linux-4.1.27/drivers/net/ethernet/cisco/enic/ |
H A D | vnic_rq.h | 90 #define ENIC_POLL_STATE_NAPI (1 << 0) /* NAPI owns this poll */ 91 #define ENIC_POLL_STATE_POLL (1 << 1) /* poll owns this poll */ 92 #define ENIC_POLL_STATE_NAPI_YIELD (1 << 2) /* NAPI yielded this poll */ 93 #define ENIC_POLL_STATE_POLL_YIELD (1 << 3) /* poll yielded this poll */
|
/linux-4.1.27/fs/ |
H A D | select.c | 2 * This file contains the procedures for the handling of select and poll 22 #include <linux/poll.h> 112 * work. poll_wait() is an inline-function defined in <linux/poll.h>, 113 * as all select/poll functions have to call it to add an entry to the 114 * poll table. 457 if (f_op->poll) { do_select() 460 mask = (*f_op->poll)(f.file, wait); do_select() 747 * pwait poll_table will be used by the fd-provided poll handler for waiting, 764 if (f.file->f_op->poll) { do_pollfd() 767 mask = f.file->f_op->poll(f.file, pwait); do_pollfd() 937 struct pollfd __user *ufds = restart_block->poll.ufds; do_restart_poll() 938 int nfds = restart_block->poll.nfds; do_restart_poll() 942 if (restart_block->poll.has_timeout) { do_restart_poll() 943 end_time.tv_sec = restart_block->poll.tv_sec; do_restart_poll() 944 end_time.tv_nsec = restart_block->poll.tv_nsec; do_restart_poll() 957 SYSCALL_DEFINE3(poll, struct pollfd __user *, ufds, unsigned int, nfds, SYSCALL_DEFINE3() 976 restart_block->poll.ufds = ufds; SYSCALL_DEFINE3() 977 restart_block->poll.nfds = nfds; SYSCALL_DEFINE3() 980 restart_block->poll.tv_sec = end_time.tv_sec; SYSCALL_DEFINE3() 981 restart_block->poll.tv_nsec = end_time.tv_nsec; SYSCALL_DEFINE3() 982 restart_block->poll.has_timeout = 1; SYSCALL_DEFINE3() 984 restart_block->poll.has_timeout = 0; SYSCALL_DEFINE3()
|
H A D | mount.h | 3 #include <linux/poll.h> 14 wait_queue_head_t poll; member in struct:mnt_namespace
|
H A D | eventpoll.c | 23 #include <linux/poll.h> 56 * from inside the poll callback, that might be triggered from 58 * So we can't sleep inside the poll callback and hence we need 156 /* Number of active wait queue attached to poll operations */ 159 /* List containing poll wait queues */ 195 /* Wait queue used by file->poll() */ 224 /* Wait structure used by the poll hooks */ 242 /* Wrapper struct used by poll queueing */ 271 /* Used to call file's f_op->poll() under the nested calls boundaries */ 362 /* Initialize the poll safe wake up structure */ ep_nested_calls_init() 459 * issue a wake_up() on its poll wake list. Epoll (efd1) has installed a 463 * the waiters on its poll wait list (efd2). So it calls ep_poll_safewake() 497 * Perform a safe wake up of the poll wait list. The problem is that 499 * poll callback is reentered from inside the call to wake_up() done 500 * on the poll wait queue head. The rule is that we cannot reenter the 529 * This function unregisters poll callbacks from the associated file 581 * the scan code, to call f_op->poll(). Also allows for 587 * @depth: The current depth of recursive f_op->poll calls. 614 * have the poll callback to queue directly on ep->rdllist, ep_scan_ready_list() 631 * other events might have been queued by the poll callback. ep_scan_ready_list() 663 * the ->poll() wait list (delayed after we release the lock). ep_scan_ready_list() 698 * Removes poll wait queue hooks. We _have_ to do this without holding ep_remove() 754 * Walks through the whole tree by unregistering poll callbacks. ep_free() 765 * point we are sure no poll callbacks will be lingering around, and also by ep_free() 800 return epi->ffd.file->f_op->poll(epi->ffd.file, pt) & epi->event.events; ep_item_poll() 816 * Item has been dropped into the ready list by the poll list_for_each_entry_safe() 857 /* Insert inside our poll wait queue */ ep_eventpoll_poll() 863 * supervision, since the call to f_op->poll() done on listed files ep_eventpoll_poll() 898 .poll = ep_eventpoll_poll, 1020 * If the event mask does not contain any poll(2) event, we consider the ep_poll_callback() 1039 * (because we're accessing user memory, and because of linux f_op->poll() ep_poll_callback() 1066 * Wake up ( if active ) both the eventpoll wait list and the ->poll() ep_poll_callback() 1296 /* Initialize the poll table using the queue callback */ ep_insert() 1301 * Attach the item to the poll hooks and get current event bits. ep_insert() 1304 * this operation completes, the poll callback can start hitting ep_insert() 1310 * We have to check if something went wrong during the poll wait queue ep_insert() 1401 * Set the new event interest mask before calling f_op->poll(); ep_modify() 1403 * f_op->poll() call and the new event set registering. ep_modify() 1419 * event occurs immediately after we call f_op->poll(). ep_modify() 1425 * when calling f_op->poll(). This barrier also ep_modify() 1429 * This barrier will now guarantee ep_poll_callback or f_op->poll ep_modify() 1535 * poll callback will queue them in ep->ovflist. ep_send_events_proc() 1846 /* The target file descriptor must support poll */ SYSCALL_DEFINE4() 1848 if (!tf.file->f_op->poll) SYSCALL_DEFINE4() 2111 /* Initialize the structure used to perform safe poll wait head wake ups */ eventpoll_init() 2114 /* Initialize the structure used to perform file's f_op->poll() calls */ eventpoll_init()
|
H A D | signalfd.c | 8 * Fixed locking in ->poll(). 17 * Attach to the sighand only during read() and poll(). 21 #include <linux/poll.h> 250 .poll = signalfd_poll,
|
H A D | proc_namespace.c | 25 poll_wait(file, &p->ns->poll, wait); mounts_poll() 321 .poll = mounts_poll, 329 .poll = mounts_poll,
|
H A D | eventfd.c | 9 #include <linux/poll.h> 49 * to poll(2). 306 .poll = eventfd_poll,
|
/linux-4.1.27/drivers/staging/comedi/drivers/ |
H A D | pcl816.c | 117 unsigned int ai_poll_ptr; /* how many sampes transfer poll */ 465 unsigned int poll; pcl816_ai_poll() local 470 poll = comedi_isadma_poll(dma); pcl816_ai_poll() 471 poll = comedi_bytes_to_samples(s, poll); pcl816_ai_poll() 472 if (poll > devpriv->ai_poll_ptr) { pcl816_ai_poll() 476 poll - devpriv->ai_poll_ptr); pcl816_ai_poll() 478 devpriv->ai_poll_ptr = poll; pcl816_ai_poll() 651 s->poll = pcl816_ai_poll; pcl816_attach()
|
H A D | pcl812.c | 513 unsigned int ai_poll_ptr; /* how many sampes transfer poll */ 861 unsigned int poll; pcl812_ai_poll() local 864 /* poll is valid only for DMA transfer */ pcl812_ai_poll() 870 poll = comedi_isadma_poll(dma); pcl812_ai_poll() 871 poll = comedi_bytes_to_samples(s, poll); pcl812_ai_poll() 872 if (poll > devpriv->ai_poll_ptr) { pcl812_ai_poll() 876 poll - devpriv->ai_poll_ptr); pcl812_ai_poll() 878 devpriv->ai_poll_ptr = poll; pcl812_ai_poll() 1208 s->poll = pcl812_ai_poll; pcl812_attach()
|
H A D | serial2002.c | 39 #include <linux/poll.h> 132 mask = f->f_op->poll(f, &table.pt); serial2002_tty_read_poll_wait() 161 if (f->f_op->poll) { serial2002_tty_read() 167 /* Device does not support poll, busy wait */ serial2002_tty_read()
|
/linux-4.1.27/drivers/mfd/ |
H A D | arizona-irq.c | 97 bool poll; arizona_irq_thread() local 108 poll = false; arizona_irq_thread() 134 poll = true; arizona_irq_thread() 137 poll = true; arizona_irq_thread() 139 } while (poll); arizona_irq_thread()
|
/linux-4.1.27/drivers/misc/mic/host/ |
H A D | mic_fops.c | 21 #include <linux/poll.h> 132 * We return POLLIN | POLLOUT from poll when new buffers are enqueued, and 134 * in the card->host (TX) path, when userspace is unblocked by poll it
|
/linux-4.1.27/net/llc/ |
H A D | llc_pdu.c | 27 * pdu_set_pf_bit - sets poll/final bit in LLC header 29 * @bit_value: poll/final bit (0 or 1). 31 * This function sets poll/final bit in LLC header (based on type of PDU). 55 * llc_pdu_decode_pf_bit - extracs poll/final bit from LLC header 57 * @pf_bit: poll/final bit (0 or 1) 59 * This function extracts poll/final bit from LLC header (based on type of
|
/linux-4.1.27/drivers/staging/octeon/ |
H A D | ethernet-xaui.c | 110 priv->poll = cvm_oct_xaui_poll; cvm_oct_xaui_open() 136 priv->poll = cvm_oct_xaui_poll; cvm_oct_xaui_init()
|
H A D | ethernet-rx.c | 169 * cvm_oct_napi_poll - the NAPI poll function. 430 * cvm_oct_poll_controller - poll for receive packets 433 * @dev: Device to poll. Unused
|
H A D | ethernet-sgmii.c | 110 priv->poll = cvm_oct_sgmii_poll; cvm_oct_sgmii_open()
|
H A D | octeon-ethernet.h | 63 void (*poll)(struct net_device *dev); member in struct:octeon_ethernet
|
/linux-4.1.27/include/sound/ |
H A D | hwdep.h | 26 #include <linux/poll.h> 40 unsigned int (*poll)(struct snd_hwdep *hw, struct file *file, member in struct:snd_hwdep_ops
|
H A D | pcm_oss.h | 51 size_t period_frames; /* period frames for poll */
|
/linux-4.1.27/include/media/ |
H A D | media-devnode.h | 31 #include <linux/poll.h> 47 unsigned int (*poll) (struct file *, struct poll_table_struct *); member in struct:media_file_operations
|
/linux-4.1.27/arch/avr32/kernel/ |
H A D | time.c | 93 * need to force idle poll. comparator_mode() 104 * Only disable idle poll if we have forced that comparator_mode()
|
/linux-4.1.27/drivers/isdn/mISDN/ |
H A D | dsp_core.c | 141 * must lock timer events by DSP poll timer. 169 static int poll; variable 175 module_param(poll, uint, S_IRUGO | S_IWUSR); 1131 dsp_poll = poll; dsp_init() 1134 printk(KERN_ERR "%s: Wrong poll value (%d), use %d " dsp_init() 1135 "maximum.\n", __func__, poll, MAX_POLL); dsp_init() 1140 printk(KERN_ERR "%s: Wrong poll value (%d), use 8 " dsp_init() 1145 dsp_tics = poll * HZ / 8000; dsp_init() 1146 if (dsp_tics * 8000 != poll * HZ) { dsp_init() 1149 "%d HZ.\n", poll, HZ); dsp_init() 1154 poll = 8; dsp_init() 1155 while (poll <= MAX_POLL) { dsp_init() 1156 tics = (poll * HZ) / 8000; dsp_init() 1157 if (tics * 8000 == poll * HZ) { dsp_init() 1159 dsp_poll = poll; dsp_init() 1160 if (poll >= 64) dsp_init() 1163 poll++; dsp_init()
|
H A D | dsp.h | 41 extern u32 dsp_poll_diff; /* calculated fix-comma corrected poll value */ 206 int last_tx; /* if set, we transmitted last poll interval */
|
H A D | timerdev.c | 20 #include <linux/poll.h> 272 .poll = mISDN_poll,
|
/linux-4.1.27/drivers/scsi/qla4xxx/ |
H A D | ql4_83xx.h | 198 /* Generic poll entry type. */ 264 uint32_t poll; member in struct:qla8044_minidump_entry_rddfe 281 uint32_t poll; member in struct:qla8044_minidump_entry_rdmdio 294 uint32_t poll; member in struct:qla8044_minidump_entry_pollwr
|
/linux-4.1.27/drivers/pci/hotplug/ |
H A D | cpcihp_zt5550.c | 61 static bool poll; variable 220 if (!poll) { zt5550_hc_init_one() 327 module_param(poll, bool, 0644); 328 MODULE_PARM_DESC(poll, "#ENUM polling mode enabled or not");
|
/linux-4.1.27/drivers/phy/ |
H A D | phy-qcom-apq8064-sata.c | 82 /* Helper function to do poll and timeout */ read_poll_timeout() 150 dev_err(phy->dev, "poll timeout UNIPHY_PLL_STATUS\n"); qcom_apq8064_sata_phy_init() 157 dev_err(phy->dev, "poll timeout SATA_PHY_TX_IMCAL_STAT\n"); qcom_apq8064_sata_phy_init() 164 dev_err(phy->dev, "poll timeout SATA_PHY_RX_IMCAL_STAT\n"); qcom_apq8064_sata_phy_init()
|
/linux-4.1.27/drivers/net/wireless/b43/ |
H A D | rfkill.c | 35 /* The poll callback for the hardware button. */ b43_rfkill_poll()
|
/linux-4.1.27/drivers/input/ |
H A D | input-polldev.c | 41 dev->poll(dev); input_polled_device_work() 54 dev->poll(dev); input_open_polled_device() 115 static DEVICE_ATTR(poll, S_IRUGO | S_IWUSR, input_polldev_get_poll, 291 * input_allocate_polled_device(). Callers should also set up poll()
|
/linux-4.1.27/drivers/char/ |
H A D | msm_smd_pkt.c | 32 #include <linux/poll.h> 227 DBG("poll waiting\n"); smd_pkt_poll() 232 DBG("poll return\n"); smd_pkt_poll() 357 .poll = smd_pkt_poll,
|
H A D | tile-srom.c | 50 * When hypervisor is busy (e.g. erasing), poll the status periodically. 54 * Interval to poll the state in msec 59 * Maximum times to poll the state
|
/linux-4.1.27/drivers/usb/gadget/function/ |
H A D | uvc_queue.h | 7 #include <linux/poll.h>
|
/linux-4.1.27/drivers/usb/mon/ |
H A D | mon_stat.c | 66 /* .poll = mon_stat_poll, */
|
/linux-4.1.27/arch/powerpc/sysdev/ |
H A D | i8259.c | 31 * acknowledge feature or poll. How i8259_init() is called determines 40 /* Either int-ack or poll for the IRQ */ i8259_irq() 48 outb(0x0C, 0x20); /* prepare for poll */ i8259_irq() 55 outb(0x0C, 0xA0); /* prepare for poll */ i8259_irq()
|
/linux-4.1.27/arch/mips/mti-malta/ |
H A D | malta-amon.c | 65 smp_wmb(); /* Target must see go before we poll */ amon_cpu_start()
|
/linux-4.1.27/net/atm/ |
H A D | common.h | 10 #include <linux/poll.h> /* for poll_table */
|
H A D | pvc.c | 116 .poll = vcc_poll,
|
/linux-4.1.27/tools/perf/python/ |
H A D | twatch.py | 30 evlist.poll(timeout = -1)
|
/linux-4.1.27/drivers/staging/rtl8188eu/hal/ |
H A D | rtl8188e_cmd.c | 465 /* (1)Beacon, (2)Ps-poll, (3)Null data, (4)ProbeRsp. */ 520 /* 3 (2) ps-poll *1 page */ SetFwRsvdPagePkt() 589 u32 poll = 0; rtl8188e_set_FwJoinBssReport_cmd() local 622 poll = 0; rtl8188e_set_FwJoinBssReport_cmd() 632 poll++; rtl8188e_set_FwJoinBssReport_cmd() 633 } while (!bcn_valid && (poll%10) != 0 && !adapt->bSurpriseRemoved && !adapt->bDriverStopped); rtl8188e_set_FwJoinBssReport_cmd() 639 DBG_88E("%s: 1 Download RSVD page failed! DLBcnCount:%u, poll:%u\n", __func__, DLBcnCount, poll); rtl8188e_set_FwJoinBssReport_cmd() 641 DBG_88E("%s: 1 Download RSVD success! DLBcnCount:%u, poll:%u\n", __func__, DLBcnCount, poll); rtl8188e_set_FwJoinBssReport_cmd()
|
/linux-4.1.27/drivers/media/ |
H A D | media-devnode.c | 108 struct poll_table_struct *poll) media_poll() 114 if (!mdev->fops->poll) media_poll() 116 return mdev->fops->poll(filp, poll); media_poll() 216 .poll = media_poll, 107 media_poll(struct file *filp, struct poll_table_struct *poll) media_poll() argument
|
/linux-4.1.27/arch/x86/kernel/cpu/mcheck/ |
H A D | mce_intel.c | 100 * Reset the counter if we've logged an error in the last poll mce_intel_cmci_poll() 152 * We switch back to interrupt mode once the poll timer has cmci_intel_adjust_timer() 154 * interval is back to our poll interval. cmci_intel_adjust_timer() 175 /* We have shiny weather. Let the poll do whatever it thinks. */ cmci_intel_adjust_timer() 208 pr_notice("CMCI storm detected: switching to poll mode\n"); cmci_storm_detect()
|
H A D | mce-inject.c | 136 printk(KERN_INFO "Starting machine check poll CPU %d\n", cpu); raise_local() 139 printk(KERN_INFO "Machine check poll done on CPU %d\n", cpu); raise_local()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/therm/ |
H A D | base.c | 91 bool poll = true; nvkm_therm_update() local 105 poll = false; nvkm_therm_update() 118 poll = false; nvkm_therm_update() 126 poll = false; nvkm_therm_update() 129 if (list_empty(&priv->alarm.head) && poll) nvkm_therm_update()
|
/linux-4.1.27/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_minidump.c | 448 "Timed out, aborting poll CRB\n"); qlcnic_dump_ctrl() 910 struct __pollrdmwr *poll = &entry->region.pollrdmwr; qlcnic_read_pollrdmwr() local 913 poll_wait = poll->poll_wait; qlcnic_read_pollrdmwr() 915 qlcnic_ind_wr(adapter, poll->addr1, poll->val1); qlcnic_read_pollrdmwr() 919 data = qlcnic_ind_rd(adapter, poll->addr1); qlcnic_read_pollrdmwr() 920 if ((data & poll->poll_mask) != 0) qlcnic_read_pollrdmwr() 932 data = qlcnic_ind_rd(adapter, poll->addr2) & poll->mod_mask; qlcnic_read_pollrdmwr() 933 qlcnic_ind_wr(adapter, poll->addr2, data); qlcnic_read_pollrdmwr() 934 qlcnic_ind_wr(adapter, poll->addr1, poll->val2); qlcnic_read_pollrdmwr() 938 temp = qlcnic_ind_rd(adapter, poll->addr1); qlcnic_read_pollrdmwr() 939 if ((temp & poll->poll_mask) != 0) qlcnic_read_pollrdmwr() 944 *buffer++ = cpu_to_le32(poll->addr2); qlcnic_read_pollrdmwr()
|
H A D | qlcnic_83xx_init.c | 84 /* Generic poll command */ 1839 struct qlc_83xx_poll *poll; qlcnic_83xx_poll_list() local 1843 poll = (struct qlc_83xx_poll *)((char *)p_hdr + qlcnic_83xx_poll_list() 1846 entry = (struct qlc_83xx_entry *)((char *)poll + qlcnic_83xx_poll_list() 1853 delay, poll->mask, qlcnic_83xx_poll_list() 1854 poll->status); qlcnic_83xx_poll_list() 1862 poll->mask, qlcnic_83xx_poll_list() 1863 poll->status)){ qlcnic_83xx_poll_list() 1883 struct qlc_83xx_poll *poll; qlcnic_83xx_poll_write_list() local 1885 poll = (struct qlc_83xx_poll *)((char *)p_hdr + qlcnic_83xx_poll_write_list() 1887 entry = (struct qlc_83xx_quad_entry *)((char *)poll + qlcnic_83xx_poll_write_list() 1898 poll->mask, poll->status); qlcnic_83xx_poll_write_list() 1930 /* Read and poll register command */ qlcnic_83xx_poll_read_list() 1937 struct qlc_83xx_poll *poll; qlcnic_83xx_poll_read_list() local 1940 poll = (struct qlc_83xx_poll *)((char *)p_hdr + qlcnic_83xx_poll_read_list() 1943 entry = (struct qlc_83xx_quad_entry *)((char *)poll + qlcnic_83xx_poll_read_list() 1952 poll->mask, poll->status)){ qlcnic_83xx_poll_read_list() 1992 * poll operations on hardware registers. Register information and operation
|
/linux-4.1.27/drivers/media/rc/ |
H A D | lirc_dev.c | 28 #include <linux/poll.h> 130 dev_dbg(ir->d.dev, LOGHEAD "poll thread started\n", lirc_thread() 149 dev_dbg(ir->d.dev, LOGHEAD "poll thread ended\n", lirc_thread() 160 .poll = lirc_dev_fop_poll, 267 if (!(d->fops && d->fops->read && d->fops->poll && lirc_register_driver() 270 "neither read, poll nor unlocked_ioctl can be NULL!\n"); lirc_register_driver() 352 "cannot run poll thread for minor = %d\n", lirc_register_driver() 551 dev_dbg(ir->d.dev, LOGHEAD "poll called\n", ir->d.name, ir->d.minor); lirc_dev_fop_poll() 566 dev_dbg(ir->d.dev, LOGHEAD "poll result = %d\n", lirc_dev_fop_poll()
|
/linux-4.1.27/drivers/macintosh/ |
H A D | via-macii.c | 118 static int srq_asserted; /* have to poll for the device that asserted it */ 192 /* Send an ADB poll (Talk Register 0 command prepended to the request queue) */ macii_queue_poll() 196 * poll the next device in the autopoll list. This could leave us macii_queue_poll() 233 /* Send an ADB request; if sync, poll out the reply 'till it's done */ macii_send_request() 374 * to be activity on the ADB bus. The chip will poll to achieve this. 529 /* SRQ seen before, initiate poll now */ macii_interrupt()
|
/linux-4.1.27/drivers/char/pcmcia/ |
H A D | cm4040_cs.c | 7 * - add support for poll() 26 #include <linux/poll.h> 59 /* how often to poll for fifo status change */ 105 /* poll the device fifo status register. not to be confused with 106 * the poll syscall. */ cm4040_do_poll() 632 .poll = cm4040_poll,
|
/linux-4.1.27/fs/kernfs/ |
H A D | file.c | 14 #include <linux/poll.h> 38 wait_queue_head_t poll; member in struct:kernfs_open_node 573 init_waitqueue_head(&new_on->poll); kernfs_get_open_node() 770 * the content and then you use 'poll' or 'select' to wait for 772 * manager for the kobject supports notification), poll will 775 * Once poll/select indicates that the value has changed, you 779 * to see if it supports poll (Neither 'poll' nor 'select' return 792 poll_wait(filp, &on->poll, wait); kernfs_fop_poll() 822 /* kick poll */ kernfs_notify_workfn() 828 wake_up_interruptible(&on->poll); kernfs_notify_workfn() 864 * Notify @kn such that poll(2) on @kn wakes up. Maybe be called from any 893 .poll = kernfs_fop_poll,
|
/linux-4.1.27/drivers/isdn/hardware/eicon/ |
H A D | divamnt.c | 16 #include <linux/poll.h> 177 .poll = maint_poll,
|
H A D | divasproc.c | 15 #include <linux/poll.h> 122 .poll = divas_poll,
|
/linux-4.1.27/drivers/net/wireless/ath/wil6210/ |
H A D | netdev.c | 91 wil_dbg_txrx(wil, "NAPI RX poll(%d) done %d\n", budget, done); wil6210_netdev_poll_rx() 119 wil_dbg_txrx(wil, "NAPI TX poll(%d) done %d\n", budget, tx_done); wil6210_netdev_poll_tx()
|
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_mfw_req.h | 95 /* TX Descriptor Queue Avg Depth. % Avg Queue Depth since last poll */ 97 /* RX Descriptors Queue Avg Depth. % Avg Queue Depth since last poll */
|
/linux-4.1.27/drivers/input/keyboard/ |
H A D | clps711x-keypad.c | 133 err = of_property_read_u32(np, "poll-interval", &poll_interval); clps711x_keypad_probe() 142 poll_dev->poll = clps711x_keypad_poll; clps711x_keypad_probe()
|
/linux-4.1.27/drivers/edac/ |
H A D | octeon_edac-l2c.c | 159 l2t_err.s.sec_intena = 0; /* We poll */ octeon_l2c_probe() 164 l2d_err.s.sec_intena = 0; /* We poll */ octeon_l2c_probe()
|
/linux-4.1.27/include/net/ |
H A D | busy_poll.h | 2 * net busy poll support 55 /* in poll/select we use the global sysctl_net_ll_poll value */ busy_loop_end_time()
|
/linux-4.1.27/arch/powerpc/platforms/powermac/ |
H A D | udbg_adb.c | 129 * hack that doesn't quite concern us here, thus we just poll the low level 130 * ADB driver to prevent it from timing out and call back the original poll
|
/linux-4.1.27/Documentation/connector/ |
H A D | ucon.c | 26 #include <sys/poll.h> 207 switch (poll(&pfd, 1, -1)) { main()
|
/linux-4.1.27/net/core/ |
H A D | netpoll.c | 134 * we attempt to grab the poll lock and use ->poll() to pump the card. 135 * If this fails, either we've recursed in ->poll() or it's already 147 /* net_rx_action's ->poll() invocations and our's are poll_one_napi() 156 work = napi->poll(napi, budget); poll_one_napi() 157 WARN_ONCE(work > budget, "%pF exceeded budget in poll\n", napi->poll); poll_one_napi() 361 "netpoll_send_skb_on_dev(): %s enabled interrupts in poll (%pF)\n", netpoll_send_skb_on_dev()
|
H A D | datagram.c | 8 * NetROM layer all have identical poll code and mostly 9 * identical recvmsg() code. So we share it here. The poll was 24 * Alan Cox : Fixed write poll of non IP protocol 47 #include <linux/poll.h> 739 * datagram_poll - generic datagram poll 742 * @wait: poll table 744 * Datagram poll: Again totally generic. This also handles
|
/linux-4.1.27/kernel/events/ |
H A D | internal.h | 22 atomic_t poll; /* POLL_ for wakeups */ member in struct:ring_buffer 32 /* poll crap */
|
/linux-4.1.27/drivers/isdn/hardware/mISDN/ |
H A D | hfcpci.c | 29 * NOTE: only one poll value must be given for all cards 32 * poll: 33 * NOTE: only one poll value must be given for all cards 60 static uint poll, tics; variable 67 module_param(poll, uint, S_IRUGO | S_IWUSR); 543 * check for transparent receive data and read max one 'poll' size if avail 822 /* maximum fill shall be poll*2 */ hfcpci_fill_fifo() 823 if (count > (poll << 1) - fcnt) hfcpci_fill_fifo() 824 count = (poll << 1) - fcnt; hfcpci_fill_fifo() 2103 mISDN_initbchannel(&card->bch[i], MAX_DATA_MEM, poll >> 1); setup_card() 2315 if (!poll) HFC_init() 2316 poll = HFCPCI_BTRANS_THRESHOLD; HFC_init() 2318 if (poll != HFCPCI_BTRANS_THRESHOLD) { HFC_init() 2319 tics = (poll * HZ) / 8000; HFC_init() 2322 poll = (tics * 8000) / HZ; HFC_init() 2323 if (poll > 256 || poll < 8) { HFC_init() 2324 printk(KERN_ERR "%s: Wrong poll value %d not in range " HFC_init() 2325 "of 8..256.\n", __func__, poll); HFC_init() 2330 if (poll != HFCPCI_BTRANS_THRESHOLD) { HFC_init() 2331 printk(KERN_INFO "%s: Using alternative poll value of %d\n", HFC_init() 2332 __func__, poll); HFC_init()
|
/linux-4.1.27/drivers/iio/ |
H A D | industrialio-event.c | 18 #include <linux/poll.h> 77 * iio_event_poll() - poll the event queue to find out if it has data 163 .poll = iio_event_poll, 511 * Wakes up the event waitqueue used for poll() and blocking read().
|
/linux-4.1.27/drivers/net/wan/ |
H A D | hdlc_raw.c | 20 #include <linux/poll.h>
|
H A D | hdlc_raw_eth.c | 22 #include <linux/poll.h>
|
/linux-4.1.27/drivers/misc/sgi-gru/ |
H A D | gru.h | 70 #define GRU_OPT_MISS_USER_POLL 0x0001 /* User will poll CB for faults */
|
/linux-4.1.27/drivers/scsi/qla2xxx/ |
H A D | qla_nx2.h | 240 /* Generic poll entry type. */ 442 uint32_t poll; member in struct:qla8044_minidump_entry_rddfe 459 uint32_t poll; member in struct:qla8044_minidump_entry_rdmdio 472 uint32_t poll; member in struct:qla8044_minidump_entry_pollwr
|
H A D | qla_nx2.c | 661 /* poll every 1/10 of the total duration */ qla8044_poll_reg() 691 * qla8044_poll_list - For all entries in the POLL_LIST header, poll read CRB 712 /* Entries start after 8 byte qla8044_poll, poll header contains qla8044_poll_list() 783 "%s: Timeout Error: poll list, ", qla8044_poll_write_list() 898 "%s: Timeout Error: poll " qla8044_poll_read_list() 2116 /* don't poll if reset is going on or FW hang in quiescent state */ qla8044_watchdog() 2995 uint32_t poll, mask, data_size, modify_mask; qla8044_minidump_process_rddfe() local 3009 poll = rddfe->poll; qla8044_minidump_process_rddfe() 3020 while (wait_count < poll) { qla8044_minidump_process_rddfe() 3027 if (wait_count == poll) { qla8044_minidump_process_rddfe() 3041 while (wait_count < poll) { qla8044_minidump_process_rddfe() 3047 if (wait_count == poll) { qla8044_minidump_process_rddfe() 3056 while (wait_count < poll) { qla8044_minidump_process_rddfe() 3063 if (wait_count == poll) { qla8044_minidump_process_rddfe() 3094 uint32_t poll, mask; qla8044_minidump_process_rdmdio() local 3108 poll = rdmdio->poll; qla8044_minidump_process_rdmdio() 3168 uint32_t addr1, addr2, value1, value2, poll, mask, r_value; qla8044_minidump_process_pollwr() local 3178 poll = pollwr_hdr->poll; qla8044_minidump_process_pollwr() 3181 while (wait_count < poll) { qla8044_minidump_process_pollwr() 3184 if ((r_value & poll) != 0) qla8044_minidump_process_pollwr() 3189 if (wait_count == poll) { qla8044_minidump_process_pollwr() 3198 while (wait_count < poll) { qla8044_minidump_process_pollwr() 3201 if ((r_value & poll) != 0) qla8044_minidump_process_pollwr() 3927 * Control register and poll till Legacy Interrupt Pointer register qla8044_intr_handler()
|
/linux-4.1.27/drivers/staging/media/lirc/ |
H A D | lirc_zilog.c | 47 #include <linux/poll.h> 230 /* Put the ir ptr that ir_probe() gave to the rx poll thread */ destroy_rx_kthread() 242 * to keep the rx_ref_lock a spinlock, and killing the poll thread release_ir_rx() 249 /* Don't do the kfree(rx) here; we still need to kill the poll thread */ release_ir_rx() 366 * Send random "poll command" (?) Windows driver does this add_to_buf() 468 dev_dbg(ir->l.dev, "poll thread started\n"); lirc_thread() 481 * We use this interval as the chip resets every time you poll lirc_thread() 496 dev_dbg(ir->l.dev, "poll thread ended\n"); lirc_thread() 1208 static unsigned int poll(struct file *filep, poll_table *wait) poll() function 1215 dev_dbg(ir->l.dev, "poll called\n"); poll() 1220 * Revisit this, if our poll function ever reports writeable poll() 1223 dev_dbg(ir->l.dev, "poll result = POLLERR\n"); poll() 1229 * that buffer's wait queue indicates we may have a new poll status. poll() 1236 dev_dbg(ir->l.dev, "poll result = %s\n", poll() 1383 .poll = poll,
|
/linux-4.1.27/drivers/net/wireless/b43legacy/ |
H A D | rfkill.c | 51 /* The poll callback for the hardware button. */ b43legacy_rfkill_poll()
|
/linux-4.1.27/drivers/gpu/drm/mgag200/ |
H A D | mgag200_drv.c | 83 .poll = drm_poll,
|
/linux-4.1.27/drivers/clocksource/ |
H A D | scx200_hrt.c | 6 * time stamp counter (TSC), which loses time unless 'idle=poll' is
|
/linux-4.1.27/arch/x86/um/ |
H A D | user-offsets.c | 4 #include <sys/poll.h>
|
/linux-4.1.27/drivers/gpu/drm/savage/ |
H A D | savage_drv.c | 44 .poll = drm_poll,
|
/linux-4.1.27/drivers/gpu/drm/tdfx/ |
H A D | tdfx_drv.c | 51 .poll = drm_poll,
|
/linux-4.1.27/drivers/gpu/drm/udl/ |
H A D | udl_drv.c | 29 .poll = drm_poll,
|
/linux-4.1.27/drivers/vme/boards/ |
H A D | vme_vmivme7805.c | 17 #include <linux/poll.h>
|
/linux-4.1.27/arch/powerpc/include/asm/ |
H A D | delay.h | 49 * This primary purpose of this macro is to poll on a hardware register
|
H A D | ucc_fast.h | 228 * Immediately forces a poll of the transmitter for data to be sent. 229 * Typically, the hardware performs a periodic poll for data that the 232 * be invoked to force a poll right away, instead. Proper use for
|
/linux-4.1.27/arch/frv/kernel/ |
H A D | irq-mb93093.c | 87 /* poll all the triggered IRQs */ fpga_interrupt()
|
H A D | irq-mb93091.c | 89 /* poll all the triggered IRQs */ fpga_interrupt()
|
H A D | irq-mb93493.c | 100 /* poll all the triggered IRQs */ mb93493_interrupt()
|
/linux-4.1.27/Documentation/mic/mpssd/ |
H A D | mpssd.h | 36 #include <sys/poll.h>
|
H A D | mpssd.c | 30 #include <poll.h> 482 err = poll(&pollfd, 1, -1); wait_for_card_driver() 484 mpsslog("%s %s poll failed %s\n", wait_for_card_driver() 493 mpsslog("%s %s poll.revents %d\n", wait_for_card_driver() 572 err = poll(net_poll, 2, -1); virtio_net() 574 mpsslog("%s poll failed %s\n", virtio_net() 783 err = poll(console_poll, MAX_CONSOLE_FD, -1); virtio_console() 785 mpsslog("%s %d: poll failed: %s\n", __func__, __LINE__, virtio_console() 1175 ret = poll(&block_poll, 1, 1000); virtio_block() 1177 mpsslog("%s %d: poll failed: %s\n", virtio_block() 1456 ret = poll(ufds, 1, -1); mic_config() 1458 mpsslog("%s: poll failed %s\n", mic_config()
|
/linux-4.1.27/net/irda/irnet/ |
H A D | irnet_ppp.h | 103 .poll = dev_irnet_poll,
|
/linux-4.1.27/drivers/isdn/icn/ |
H A D | icn.h | 70 #define ICN_FLAGS_RBTIMER 8 /* cyclic scheduling of B-Channel-poll */ 74 #define ICN_TIMER_BCREAD (HZ / 100) /* B-Channel poll-cycle */ 75 #define ICN_TIMER_DCREAD (HZ / 2) /* D-Channel poll-cycle */
|
/linux-4.1.27/drivers/mmc/core/ |
H A D | sdio_irq.c | 60 /* A fake interrupt could be created when we poll SDIO_CCCR_INTx process_sdio_pending_irqs() 114 * hence we poll for them in that case. sdio_irq_thread() 120 pr_debug("%s: IRQ thread started (poll period = %lu jiffies)\n", sdio_irq_thread()
|
/linux-4.1.27/drivers/usb/atm/ |
H A D | cxacru.c | 354 int poll = -1; cxacru_sysfs_store_adsl_state() local 381 poll = CXPOLL_STOPPED; cxacru_sysfs_store_adsl_state() 401 poll = CXPOLL_POLLING; cxacru_sysfs_store_adsl_state() 405 if (!strcmp(str_cmd, "poll")) { cxacru_sysfs_store_adsl_state() 407 poll = CXPOLL_POLLING; cxacru_sysfs_store_adsl_state() 412 poll = -1; cxacru_sysfs_store_adsl_state() 415 if (poll == CXPOLL_POLLING) { cxacru_sysfs_store_adsl_state() 429 poll = -1; cxacru_sysfs_store_adsl_state() 432 } else if (poll == CXPOLL_STOPPED) { cxacru_sysfs_store_adsl_state() 442 if (poll == CXPOLL_POLLING) cxacru_sysfs_store_adsl_state() 829 atm_warn(usbatm, "poll status: error %d\n", ret); cxacru_poll_status() 837 " to 'start' or 'poll' to resume\n"); cxacru_poll_status()
|
/linux-4.1.27/tools/hv/ |
H A D | hv_vss_daemon.c | 23 #include <sys/poll.h> 278 if (poll(&pfd, 1, -1) < 0) { main() 279 syslog(LOG_ERR, "poll failed; error:%d %s", errno, strerror(errno)); main()
|
/linux-4.1.27/tools/perf/bench/ |
H A D | sched-messaging.c | 29 #include <poll.h> 78 if (poll(&pollfd, 1, -1) != 1) ready() 79 err(EXIT_FAILURE, "poll"); ready()
|
/linux-4.1.27/tools/virtio/ |
H A D | virtio_test.c | 4 #include <poll.h> 139 * for the wait queue on poll and another one on read, 146 poll(dev->fds, dev->nvqs, -1); wait_for_interrupt()
|
/linux-4.1.27/drivers/mailbox/ |
H A D | mailbox.c | 134 mod_timer(&mbox->poll, jiffies + poll_txdone() 420 mbox->poll.function = &poll_txdone; mbox_controller_register() 421 mbox->poll.data = (unsigned long)mbox; mbox_controller_register() 422 init_timer(&mbox->poll); mbox_controller_register() 464 del_timer_sync(&mbox->poll); mbox_controller_unregister()
|
/linux-4.1.27/drivers/ide/ |
H A D | ide-eh.c | 162 * atapi_reset_pollfunc() gets invoked to poll the interface for completion 218 * reset_pollfunc() gets invoked to poll the interface for completion every 50ms 329 * us know when the reset operation has finished, so we must poll for this. 332 * we set a timer to poll at 50ms intervals. 404 * This single interrupt gives us a "fast poll" for drives that
|
/linux-4.1.27/drivers/media/i2c/ |
H A D | ir-kbd-i2c.c | 71 /* poll IR chip */ get_key_haup_common() 120 * This is the same apparent "are you ready?" poll command observed get_key_haup_xvr() 137 /* poll IR chip */ get_key_pixelview() 154 /* poll IR chip */ get_key_fusionhdtv() 179 /* poll IR chip */ get_key_knc1()
|
/linux-4.1.27/drivers/misc/cxl/ |
H A D | file.c | 16 #include <linux/poll.h> 249 static unsigned int afu_poll(struct file *file, struct poll_table_struct *poll) afu_poll() argument 256 poll_wait(file, &ctx->wq, poll); afu_poll() 365 .poll = afu_poll, 376 .poll = afu_poll,
|
/linux-4.1.27/fs/cachefiles/ |
H A D | daemon.c | 20 #include <linux/poll.h> 57 .poll = cachefiles_daemon_poll, 290 * poll for culling state 294 struct poll_table_struct *poll) cachefiles_daemon_poll() 299 poll_wait(file, &cache->daemon_pollwq, poll); cachefiles_daemon_poll() 293 cachefiles_daemon_poll(struct file *file, struct poll_table_struct *poll) cachefiles_daemon_poll() argument
|
/linux-4.1.27/fs/ecryptfs/ |
H A D | miscdev.c | 26 #include <linux/poll.h> 37 * @pt: dev poll table (ignored) 39 * Returns the poll mask 49 printk(KERN_WARNING "%s: Attempt to poll on zombified " ecryptfs_miscdev_poll() 465 .poll = ecryptfs_miscdev_poll,
|
/linux-4.1.27/net/9p/ |
H A D | trans_fd.c | 119 * @pt: poll state 243 if (!ts->rd->f_op->poll) p9_fd_poll() 246 if (!ts->wr->f_op->poll) p9_fd_poll() 249 ret = ts->rd->f_op->poll(ts->rd, pt); p9_fd_poll() 254 n = ts->wr->f_op->poll(ts->wr, pt); p9_fd_poll() 538 * p9_pollwait - add poll task to the wait queue 541 * @p: poll state 543 * called by files poll operation to add v9fs-poll task to files wait queue 610 * @m: connection to poll 1071 * p9_poll_proc - poll worker thread
|
/linux-4.1.27/drivers/tty/ |
H A D | metag_da.c | 54 /* A speedy poll rate helps the userland debug process connection response. 97 * This protects between the poll timer and user context. 192 * find_channel_to_poll() - Returns number of the next channel to poll. 193 * Returns: The number of the next channel to poll, or -1 if none need 316 /* If there are no ports open do nothing and don't poll again. */ dashtty_timer() 322 /* Did we find a channel to poll? */ dashtty_timer() 361 * Don't add the poll timer if we're opening a console. This dashtty_port_activate()
|
/linux-4.1.27/net/nfc/nci/ |
H A D | ntf.c | 418 struct activation_params_poll_nfc_dep *poll; nci_extract_activation_params_nfc_dep() local 424 poll = &ntf->activation_params.poll_nfc_dep; nci_extract_activation_params_nfc_dep() 425 poll->atr_res_len = min_t(__u8, *data++, nci_extract_activation_params_nfc_dep() 427 pr_debug("atr_res_len %d\n", poll->atr_res_len); nci_extract_activation_params_nfc_dep() 428 if (poll->atr_res_len > 0) nci_extract_activation_params_nfc_dep() 429 memcpy(poll->atr_res, data, poll->atr_res_len); nci_extract_activation_params_nfc_dep()
|
/linux-4.1.27/drivers/s390/crypto/ |
H A D | ap_bus.c | 87 MODULE_PARM_DESC(poll_thread, "Turn on/off poll thread, default is 0 (off)."); 112 /* In LPAR poll with 4kHz frequency. Poll every 250000 nanoseconds. 1154 /* 120 seconds = maximum poll interval */ poll_timeout_store() 1523 * __ap_schedule_poll_timer(): Schedule poll timer. 1525 * Set up the timer to run the poll tasklet 1541 * ap_schedule_poll_timer(): Schedule poll timer. 1543 * Set up the timer to run the poll tasklet 1555 * @flags: pointer to control flags, bit 2^0 is set if another poll is 1556 * required, bit 2^1 is set if the poll timer needs to get armed 1604 * @flags: pointer to control flags, bit 2^0 is set if another poll is 1605 * required, bit 2^1 is set if the poll timer needs to get armed 1650 * @flags: pointer to control flags, bit 2^0 is set if another poll is 1651 * required, bit 2^1 is set if the poll timer needs to get armed 1826 * of the control flags has been set arm the poll timer. 1857 * AP bus poll thread. The purpose of this thread is to poll for 2042 /* Setup the high resultion poll timer. ap_module_init() 2051 /* Start the low priority AP bus poll thread. */ ap_module_init()
|
/linux-4.1.27/net/irda/ |
H A D | irlap_frame.c | 580 * only possible to send RR frames with the poll bit set. 713 * Send I-frames as the primary station but without the poll bit set 755 * Send I(nformation) frame as primary with poll bit set 788 * Set poll bit if necessary. We do this to the copied irlap_send_data_primary_poll() 789 * skb, since retransmitted need to set or clear the poll irlap_send_data_primary_poll() 994 /* Clear old Nr field + poll bit */ irlap_resend_rejected_frames() 998 * Set poll bit on the last frame retransmitted irlap_resend_rejected_frames() 1057 /* Clear old Nr field + poll bit */ irlap_resend_rejected_frame() 1060 /* Set poll/final bit */ irlap_resend_rejected_frame() 1322 info.control = skb->data[1] & ~PF_BIT; /* Mask away poll/final bit */ irlap_driver_rcv()
|
/linux-4.1.27/drivers/tty/serial/ |
H A D | sccnxp.c | 127 bool poll; member in struct:sccnxp_port 907 dev_info(&pdev->dev, "Using poll mode, resolution %u usecs\n", sccnxp_probe() 909 s->poll = 1; sccnxp_probe() 912 if (!s->poll) { sccnxp_probe() 965 if (!s->poll) { sccnxp_probe() 996 if (!s->poll) sccnxp_remove()
|
/linux-4.1.27/drivers/isdn/hysdn/ |
H A D | hysdn_proclog.c | 14 #include <linux/poll.h> 284 /* select/poll routine to be able using select() */ 313 .poll = hysdn_log_poll,
|
/linux-4.1.27/drivers/net/wireless/iwlwifi/ |
H A D | iwl-op-mode.h | 156 int (*poll)(struct napi_struct *, int), 266 int (*poll)(struct napi_struct *, int), iwl_op_mode_napi_add() 271 op_mode->ops->napi_add(op_mode, napi, napi_dev, poll, weight); iwl_op_mode_napi_add()
|
/linux-4.1.27/fs/coda/ |
H A D | psdev.c | 35 #include <linux/poll.h> 42 #include <asm/poll.h> 348 .poll = coda_psdev_poll,
|
/linux-4.1.27/kernel/time/ |
H A D | posix-clock.c | 77 if (clk->ops.poll) posix_clock_poll() 78 result = clk->ops.poll(clk, fp, wait); posix_clock_poll() 198 .poll = posix_clock_poll,
|
/linux-4.1.27/samples/uhid/ |
H A D | uhid-example.c | 41 #include <poll.h> 435 ret = poll(pfds, 2, -1); main() 437 fprintf(stderr, "Cannot poll for fds: %m\n"); main()
|
/linux-4.1.27/drivers/macintosh/ams/ |
H A D | ams-input.c | 70 ams_info.idev->poll = ams_idev_poll; ams_input_enable()
|
/linux-4.1.27/drivers/mmc/host/ |
H A D | sdhci-msm.c | 67 static inline int msm_dll_poll_ck_out_en(struct sdhci_host *host, u8 poll) msm_dll_poll_ck_out_en() argument 73 /* Poll for CK_OUT_EN bit. max. poll time = 50us */ msm_dll_poll_ck_out_en() 77 while (ck_out_en != poll) { msm_dll_poll_ck_out_en() 80 mmc_hostname(mmc), poll); msm_dll_poll_ck_out_en() local
|
/linux-4.1.27/drivers/media/usb/cx231xx/ |
H A D | cx231xx-input.c | 35 /* poll IR chip */ get_key_isdbt()
|
/linux-4.1.27/drivers/net/wireless/ti/wl1251/ |
H A D | ps.c | 87 * solution to simplify locking, let's poll instead wl1251_ps_elp_wakeup()
|
/linux-4.1.27/drivers/gpu/drm/bochs/ |
H A D | bochs_drv.c | 75 .poll = drm_poll,
|
/linux-4.1.27/drivers/gpu/drm/cirrus/ |
H A D | cirrus_drv.c | 127 .poll = drm_poll,
|
/linux-4.1.27/drivers/gpu/drm/i810/ |
H A D | i810_drv.c | 51 .poll = drm_poll,
|
/linux-4.1.27/drivers/infiniband/hw/ipath/ |
H A D | ipath_cq.c | 119 * ipath_poll_cq - poll for work completion entries 120 * @ibcq: the completion queue to poll 137 /* The kernel can only poll a kernel completion queue */ ipath_poll_cq() 173 * and poll for all pending entries. If a new completion entry send_complete()
|
/linux-4.1.27/drivers/infiniband/hw/qib/ |
H A D | qib_cq.c | 126 * qib_poll_cq - poll for work completion entries 127 * @ibcq: the completion queue to poll 144 /* The kernel can only poll a kernel completion queue */ qib_poll_cq() 180 * and poll for all pending entries. If a new completion entry send_complete()
|
/linux-4.1.27/drivers/input/mouse/ |
H A D | gpio_mouse.c | 107 input_poll->poll = gpio_mouse_scan; gpio_mouse_probe()
|
/linux-4.1.27/arch/x86/kvm/ |
H A D | irq.h | 49 u8 poll; member in struct:kvm_kpic_state
|
/linux-4.1.27/drivers/gpu/drm/msm/edp/ |
H A D | edp_connector.c | 143 /* We don't support HPD, so only poll status until connected. */ msm_edp_connector_init()
|
/linux-4.1.27/drivers/gpu/drm/r128/ |
H A D | r128_drv.c | 50 .poll = drm_poll,
|
/linux-4.1.27/drivers/block/ |
H A D | cciss_scsi.h | 53 inside the error handlers, and, the error handlers cannot poll
|
/linux-4.1.27/drivers/acpi/ |
H A D | event.c | 13 #include <linux/poll.h>
|
/linux-4.1.27/drivers/ata/ |
H A D | pata_isapnp.c | 34 /* No altstatus so we don't want to use the lost interrupt poll */
|
/linux-4.1.27/drivers/gpu/drm/sis/ |
H A D | sis_drv.c | 74 .poll = drm_poll,
|
/linux-4.1.27/drivers/gpu/drm/via/ |
H A D | via_drv.c | 66 .poll = drm_poll,
|
/linux-4.1.27/drivers/media/common/saa7146/ |
H A D | saa7146_fops.c | 331 DEB_EE("file:%p, poll:%p\n", file, wait); __fops_poll() 354 DEB_D("poll succeeded!\n"); __fops_poll() 358 DEB_D("nothing to poll for, buf->state:%d\n", buf->state); __fops_poll() 434 .poll = fops_poll,
|
/linux-4.1.27/include/net/iucv/ |
H A D | af_iucv.h | 15 #include <linux/poll.h>
|
/linux-4.1.27/arch/mips/include/asm/sn/ |
H A D | launch.h | 23 * function, then returns to the slave loop. The master may poll or wait
|
/linux-4.1.27/arch/powerpc/kernel/ |
H A D | sys_ppc32.c | 29 #include <linux/poll.h>
|
/linux-4.1.27/arch/m68k/mvme16x/ |
H A D | rtc.c | 16 #include <linux/poll.h>
|
/linux-4.1.27/kernel/irq/ |
H A D | spurious.c | 30 * If the poll runs on this CPU, then we yell loudly and return 41 "irq poll in progress on cpu %d for irq %d\n", irq_wait_for_poll() 80 * Do not poll disabled interrupts unless the spurious try_one_irq() 105 /* Mark it poll in progress */ try_one_irq()
|
/linux-4.1.27/net/rds/ |
H A D | af_rds.c | 38 #include <linux/poll.h> 154 * RDS' poll is without a doubt the least intuitive part of the interface, 186 * "historical" reasons. Applications can also poll for rds_poll() 397 .poll = rds_poll,
|
/linux-4.1.27/sound/core/seq/ |
H A D | seq_memory.h | 25 #include <linux/poll.h>
|
/linux-4.1.27/sound/firewire/bebob/ |
H A D | bebob_hwdep.c | 178 .poll = hwdep_poll,
|
/linux-4.1.27/sound/firewire/dice/ |
H A D | dice-hwdep.c | 173 .poll = hwdep_poll, snd_dice_create_hwdep()
|
/linux-4.1.27/sound/firewire/oxfw/ |
H A D | oxfw-hwdep.c | 173 .poll = hwdep_poll, snd_oxfw_create_hwdep()
|
/linux-4.1.27/drivers/isdn/divert/ |
H A D | divert_procfs.c | 13 #include <linux/poll.h> 285 .poll = isdn_divert_poll,
|
/linux-4.1.27/drivers/media/pci/ttpci/ |
H A D | av7110_ca.c | 36 #include <linux/poll.h> 365 .poll = dvb_ca_poll,
|
/linux-4.1.27/drivers/media/usb/au0828/ |
H A D | au0828-core.c | 157 dev->usbdev is NULL, for poll (e.g: IR) try to access au0828_usb_disconnect() 159 Set the status so poll routines can check and avoid au0828_usb_disconnect()
|