/drivers/input/misc/ |
H A D | wm831x-on.c | 39 * then need to poll to see when the pin is deasserted. 46 int poll, ret; local 50 poll = !(ret & WM831X_ON_PIN_STS); 52 input_report_key(wm831x_on->dev, KEY_POWER, poll); 56 poll = 1; 59 if (poll)
|
/drivers/staging/octeon/ |
H A D | octeon-ethernet.h | 59 void (*poll) (struct net_device *dev); member in struct:octeon_ethernet
|
/drivers/media/ |
H A D | media-devnode.c | 106 struct poll_table_struct *poll) 112 if (!mdev->fops->poll) 114 return mdev->fops->poll(filp, poll); 190 .poll = media_poll, 105 media_poll(struct file *filp, struct poll_table_struct *poll) argument
|
/drivers/input/touchscreen/ |
H A D | tps6507x-ts.c | 171 int poll = 0; local 212 poll = 1; 216 /* always poll if not using interrupts */ 217 poll = 1; 219 if (poll) {
|
/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); 1128 dsp_poll = poll; 1131 printk(KERN_ERR "%s: Wrong poll value (%d), use %d " 1132 "maximum.\n", __func__, poll, MAX_POLL); 1137 printk(KERN_ERR "%s: Wrong poll value (%d), use 8 " 1142 dsp_tics = poll * HZ / 8000; 1143 if (dsp_tics * 8000 != poll * HZ) { 1146 "%d HZ.\n", poll, H [all...] |
/drivers/pci/hotplug/ |
H A D | cpcihp_zt5550.c | 61 static bool poll; variable 221 if(!poll) { 327 module_param(poll, bool, 0644); 328 MODULE_PARM_DESC(poll, "#ENUM polling mode enabled or not");
|
H A D | pciehp_hpc.c | 152 static void pcie_wait_cmd(struct controller *ctrl, int poll) argument 158 if (poll) 228 int poll = 0; local 231 * completed interrupt is not enabled, we need to poll 236 poll = 1; 237 pcie_wait_cmd(ctrl, poll);
|
/drivers/gpu/drm/ |
H A D | drm_crtc_helper.c | 43 module_param_named(poll, drm_kms_helper_poll, bool, 0600); 945 /* if we are connected and don't want to poll for disconnect 984 bool poll = false; local 992 poll = true; 995 if (poll)
|
/drivers/media/video/ |
H A D | v4l2-dev.c | 303 static unsigned int v4l2_poll(struct file *filp, struct poll_table_struct *poll) argument 308 if (!vdev->fops->poll) 313 ret = vdev->fops->poll(filp, poll); 471 .poll = v4l2_poll,
|
/drivers/tty/vt/ |
H A D | vc_screen.c | 37 #include <linux/poll.h> 66 struct vcs_poll_data *poll = local 68 int currcons = poll->cons_num; 80 poll->seen_last_update = false; 81 wake_up_interruptible(&poll->waitq); 82 kill_fasync(&poll->fasync, SIGIO, POLL_IN); 87 vcs_poll_data_free(struct vcs_poll_data *poll) argument 89 unregister_vt_notifier(&poll->notifier); 90 kfree(poll); 96 struct vcs_poll_data *poll local 214 struct vcs_poll_data *poll; local 577 struct vcs_poll_data *poll = vcs_poll_data_get(file); local 591 struct vcs_poll_data *poll = file->private_data; local 620 struct vcs_poll_data *poll = file->private_data; local [all...] |
/drivers/vhost/ |
H A D | vhost.h | 8 #include <linux/poll.h> 46 void vhost_poll_init(struct vhost_poll *poll, vhost_work_fn_t fn, 48 void vhost_poll_start(struct vhost_poll *poll, struct file *file); 49 void vhost_poll_stop(struct vhost_poll *poll); 50 void vhost_poll_flush(struct vhost_poll *poll); 51 void vhost_poll_queue(struct vhost_poll *poll); 87 struct vhost_poll poll; member in struct:vhost_virtqueue
|
H A D | net.c | 60 struct vhost_poll poll[VHOST_NET_VQ_MAX]; member in struct:vhost_net 116 vhost_poll_stop(net->poll + VHOST_NET_VQ_TX); 125 vhost_poll_start(net->poll + VHOST_NET_VQ_TX, sock->file); 271 vhost_poll_queue(&vq->poll); 460 vhost_poll_queue(&vq->poll); 471 poll.work); 480 poll.work); 489 poll[VHOST_NET_VQ_TX].work); 496 poll[VHOST_NET_VQ_RX].work); 518 vhost_poll_init(n->poll [all...] |
H A D | vhost.c | 22 #include <linux/poll.h> 48 struct vhost_poll *poll; local 50 poll = container_of(pt, struct vhost_poll, table); 51 poll->wqh = wqh; 52 add_wait_queue(wqh, &poll->wait); 58 struct vhost_poll *poll = container_of(wait, struct vhost_poll, wait); local 60 if (!((unsigned long)key & poll->mask)) 63 vhost_poll_queue(poll); 76 /* Init poll structure */ 77 void vhost_poll_init(struct vhost_poll *poll, vhost_work_fn_ argument 90 vhost_poll_start(struct vhost_poll *poll, struct file *file) argument 101 vhost_poll_stop(struct vhost_poll *poll) argument 135 vhost_poll_flush(struct vhost_poll *poll) argument 154 vhost_poll_queue(struct vhost_poll *poll) argument [all...] |
/drivers/input/mouse/ |
H A D | psmouse.h | 74 int (*poll)(struct psmouse *psmouse); member in struct:psmouse
|
/drivers/mfd/ |
H A D | tps65010.c | 322 u8 tmp = 0, mask, poll; local 327 poll = 0; 352 poll = 1; 396 /* always poll to detect (a) power removal, without tps65013 401 poll = 1; 402 if (poll) 617 /* unmask the "interesting" irqs, then poll once to
|
/drivers/isdn/hardware/mISDN/ |
H A D | hfcsusb.c | 27 * poll=<n>, default 128 41 static int poll = DEFAULT_TRANSP_BURST_SZ; variable 50 module_param(poll, int, 0); 972 if (rx_skb->len >= poll)
|
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 819 /* maximum fill shall be poll*2 */ 820 if (count > (poll << 1) - fcnt) 821 count = (poll << 1) - fcnt; 2336 if (!poll) [all...] |
H A D | hfcmulti.c | 86 * poll: 87 * NOTE: only one poll value must be given for all cards 210 static uint poll; variable 227 module_param(poll, uint, S_IRUGO | S_IWUSR); 1185 hc->max_trans = poll << 1; 1610 hc->ledcount += poll; 2062 hc->write_fifo(hc, hc->silence_data, poll >> 1); 2063 Zspace -= (poll >> 1); 2784 mISDN_clock_update(hc->iclock, poll, NULL); 5020 if ((poll >> [all...] |
/drivers/staging/comedi/ |
H A D | comedidev.h | 107 int (*poll) (struct comedi_device *, struct comedi_subdevice *); member in struct:comedi_subdevice
|
/drivers/staging/media/lirc/ |
H A D | lirc_zilog.c | 47 #include <linux/poll.h> 238 /* Put the ir ptr that ir_probe() gave to the rx poll thread */ 250 * to keep the rx_ref_lock a spinlock, and killing the poll thread 257 /* Don't do the kfree(rx) here; we still need to kill the poll thread */ 375 * Send random "poll command" (?) Windows driver does this 473 dprintk("poll thread started\n"); 486 * We use this interval as the chip resets every time you poll 501 dprintk("poll thread ended\n"); 1196 static unsigned int poll(struct file *filep, poll_table *wait) function 1203 dprintk("poll calle [all...] |
/drivers/usb/serial/ |
H A D | iuu_phoenix.c | 78 int poll; /* number of poll */ member in struct:iuu_private 714 priv->poll++; 744 if (priv->poll > 99) { 746 priv->poll = 0; 1067 priv->poll = 0;
|
/drivers/net/ethernet/broadcom/ |
H A D | sb1250-mac.c | 294 int work_to_do, int poll); 296 int poll); 1056 * SBDMA_RX_PROCESS(sc,d,work_to_do,poll) 1065 * poll - 1: using polling (for NAPI) 1072 int work_to_do, int poll) 1178 if (poll) 1210 if (!poll) { 1230 * poll - 1: using polling (for NAPI) 1237 int poll) 2026 /* Depend on the exit from poll t 1071 sbdma_rx_process(struct sbmac_softc *sc, struct sbmacdma *d, int work_to_do, int poll) argument 1236 sbdma_tx_process(struct sbmac_softc *sc, struct sbmacdma *d, int poll) argument [all...] |
/drivers/net/wan/ |
H A D | cosa.c | 83 #include <linux/poll.h> 299 static unsigned int cosa_poll(struct file *file, poll_table *poll); 313 .poll = cosa_poll, 928 static unsigned int cosa_poll(struct file *file, poll_table *poll) 927 cosa_poll(struct file *file, poll_table *poll) argument
|
/drivers/usb/atm/ |
H A D | cxacru.c | 355 int poll = -1; local 382 poll = CXPOLL_STOPPED; 402 poll = CXPOLL_POLLING; 406 if (!strcmp(str_cmd, "poll")) { 408 poll = CXPOLL_POLLING; 413 poll = -1; 416 if (poll == CXPOLL_POLLING) { 430 poll = -1; 433 } else if (poll == CXPOLL_STOPPED) { 443 if (poll [all...] |
/drivers/xen/ |
H A D | events.c | 1639 struct sched_poll poll; local 1641 poll.nr_ports = 1; 1642 poll.timeout = timeout; 1643 set_xen_guest_handle(poll.ports, &evtchn); 1645 if (HYPERVISOR_sched_op(SCHEDOP_poll, &poll) != 0)
|