/drivers/tty/vt/ |
D | vc_screen.c | 66 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 …]
|
/drivers/iio/common/hid-sensors/ |
D | hid-sensor-attributes.c | 156 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 …]
|
/drivers/dma-buf/ |
D | dma-buf.c | 132 spin_lock_irqsave(&dcb->poll->lock, flags); in dma_buf_poll_cb() 133 wake_up_locked_poll(dcb->poll, dcb->active); in dma_buf_poll_cb() 135 spin_unlock_irqrestore(&dcb->poll->lock, flags); in dma_buf_poll_cb() 138 static unsigned int dma_buf_poll(struct file *file, poll_table *poll) in dma_buf_poll() argument 153 poll_wait(file, &dmabuf->poll, poll); in dma_buf_poll() 155 events = poll_requested_events(poll) & (POLLIN | POLLOUT); in dma_buf_poll() 181 spin_lock_irq(&dmabuf->poll.lock); in dma_buf_poll() 187 spin_unlock_irq(&dmabuf->poll.lock); in dma_buf_poll() 214 spin_lock_irq(&dmabuf->poll.lock); in dma_buf_poll() 219 spin_unlock_irq(&dmabuf->poll.lock); in dma_buf_poll() [all …]
|
/drivers/input/misc/ |
D | wm831x-on.c | 45 int poll, ret; in wm831x_poll_on() local 49 poll = !(ret & WM831X_ON_PIN_STS); in wm831x_poll_on() 51 input_report_key(wm831x_on->dev, KEY_POWER, poll); in wm831x_poll_on() 55 poll = 1; in wm831x_poll_on() 58 if (poll) in wm831x_poll_on()
|
D | da9063_onkey.c | 99 bool poll = true; in da9063_poll_on() local 126 poll = false; in da9063_poll_on() 164 if (poll) in da9063_poll_on()
|
/drivers/vhost/ |
D | vhost.c | 159 struct vhost_poll *poll; in vhost_poll_func() local 161 poll = container_of(pt, struct vhost_poll, table); in vhost_poll_func() 162 poll->wqh = wqh; in vhost_poll_func() 163 add_wait_queue(wqh, &poll->wait); in vhost_poll_func() 169 struct vhost_poll *poll = container_of(wait, struct vhost_poll, wait); in vhost_poll_wakeup() local 171 if (!((unsigned long)key & poll->mask)) in vhost_poll_wakeup() 174 vhost_poll_queue(poll); in vhost_poll_wakeup() 187 void vhost_poll_init(struct vhost_poll *poll, vhost_work_fn_t fn, in vhost_poll_init() argument 190 init_waitqueue_func_entry(&poll->wait, vhost_poll_wakeup); in vhost_poll_init() 191 init_poll_funcptr(&poll->table, vhost_poll_func); in vhost_poll_init() [all …]
|
D | net.c | 104 struct vhost_poll poll[VHOST_NET_VQ_MAX]; member 286 vhost_poll_queue(&vq->poll); in vhost_zerocopy_callback() 310 struct vhost_poll *poll = n->poll + (nvq - n->vqs); in vhost_net_disable_vq() local 313 vhost_poll_stop(poll); in vhost_net_disable_vq() 321 struct vhost_poll *poll = n->poll + (nvq - n->vqs); in vhost_net_enable_vq() local 328 return vhost_poll_start(poll, sock->file); in vhost_net_enable_vq() 478 vhost_poll_queue(&vq->poll); in handle_tx() 541 vhost_poll_queue(&vq->poll); in vhost_net_rx_peek_head_len() 544 vhost_poll_queue(&vq->poll); in vhost_net_rx_peek_head_len() 757 vhost_poll_queue(&vq->poll); in handle_rx() [all …]
|
D | vhost.h | 44 void vhost_poll_init(struct vhost_poll *poll, vhost_work_fn_t fn, 46 int vhost_poll_start(struct vhost_poll *poll, struct file *file); 47 void vhost_poll_stop(struct vhost_poll *poll); 48 void vhost_poll_flush(struct vhost_poll *poll); 49 void vhost_poll_queue(struct vhost_poll *poll); 96 struct vhost_poll poll; member
|
D | test.c | 85 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()
|
D | vsock.c | 180 vhost_poll_queue(&tx_vq->poll); in vhost_transport_do_send_pkt() 255 vhost_poll_queue(&tx_vq->poll); in vhost_transport_cancel_pkt() 335 poll.work); in vhost_vsock_handle_tx_kick() 402 poll.work); in vhost_vsock_handle_rx_kick() 541 vhost_poll_flush(&vsock->vqs[i].poll); in vhost_vsock_flush()
|
/drivers/isdn/mISDN/ |
D | dsp_core.c | 169 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 …]
|
/drivers/media/ |
D | media-devnode.c | 107 struct poll_table_struct *poll) in media_poll() argument 113 if (!devnode->fops->poll) in media_poll() 115 return devnode->fops->poll(filp, poll); in media_poll() 219 .poll = media_poll,
|
/drivers/pci/hotplug/ |
D | cpcihp_zt5550.c | 61 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");
|
/drivers/mfd/ |
D | arizona-irq.c | 99 bool poll; in arizona_irq_thread() local 110 poll = false; in arizona_irq_thread() 148 poll = true; in arizona_irq_thread() 151 poll = true; in arizona_irq_thread() 153 } while (poll); in arizona_irq_thread()
|
/drivers/gpu/drm/ |
D | drm_probe_helper.c | 62 module_param_named(poll, drm_kms_helper_poll, bool, 0600); 130 bool poll = false; in drm_kms_helper_poll_enable_locked() local 142 poll = true; in drm_kms_helper_poll_enable_locked() 156 poll = true; in drm_kms_helper_poll_enable_locked() 160 if (poll) in drm_kms_helper_poll_enable_locked()
|
/drivers/staging/comedi/drivers/ |
D | pcl816.c | 455 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()
|
D | pcl812.c | 863 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()
|
/drivers/gpu/drm/nouveau/nvkm/subdev/therm/ |
D | base.c | 95 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 (poll) in nvkm_therm_update()
|
/drivers/staging/octeon/ |
D | ethernet-mdio.c | 103 if (priv->poll) in cvm_oct_adjust_link() 104 priv->poll(dev); in cvm_oct_adjust_link() 125 priv->poll = NULL; in cvm_oct_common_stop()
|
/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_minidump.c | 910 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 …]
|
D | qlcnic_83xx_init.c | 1835 struct qlc_83xx_poll *poll; in qlcnic_83xx_poll_list() local 1839 poll = (struct qlc_83xx_poll *)((char *)p_hdr + in qlcnic_83xx_poll_list() 1842 entry = (struct qlc_83xx_entry *)((char *)poll + in qlcnic_83xx_poll_list() 1849 delay, poll->mask, in qlcnic_83xx_poll_list() 1850 poll->status); in qlcnic_83xx_poll_list() 1858 poll->mask, in qlcnic_83xx_poll_list() 1859 poll->status)){ in qlcnic_83xx_poll_list() 1879 struct qlc_83xx_poll *poll; in qlcnic_83xx_poll_write_list() local 1881 poll = (struct qlc_83xx_poll *)((char *)p_hdr + in qlcnic_83xx_poll_write_list() 1883 entry = (struct qlc_83xx_quad_entry *)((char *)poll + in qlcnic_83xx_poll_write_list() [all …]
|
/drivers/staging/rtl8188eu/hal/ |
D | rtl8188e_cmd.c | 561 u32 poll = 0; in rtl8188e_set_FwJoinBssReport_cmd() local 594 poll = 0; in rtl8188e_set_FwJoinBssReport_cmd() 604 poll++; in rtl8188e_set_FwJoinBssReport_cmd() 605 } while (!bcn_valid && (poll%10) != 0 && !adapt->bSurpriseRemoved && !adapt->bDriverStopped); in rtl8188e_set_FwJoinBssReport_cmd() 611 DBG_88E("%s: 1 Download RSVD page failed! DLBcnCount:%u, poll:%u\n", __func__, DLBcnCount, poll); in rtl8188e_set_FwJoinBssReport_cmd() 613 DBG_88E("%s: 1 Download RSVD success! DLBcnCount:%u, poll:%u\n", __func__, DLBcnCount, poll); in rtl8188e_set_FwJoinBssReport_cmd()
|
/drivers/input/ |
D | input-polldev.c | 41 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,
|
/drivers/scsi/qla4xxx/ |
D | ql4_83xx.h | 264 uint32_t poll; member 281 uint32_t poll; member 294 uint32_t poll; member
|
/drivers/usb/atm/ |
D | cxacru.c | 356 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()
|