/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, &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, &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() 216 st->poll.report_id, in hid_sensor_write_samp_freq_value() [all …]
|
/drivers/vhost/ |
D | vhost.c | 42 struct vhost_poll *poll; in vhost_poll_func() local 44 poll = container_of(pt, struct vhost_poll, table); in vhost_poll_func() 45 poll->wqh = wqh; in vhost_poll_func() 46 add_wait_queue(wqh, &poll->wait); in vhost_poll_func() 52 struct vhost_poll *poll = container_of(wait, struct vhost_poll, wait); in vhost_poll_wakeup() local 54 if (!((unsigned long)key & poll->mask)) in vhost_poll_wakeup() 57 vhost_poll_queue(poll); in vhost_poll_wakeup() 72 void vhost_poll_init(struct vhost_poll *poll, vhost_work_fn_t fn, in vhost_poll_init() argument 75 init_waitqueue_func_entry(&poll->wait, vhost_poll_wakeup); in vhost_poll_init() 76 init_poll_funcptr(&poll->table, vhost_poll_func); in vhost_poll_init() [all …]
|
D | vhost.h | 43 void vhost_poll_init(struct vhost_poll *poll, vhost_work_fn_t fn, 45 int vhost_poll_start(struct vhost_poll *poll, struct file *file); 46 void vhost_poll_stop(struct vhost_poll *poll); 47 void vhost_poll_flush(struct vhost_poll *poll); 48 void vhost_poll_queue(struct vhost_poll *poll); 76 struct vhost_poll poll; member
|
D | net.c | 107 struct vhost_poll poll[VHOST_NET_VQ_MAX]; member 327 vhost_poll_queue(&vq->poll); in vhost_zerocopy_callback() 454 vhost_poll_queue(&vq->poll); in handle_tx() 663 vhost_poll_queue(&vq->poll); in handle_rx() 674 poll.work); in handle_tx_kick() 683 poll.work); in handle_rx_kick() 692 poll[VHOST_NET_VQ_TX].work); in handle_tx_net() 699 poll[VHOST_NET_VQ_RX].work); in handle_rx_net() 737 vhost_poll_init(n->poll + VHOST_NET_VQ_TX, handle_tx_net, POLLOUT, dev); in vhost_net_open() 738 vhost_poll_init(n->poll + VHOST_NET_VQ_RX, handle_rx_net, POLLIN, dev); in vhost_net_open() [all …]
|
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()
|
/drivers/dma-buf/ |
D | dma-buf.c | 127 spin_lock_irqsave(&dcb->poll->lock, flags); in dma_buf_poll_cb() 128 wake_up_locked_poll(dcb->poll, dcb->active); in dma_buf_poll_cb() 130 spin_unlock_irqrestore(&dcb->poll->lock, flags); in dma_buf_poll_cb() 133 static unsigned int dma_buf_poll(struct file *file, poll_table *poll) in dma_buf_poll() argument 148 poll_wait(file, &dmabuf->poll, poll); in dma_buf_poll() 150 events = poll_requested_events(poll) & (POLLIN | POLLOUT); in dma_buf_poll() 176 spin_lock_irq(&dmabuf->poll.lock); in dma_buf_poll() 182 spin_unlock_irq(&dmabuf->poll.lock); in dma_buf_poll() 209 spin_lock_irq(&dmabuf->poll.lock); in dma_buf_poll() 214 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()
|
/drivers/media/ |
D | media-devnode.c | 108 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,
|
/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/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/mailbox/ |
D | mailbox.c | 131 mod_timer(&mbox->poll, jiffies + in poll_txdone() 420 mbox->poll.function = &poll_txdone; in mbox_controller_register() 421 mbox->poll.data = (unsigned long)mbox; in mbox_controller_register() 422 init_timer(&mbox->poll); in mbox_controller_register() 464 del_timer_sync(&mbox->poll); in mbox_controller_unregister()
|
/drivers/mfd/ |
D | arizona-irq.c | 97 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()
|
/drivers/net/wireless/iwlwifi/ |
D | iwl-op-mode.h | 155 int (*poll)(struct napi_struct *, int), 265 int (*poll)(struct napi_struct *, int), in iwl_op_mode_napi_add() 270 op_mode->ops->napi_add(op_mode, napi, napi_dev, poll, weight); in iwl_op_mode_napi_add()
|
/drivers/gpu/drm/nouveau/core/subdev/therm/ |
D | base.c | 96 bool poll = true; in nouveau_therm_update() local 110 poll = false; in nouveau_therm_update() 123 poll = false; in nouveau_therm_update() 131 poll = false; in nouveau_therm_update() 134 if (list_empty(&priv->alarm.head) && poll) in nouveau_therm_update()
|
/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 | 1839 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 …]
|
/drivers/gpu/drm/ |
D | drm_probe_helper.c | 59 module_param_named(poll, drm_kms_helper_poll, bool, 0600); 360 bool poll = false; in drm_kms_helper_poll_enable() local 369 poll = true; in drm_kms_helper_poll_enable() 372 if (poll) in drm_kms_helper_poll_enable()
|
/drivers/staging/rtl8188eu/hal/ |
D | rtl8188e_cmd.c | 603 u32 poll = 0; in rtl8188e_set_FwJoinBssReport_cmd() local 636 poll = 0; in rtl8188e_set_FwJoinBssReport_cmd() 646 poll++; in rtl8188e_set_FwJoinBssReport_cmd() 647 } while (!bcn_valid && (poll%10) != 0 && !adapt->bSurpriseRemoved && !adapt->bDriverStopped); in rtl8188e_set_FwJoinBssReport_cmd() 653 DBG_88E("%s: 1 Download RSVD page failed! DLBcnCount:%u, poll:%u\n", __func__, DLBcnCount, poll); in rtl8188e_set_FwJoinBssReport_cmd() 655 DBG_88E("%s: 1 Download RSVD success! DLBcnCount:%u, poll:%u\n", __func__, DLBcnCount, poll); in rtl8188e_set_FwJoinBssReport_cmd()
|
/drivers/scsi/qla4xxx/ |
D | ql4_83xx.h | 264 uint32_t poll; member 281 uint32_t poll; member 294 uint32_t poll; member
|
/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/staging/octeon/ |
D | ethernet-xaui.c | 110 priv->poll = cvm_oct_xaui_poll; in cvm_oct_xaui_open() 136 priv->poll = cvm_oct_xaui_poll; in cvm_oct_xaui_init()
|
/drivers/usb/atm/ |
D | cxacru.c | 354 int poll = -1; in cxacru_sysfs_store_adsl_state() local 381 poll = CXPOLL_STOPPED; in cxacru_sysfs_store_adsl_state() 401 poll = CXPOLL_POLLING; in cxacru_sysfs_store_adsl_state() 407 poll = CXPOLL_POLLING; in cxacru_sysfs_store_adsl_state() 412 poll = -1; in cxacru_sysfs_store_adsl_state() 415 if (poll == CXPOLL_POLLING) { in cxacru_sysfs_store_adsl_state() 429 poll = -1; in cxacru_sysfs_store_adsl_state() 432 } else if (poll == CXPOLL_STOPPED) { in cxacru_sysfs_store_adsl_state() 442 if (poll == CXPOLL_POLLING) in cxacru_sysfs_store_adsl_state()
|
/drivers/misc/cxl/ |
D | file.c | 242 static unsigned int afu_poll(struct file *file, struct poll_table_struct *poll) in afu_poll() argument 249 poll_wait(file, &ctx->wq, poll); in afu_poll() 358 .poll = afu_poll, 369 .poll = afu_poll,
|
/drivers/scsi/qla2xxx/ |
D | qla_nx2.c | 2995 uint32_t poll, mask, data_size, modify_mask; in qla8044_minidump_process_rddfe() local 3009 poll = rddfe->poll; in qla8044_minidump_process_rddfe() 3020 while (wait_count < poll) { in qla8044_minidump_process_rddfe() 3027 if (wait_count == poll) { in qla8044_minidump_process_rddfe() 3041 while (wait_count < poll) { in qla8044_minidump_process_rddfe() 3047 if (wait_count == poll) { in qla8044_minidump_process_rddfe() 3056 while (wait_count < poll) { in qla8044_minidump_process_rddfe() 3063 if (wait_count == poll) { in qla8044_minidump_process_rddfe() 3094 uint32_t poll, mask; in qla8044_minidump_process_rdmdio() local 3108 poll = rdmdio->poll; in qla8044_minidump_process_rdmdio() [all …]
|