Home
last modified time | relevance | path

Searched refs:read_queue (Results 1 – 25 of 26) sorted by relevance

12

/openbmc/linux/drivers/media/i2c/
H A Dsaa6588.c65 wait_queue_head_t read_queue; member
183 int ret = wait_event_interruptible(s->read_queue, in read_from_buf()
315 wake_up_interruptible(&s->read_queue); in saa6588_i2c_poll()
392 wake_up_interruptible(&s->read_queue); in saa6588_command()
405 poll_wait(a->instance, &s->read_queue, a->event_list); in saa6588_command()
475 init_waitqueue_head(&s->read_queue); in saa6588_probe()
/openbmc/linux/drivers/char/tpm/
H A Dxen-tpmfront.c30 wait_queue_head_t read_queue; member
151 &priv->read_queue, true) < 0) { in vtpm_send()
167 &priv->read_queue, true) < 0) { in vtpm_send()
188 &priv->read_queue, true) < 0) { in vtpm_recv()
224 wake_up_interruptible(&priv->read_queue); in tpmif_interrupt()
242 init_waitqueue_head(&priv->read_queue); in setup_chip()
H A Dtpm_i2c_nuvoton.c49 wait_queue_head_t read_queue; member
239 &priv->read_queue) == 0) { in i2c_nuvoton_recv_data()
292 chip, chip->timeout_c, &priv->read_queue); in i2c_nuvoton_recv()
447 rc = i2c_nuvoton_wait_for_data_avail(chip, duration, &priv->read_queue); in i2c_nuvoton_send()
486 wake_up(&priv->read_queue); in i2c_nuvoton_int_handler()
559 init_waitqueue_head(&priv->read_queue); in i2c_nuvoton_probe()
H A Dtpm_tis_core.h109 wait_queue_head_t read_queue; member
H A Dtpm_tis_core.c323 &priv->read_queue, true); in recv_data()
565 &priv->read_queue, false) < 0) { in tpm_tis_send_main()
862 wake_up_interruptible(&priv->read_queue); in tis_int_handler()
1245 init_waitqueue_head(&priv->read_queue); in tpm_tis_core_init()
/openbmc/linux/drivers/gnss/
H A Dcore.c105 ret = wait_event_interruptible(gdev->read_queue, in gnss_read()
192 poll_wait(file, &gdev->read_queue, wait); in gnss_poll()
255 init_waitqueue_head(&gdev->read_queue); in gnss_allocate_device()
306 wake_up_interruptible(&gdev->read_queue); in gnss_deregister_device()
327 wake_up_interruptible(&gdev->read_queue); in gnss_insert_raw()
/openbmc/linux/drivers/char/tpm/st33zp24/
H A Dst33zp24.c272 &tpm_dev->read_queue, true) == 0) { in recv_data()
293 wake_up_interruptible(&tpm_dev->read_queue); in tpm_ioserirq_handler()
323 &tpm_dev->read_queue, false) < 0) { in st33zp24_send()
369 &tpm_dev->read_queue, false); in st33zp24_send()
495 init_waitqueue_head(&tpm_dev->read_queue); in st33zp24_probe()
574 &tpm_dev->read_queue, false); in st33zp24_pm_resume()
H A Dst33zp24.h24 wait_queue_head_t read_queue; member
/openbmc/linux/drivers/usb/misc/
H A Diowarrior.c83 unsigned char *read_queue; /* size is MAX_INTERRUPT_BUFFER * packet size */ member
186 (dev->read_queue + offset, urb->transfer_buffer, in iowarrior_callback()
204 memcpy(dev->read_queue + offset, urb->transfer_buffer, in iowarrior_callback()
206 *(dev->read_queue + offset + (dev->report_size)) = dev->serial_number++; in iowarrior_callback()
252 kfree(dev->read_queue); in iowarrior_delete()
326 if (copy_to_user(buffer, dev->read_queue + offset, count)) { in iowarrior_read()
836 dev->read_queue = in iowarrior_probe()
839 if (!dev->read_queue) in iowarrior_probe()
/openbmc/linux/drivers/media/radio/
H A Dradio-cadet.c74 wait_queue_head_t read_queue; member
308 wake_up_interruptible(&dev->read_queue); in cadet_handler()
339 i = wait_event_interruptible(dev->read_queue, cadet_has_rds_data(dev)); in cadet_read()
462 init_waitqueue_head(&dev->read_queue); in cadet_open()
488 poll_wait(file, &dev->read_queue, wait); in cadet_poll()
H A Dradio-wl1273.c60 wait_queue_head_t read_queue; member
213 wake_up_interruptible(&radio->read_queue); in wl1273_fm_rds()
977 wake_up_interruptible(&radio->read_queue); in wl1273_fm_rds_off()
1096 poll_wait(file, &radio->read_queue, pts); in wl1273_fm_fops_poll()
1224 if (wait_event_interruptible(radio->read_queue, in wl1273_fm_fops_read()
2069 init_waitqueue_head(&radio->read_queue); in wl1273_fm_radio_probe()
/openbmc/linux/drivers/usb/gadget/function/
H A Df_hid.c64 wait_queue_head_t read_queue; member
314 if (wait_event_interruptible(hidg->read_queue, READ_COND_INTOUT)) in f_hidg_intout_read()
358 wake_up(&hidg->read_queue); in f_hidg_intout_read()
383 if (wait_event_interruptible(hidg->read_queue, READ_COND_SSREPORT)) in f_hidg_ssreport_read()
402 wake_up(&hidg->read_queue); in f_hidg_ssreport_read()
532 poll_wait(file, &hidg->read_queue, wait); in f_hidg_poll()
599 wake_up(&hidg->read_queue); in hidg_intout_complete()
641 wake_up(&hidg->read_queue); in hidg_ssreport_complete()
1008 init_waitqueue_head(&hidg->read_queue); in hidg_bind()
H A Du_serial.c116 struct list_head read_queue; member
365 struct list_head *queue = &port->read_queue; in gs_rx_push()
459 list_add_tail(&req->list, &port->read_queue); in gs_read_complete()
1174 INIT_LIST_HEAD(&port->read_queue); in gs_port_alloc()
1418 gs_free_requests(gser->out, &port->read_queue, NULL); in gserial_disconnect()
/openbmc/linux/include/linux/
H A Dgnss.h52 wait_queue_head_t read_queue; member
H A Dpktcdvd.h71 struct bio_list read_queue; member
/openbmc/qemu/hw/dma/
H A Dpl330.c258 PL330Queue read_queue; member
291 VMSTATE_STRUCT(read_queue, PL330State, 0, vmstate_pl330_queue,
653 pl330_queue_find_insn(&s->read_queue, ch->tag, false) != NULL || in pl330_dmaend()
662 pl330_queue_remove_tagged(&s->read_queue, ch->tag); in pl330_dmaend()
749 ch->stall = pl330_queue_put_insn(&ch->parent->read_queue, ch->src, in pl330_dmald()
798 pl330_queue_remove_tagged(&ch->parent->read_queue, ch->tag); in pl330_dmakill()
870 if (pl330_queue_find_insn(&ch->parent->read_queue, ch->tag, false)) { in pl330_dmarmb()
1182 q = pl330_queue_find_insn(&s->read_queue, PL330_UNTAGGED, true); in pl330_exec_cycle()
1199 pl330_queue_remove_insn(&s->read_queue, q); in pl330_exec_cycle()
1541 pl330_queue_reset(&s->read_queue); in pl330_reset()
[all …]
/openbmc/linux/drivers/usb/host/
H A Dxhci-dbgtty.c120 list_add_tail(&req->list_pool, &port->read_queue); in dbc_read_complete()
337 struct list_head *queue = &port->read_queue; in dbc_rx_push()
425 INIT_LIST_HEAD(&port->read_queue); in xhci_dbc_tty_init_port()
516 xhci_dbc_free_requests(&port->read_queue); in xhci_dbc_tty_unregister_device()
H A Dxhci-dbgcap.h106 struct list_head read_queue; member
/openbmc/linux/drivers/staging/axis-fifo/
H A Daxis-fifo.c131 wait_queue_head_t read_queue; /* wait queue for asynchronos read */ member
383 ret = wait_event_interruptible_timeout(fifo->read_queue, in axis_fifo_read()
588 wake_up(&fifo->read_queue); in axis_fifo_irq()
829 init_waitqueue_head(&fifo->read_queue); in axis_fifo_probe()
/openbmc/linux/drivers/media/radio/si470x/
H A Dradio-si470x.h145 wait_queue_head_t read_queue; member
H A Dradio-si470x-usb.c459 wake_up_interruptible(&radio->read_queue); in si470x_int_in_callback()
725 init_waitqueue_head(&radio->read_queue); in si470x_usb_driver_probe()
786 wake_up_interruptible(&radio->read_queue); in si470x_usb_driver_suspend()
H A Dradio-si470x-i2c.c323 wake_up_interruptible(&radio->read_queue); in si470x_i2c_interrupt()
432 init_waitqueue_head(&radio->read_queue); in si470x_i2c_probe()
H A Dradio-si470x-common.c476 if (wait_event_interruptible(radio->read_queue, in si470x_fops_read()
527 poll_wait(file, &radio->read_queue, pts); in si470x_fops_poll()
/openbmc/linux/drivers/media/radio/wl128x/
H A Dfmdrv.h115 wait_queue_head_t read_queue; member
H A Dfmdrv_common.c812 wake_up_interruptible(&rds->read_queue); in fm_irq_handle_rdsdata_getcmd_resp()
1053 poll_wait(file, &fmdev->rx.rds.read_queue, pts); in fmc_is_rds_data_available()
1073 ret = wait_event_interruptible(fmdev->rx.rds.read_queue, in fmc_transfer_rds_from_internal_buff()
1568 init_waitqueue_head(&fmdev->rx.rds.read_queue); in fmc_prepare()
1590 wake_up_interruptible(&fmdev->rx.rds.read_queue); in fmc_release()

12