Home
last modified time | relevance | path

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

/drivers/char/tpm/
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()
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()
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()
Dtpm_tis_core.h109 wait_queue_head_t read_queue; member
/drivers/media/i2c/
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()
/drivers/gnss/
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()
/drivers/char/tpm/st33zp24/
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()
Dst33zp24.h24 wait_queue_head_t read_queue; member
/drivers/usb/misc/
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()
/drivers/media/radio/
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()
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()
/drivers/usb/gadget/function/
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()
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()
/drivers/usb/host/
Dxhci-dbgtty.c110 list_add_tail(&req->list_pool, &port->read_queue); in dbc_read_complete()
305 struct list_head *queue = &port->read_queue; in dbc_rx_push()
393 INIT_LIST_HEAD(&port->read_queue); in xhci_dbc_tty_init_port()
483 xhci_dbc_free_requests(&port->read_queue); in xhci_dbc_tty_unregister_device()
Dxhci-dbgcap.h106 struct list_head read_queue; member
/drivers/staging/axis-fifo/
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()
/drivers/media/radio/si470x/
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()
Dradio-si470x.h145 wait_queue_head_t read_queue; member
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()
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()
/drivers/media/radio/wl128x/
Dfmdrv.h115 wait_queue_head_t read_queue; member
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()
/drivers/block/
Dpktcdvd.c832 bio_list_add(&pd->iosched.read_queue, bio); in pkt_queue_bio()
870 reads_queued = !bio_list_empty(&pd->iosched.read_queue); in pkt_iosched_process_queue()
907 bio = bio_list_pop(&pd->iosched.read_queue); in pkt_iosched_process_queue()
2662 bio_list_init(&pd->iosched.read_queue); in pkt_setup_dev()