| /drivers/tty/vt/ |
| A D | vc_screen.c | 122 kfree(poll); in vcs_poll_data_free() 130 if (poll) in vcs_poll_data_get() 131 return poll; in vcs_poll_data_get() 133 poll = kzalloc(sizeof(*poll), GFP_KERNEL); in vcs_poll_data_get() 134 if (!poll) in vcs_poll_data_get() 149 kfree(poll); in vcs_poll_data_get() 166 kill = poll; in vcs_poll_data_get() 173 return poll; in vcs_poll_data_get() 717 if (poll) { in vcs_poll() 744 if (!poll) in vcs_fasync() [all …]
|
| /drivers/iio/common/hid-sensors/ |
| A D | hid-sensor-attributes.c | 164 st->poll.report_id, in hid_sensor_read_poll_value() 165 st->poll.index, sizeof(value), &value); in hid_sensor_read_poll_value() 170 if (st->poll.units == HID_USAGE_SENSOR_UNITS_SECOND) in hid_sensor_read_poll_value() 185 st->poll.report_id, in hid_sensor_read_samp_freq_value() 186 st->poll.index, sizeof(value), &value); in hid_sensor_read_samp_freq_value() 224 st->poll.index, sizeof(value), &value); in hid_sensor_write_samp_freq_value() 229 st->poll.report_id, in hid_sensor_write_samp_freq_value() 230 st->poll.index, sizeof(value), &value); in hid_sensor_write_samp_freq_value() 447 &st->poll); in hid_sensor_get_reporting_interval() 449 if (st->poll.units == 0) in hid_sensor_get_reporting_interval() [all …]
|
| /drivers/input/misc/ |
| A 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()
|
| A D | da9063_onkey.c | 86 bool poll = true; in da9063_poll_on() local 113 poll = false; in da9063_poll_on() 151 if (poll) in da9063_poll_on()
|
| /drivers/dma-buf/ |
| A D | dma-buf.c | 281 struct dma_buf *dmabuf = container_of(dcb->poll, struct dma_buf, poll); in dma_buf_poll_cb() 284 spin_lock_irqsave(&dcb->poll->lock, flags); in dma_buf_poll_cb() 285 wake_up_locked_poll(dcb->poll, dcb->active); in dma_buf_poll_cb() 324 poll_wait(file, &dmabuf->poll, poll); in dma_buf_poll() 336 spin_lock_irq(&dmabuf->poll.lock); in dma_buf_poll() 341 spin_unlock_irq(&dmabuf->poll.lock); in dma_buf_poll() 359 spin_lock_irq(&dmabuf->poll.lock); in dma_buf_poll() 364 spin_unlock_irq(&dmabuf->poll.lock); in dma_buf_poll() 588 .poll = dma_buf_poll, 726 init_waitqueue_head(&dmabuf->poll); in dma_buf_export() [all …]
|
| /drivers/input/ |
| A D | input-poller.c | 16 void (*poll)(struct input_dev *dev); member 42 poller->poll(poller->input); in input_dev_poller_work() 58 poller->poll(poller->input); in input_dev_poller_start() 87 poller->poll = poll_fn; in input_setup_polling() 178 static DEVICE_ATTR(poll, 0644,
|
| /drivers/isdn/mISDN/ |
| A D | dsp_core.c | 167 static int poll; variable 1127 dsp_poll = poll; in dsp_init() 1141 dsp_tics = poll * HZ / 8000; in dsp_init() 1145 "%d HZ.\n", poll, HZ); in dsp_init() 1150 poll = 8; in dsp_init() 1151 while (poll <= MAX_POLL) { in dsp_init() 1152 tics = (poll * HZ) / 8000; in dsp_init() 1153 if (tics * 8000 == poll * HZ) { in dsp_init() 1155 dsp_poll = poll; in dsp_init() 1156 if (poll >= 64) in dsp_init() [all …]
|
| /drivers/vhost/ |
| A D | vhost.c | 168 poll->wqh = wqh; in vhost_poll_func() 203 poll->mask = mask; in vhost_poll_init() 204 poll->dev = dev; in vhost_poll_init() 205 poll->wqh = NULL; in vhost_poll_init() 206 poll->vq = vq; in vhost_poll_init() 218 if (poll->wqh) in vhost_poll_start() 225 vhost_poll_stop(poll); in vhost_poll_start() 237 if (poll->wqh) { in vhost_poll_stop() 238 remove_wait_queue(poll->wqh, &poll->wait); in vhost_poll_stop() 239 poll->wqh = NULL; in vhost_poll_stop() [all …]
|
| A D | net.c | 410 vhost_poll_queue(&vq->poll); in vhost_zerocopy_complete() 435 struct vhost_poll *poll = n->poll + (nvq - n->vqs); in vhost_net_disable_vq() local 438 vhost_poll_stop(poll); in vhost_net_disable_vq() 446 struct vhost_poll *poll = n->poll + (nvq - n->vqs); in vhost_net_enable_vq() local 529 vhost_poll_queue(&vq->poll); in vhost_net_busy_poll_try_queue() 532 vhost_poll_queue(&vq->poll); in vhost_net_busy_poll_try_queue() 845 vhost_poll_queue(&vq->poll); in handle_tx_copy() 891 vhost_poll_queue(&vq->poll); in handle_tx_zerocopy() 1272 vhost_poll_queue(&vq->poll); in handle_rx() 1283 poll.work); in handle_tx_kick() [all …]
|
| A D | vhost.h | 65 void vhost_poll_init(struct vhost_poll *poll, vhost_work_fn_t fn, 68 int vhost_poll_start(struct vhost_poll *poll, struct file *file); 69 void vhost_poll_stop(struct vhost_poll *poll); 70 void vhost_poll_queue(struct vhost_poll *poll); 109 struct vhost_poll poll; member
|
| /drivers/gpu/drm/amd/display/dc/ |
| A D | dc_fused_io.c | 96 const struct mod_hdcp_atomic_op_i2c *poll, in dm_atomic_write_poll_read_i2c() argument 110 && op_i2c_convert(&commands[1], poll, FUSED_REQUEST_POLL, ddc_line, over_aux) in dm_atomic_write_poll_read_i2c() 125 const struct mod_hdcp_atomic_op_aux *poll, in dm_atomic_write_poll_read_aux() argument 137 && op_aux_convert(&commands[1], poll, FUSED_REQUEST_POLL, ddc_line) in dm_atomic_write_poll_read_aux()
|
| A D | dc_fused_io.h | 15 const struct mod_hdcp_atomic_op_i2c *poll, 24 const struct mod_hdcp_atomic_op_aux *poll,
|
| /drivers/firmware/arm_scmi/ |
| A D | perf.c | 692 u32 domain, u32 level, bool poll) in scmi_perf_msg_level_set() argument 702 t->hdr.poll_completion = poll; in scmi_perf_msg_level_set() 715 bool poll) in __scmi_perf_level_set() argument 731 u32 domain, u32 level, bool poll) in scmi_perf_level_set() argument 756 u32 domain, u32 *level, bool poll) in scmi_perf_msg_level_get() argument 766 t->hdr.poll_completion = poll; in scmi_perf_msg_level_get() 779 bool poll) in __scmi_perf_level_get() argument 792 u32 domain, u32 *level, bool poll) in scmi_perf_level_get() argument 801 ret = __scmi_perf_level_get(ph, dom, level, poll); in scmi_perf_level_get() 946 unsigned long freq, bool poll) in scmi_dvfs_freq_set() argument [all …]
|
| A D | raw_mode.c | 682 bool async, bool poll) in scmi_raw_message_send() argument 691 if (poll) { in scmi_raw_message_send() 818 bool async, bool poll) in scmi_dbg_raw_mode_common_write() argument 848 rd->chan_id, async, poll); in scmi_dbg_raw_mode_common_write() 974 .poll = scmi_dbg_raw_mode_message_poll, 991 .poll = scmi_dbg_raw_mode_message_poll, 1008 .poll = scmi_dbg_raw_mode_message_poll, 1025 .poll = scmi_dbg_raw_mode_message_poll, 1048 .poll = scmi_test_dbg_raw_mode_notif_poll, 1071 .poll = scmi_test_dbg_raw_mode_errors_poll,
|
| /drivers/media/mc/ |
| A D | mc-devnode.c | 95 struct poll_table_struct *poll) in media_poll() argument 101 if (!devnode->fops->poll) in media_poll() 103 return devnode->fops->poll(filp, poll); in media_poll() 206 .poll = media_poll,
|
| /drivers/pci/hotplug/ |
| A D | cpcihp_zt5550.c | 42 static bool poll; variable 201 if (!poll) { in zt5550_hc_init_one() 308 module_param(poll, bool, 0644); 309 MODULE_PARM_DESC(poll, "#ENUM polling mode enabled or not");
|
| /drivers/comedi/drivers/ |
| A D | pcl816.c | 454 unsigned int poll; in pcl816_ai_poll() local 459 poll = comedi_isadma_poll(dma); in pcl816_ai_poll() 460 poll = comedi_bytes_to_samples(s, poll); in pcl816_ai_poll() 461 if (poll > devpriv->ai_poll_ptr) { in pcl816_ai_poll() 465 poll - devpriv->ai_poll_ptr); in pcl816_ai_poll() 467 devpriv->ai_poll_ptr = poll; in pcl816_ai_poll() 640 s->poll = pcl816_ai_poll; in pcl816_attach()
|
| /drivers/staging/octeon/ |
| A D | ethernet-mdio.c | 93 if (priv->poll) in cvm_oct_adjust_link() 94 priv->poll(dev); in cvm_oct_adjust_link() 115 priv->poll = NULL; in cvm_oct_common_stop()
|
| /drivers/mfd/ |
| A 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/spi/ |
| A D | spi-sifive.c | 223 static void sifive_spi_wait(struct sifive_spi *spi, u32 bit, int poll) in sifive_spi_wait() argument 225 if (poll) { in sifive_spi_wait() 259 int poll = sifive_spi_prep_transfer(spi, device, t); in sifive_spi_transfer_one() local 276 sifive_spi_wait(spi, SIFIVE_SPI_IP_RXWM, poll); in sifive_spi_transfer_one() 283 sifive_spi_wait(spi, SIFIVE_SPI_IP_TXWM, poll); in sifive_spi_transfer_one()
|
| /drivers/power/supply/ |
| A D | bq24735-charger.c | 56 struct delayed_work poll; member 247 struct bq24735 *charger = container_of(work, struct bq24735, poll.work); in bq24735_poll() 251 schedule_delayed_work(&charger->poll, in bq24735_poll() 479 ret = devm_delayed_work_autocancel(&client->dev, &charger->poll, in bq24735_charger_probe() 484 schedule_delayed_work(&charger->poll, in bq24735_charger_probe()
|
| /drivers/net/ethernet/qlogic/qlcnic/ |
| A 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 …]
|
| /drivers/gpu/drm/nouveau/nvkm/subdev/therm/ |
| A D | base.c | 112 bool poll = true; in nvkm_therm_update() local 126 poll = false; in nvkm_therm_update() 139 poll = false; in nvkm_therm_update() 150 poll = false; in nvkm_therm_update() 153 if (poll) in nvkm_therm_update()
|
| /drivers/cpuidle/ |
| A D | Kconfig | 75 tristate "Halt poll cpuidle driver" 80 This option enables halt poll cpuidle driver, which allows to poll
|
| /drivers/usb/typec/ |
| A D | hd3ss3220.c | 56 bool poll; member 409 hd3ss3220->poll = true; in hd3ss3220_probe() 418 if (hd3ss3220->poll) in hd3ss3220_probe() 438 if (hd3ss3220->poll) in hd3ss3220_remove()
|