Home
last modified time | relevance | path

Searched refs:q_full (Results 1 – 13 of 13) sorted by relevance

/drivers/media/pci/ivtv/
Divtv-fileops.c227 while ((buf = ivtv_dequeue(s_vbi, &s_vbi->q_full))) { in ivtv_get_buffer()
245 buf = ivtv_dequeue(s, &s->q_full); in ivtv_get_buffer()
276 if (!s->q_full.buffers) in ivtv_get_buffer()
605 if (mode == OUT_YUV && s->q_full.length == 0 && itv->dma_data_req_size) { in ivtv_write()
617 IVTV_DEBUG_HI_FILE("Wrote %d bytes to %s (%d)\n", bytes_written, s->name, s->q_full.bytesused); in ivtv_write()
670 ivtv_enqueue(s, buf, &s->q_full); in ivtv_write()
684 ivtv_enqueue(s, buf, &s->q_full); in ivtv_write()
688 if (s->q_full.length >= itv->dma_data_req_size) { in ivtv_write()
708 ivtv_queue_move(s, &s->q_full, NULL, &s->q_predma, itv->dma_data_req_size); in ivtv_write()
716 IVTV_DEBUG_HI_FILE("Wrote %d bytes to %s (%d)\n", bytes_written, s->name, s->q_full.bytesused); in ivtv_write()
[all …]
Divtv-irq.c57 buf = ivtv_dequeue(s, &s->q_full); in ivtv_pcm_work_handler()
216 rc = ivtv_queue_move(s, &s->q_free, &s->q_full, &s->q_predma, bytes_needed); in stream_enc_dma_append()
326 ivtv_queue_move(s, &s->q_dma, NULL, &s->q_full, s->q_dma.bytesused); in dma_post()
820 IVTV_DEBUG_HI_IRQ("DEC DATA REQ %s: %d %08x %u\n", s->name, s->q_full.bytesused, in ivtv_irq_dec_data_req()
822 if (itv->dma_data_req_size == 0 || s->q_full.bytesused < itv->dma_data_req_size) { in ivtv_irq_dec_data_req()
829 ivtv_queue_move(s, &s->q_full, NULL, &s->q_predma, itv->dma_data_req_size); in ivtv_irq_dec_data_req()
Divtv-streams.c185 ivtv_queue_init(&s->q_full); in ivtv_stream_init()
930 if (s->q_full.buffers + s->q_dma.buffers == 0) { in ivtv_stop_v4l2_decode_stream()
Divtv-queue.c188 ivtv_queue_move(s, &s->q_full, NULL, &s->q_free, 0); in ivtv_flush_queues()
Divtv-driver.h359 struct ivtv_queue q_full; /* full buffers */ member
/drivers/media/pci/cx18/
Dcx18-queue.c61 if (q != &s->q_full) { in _cx18_enqueue()
216 if (q_src == q_dst || q_dst == &s->q_full || q_dst == &s->q_busy) in cx18_queue_flush()
239 cx18_queue_flush(s, &s->q_full, &s->q_free); in cx18_flush_queues()
254 cx18_queue_flush(s, &s->q_full, q_idle); in cx18_unload_queues()
Dcx18-fileops.c203 &s_vbi->q_full))) { in cx18_get_mdl()
216 mdl = cx18_dequeue(s, &s->q_full); in cx18_get_mdl()
247 if (!atomic_read(&s->q_full.depth)) in cx18_get_mdl()
467 cx18_push(s, mdl, &s->q_full); in cx18_read()
654 if (atomic_read(&s->q_full.depth)) in cx18_v4l2_enc_poll()
Dcx18-streams.c282 spin_lock_init(&s->q_full.lock); in cx18_stream_init()
283 cx18_queue_init(&s->q_full); in cx18_stream_init()
677 if (atomic_read(&s->q_full.depth) < 2) in cx18_stream_rotate_idx_mdls()
684 mdl = cx18_dequeue(s, &s->q_full); in cx18_stream_rotate_idx_mdls()
Dcx18-ioctl.c792 mdl = cx18_dequeue(s, &s->q_full); in cx18_g_enc_index()
800 cx18_push(s, mdl, &s->q_full); in cx18_g_enc_index()
1052 atomic_read(&s->q_full.depth) * s->bufs_per_mdl * 100 in cx18_log_status()
Dcx18-mailbox.c319 cx18_enqueue(s, mdl, &s->q_full); in epu_dma_done()
325 cx18_enqueue(s, mdl, &s->q_full); in epu_dma_done()
Dcx18-driver.h404 struct cx18_queue q_full; /* full - data for user apps */ member
/drivers/scsi/qla2xxx/
Dqla_target.h948 unsigned int q_full:1; member
Dqla_target.c3107 if (!cmd->q_full) in qlt_free_cmd()
5027 cmd->q_full = 1; in qlt_alloc_qfull_cmd()
5030 cmd->q_full = 1; in qlt_alloc_qfull_cmd()
5067 if (cmd->q_full) in qlt_free_qfull_cmds()
5076 if (cmd->q_full) in qlt_free_qfull_cmds()