Home
last modified time | relevance | path

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

/drivers/media/pci/ivtv/
Divtv-fileops.c215 while ((buf = ivtv_dequeue(s_vbi, &s_vbi->q_full))) { in ivtv_get_buffer()
233 buf = ivtv_dequeue(s, &s->q_full); in ivtv_get_buffer()
264 if (!s->q_full.buffers) in ivtv_get_buffer()
593 if (mode == OUT_YUV && s->q_full.length == 0 && itv->dma_data_req_size) { in ivtv_write()
605 IVTV_DEBUG_HI_FILE("Wrote %d bytes to %s (%d)\n", bytes_written, s->name, s->q_full.bytesused); in ivtv_write()
658 ivtv_enqueue(s, buf, &s->q_full); in ivtv_write()
672 ivtv_enqueue(s, buf, &s->q_full); in ivtv_write()
676 if (s->q_full.length >= itv->dma_data_req_size) { in ivtv_write()
696 ivtv_queue_move(s, &s->q_full, NULL, &s->q_predma, itv->dma_data_req_size); in ivtv_write()
704 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.c45 buf = ivtv_dequeue(s, &s->q_full); in ivtv_pcm_work_handler()
204 rc = ivtv_queue_move(s, &s->q_free, &s->q_full, &s->q_predma, bytes_needed); in stream_enc_dma_append()
314 ivtv_queue_move(s, &s->q_dma, NULL, &s->q_full, s->q_dma.bytesused); in dma_post()
808 IVTV_DEBUG_HI_IRQ("DEC DATA REQ %s: %d %08x %u\n", s->name, s->q_full.bytesused, in ivtv_irq_dec_data_req()
810 if (itv->dma_data_req_size == 0 || s->q_full.bytesused < itv->dma_data_req_size) { in ivtv_irq_dec_data_req()
817 ivtv_queue_move(s, &s->q_full, NULL, &s->q_predma, itv->dma_data_req_size); in ivtv_irq_dec_data_req()
Divtv-streams.c192 ivtv_queue_init(&s->q_full); in ivtv_stream_init()
942 if (s->q_full.buffers + s->q_dma.buffers == 0) { in ivtv_stop_v4l2_decode_stream()
Divtv-queue.c176 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.c47 if (q != &s->q_full) { in _cx18_enqueue()
201 if (q_src == q_dst || q_dst == &s->q_full || q_dst == &s->q_busy) in cx18_queue_flush()
224 cx18_queue_flush(s, &s->q_full, &s->q_free); in cx18_flush_queues()
239 cx18_queue_flush(s, &s->q_full, q_idle); in cx18_unload_queues()
Dcx18-fileops.c188 &s_vbi->q_full))) { in cx18_get_mdl()
201 mdl = cx18_dequeue(s, &s->q_full); in cx18_get_mdl()
232 if (!atomic_read(&s->q_full.depth)) in cx18_get_mdl()
452 cx18_push(s, mdl, &s->q_full); in cx18_read()
639 if (atomic_read(&s->q_full.depth)) in cx18_v4l2_enc_poll()
Dcx18-streams.c268 spin_lock_init(&s->q_full.lock); in cx18_stream_init()
269 cx18_queue_init(&s->q_full); in cx18_stream_init()
661 if (atomic_read(&s->q_full.depth) < 2) in cx18_stream_rotate_idx_mdls()
668 mdl = cx18_dequeue(s, &s->q_full); in cx18_stream_rotate_idx_mdls()
Dcx18-ioctl.c786 mdl = cx18_dequeue(s, &s->q_full); in cx18_g_enc_index()
794 cx18_push(s, mdl, &s->q_full); in cx18_g_enc_index()
1044 atomic_read(&s->q_full.depth) * s->bufs_per_mdl * 100 in cx18_log_status()
Dcx18-mailbox.c304 cx18_enqueue(s, mdl, &s->q_full); in epu_dma_done()
310 cx18_enqueue(s, mdl, &s->q_full); in epu_dma_done()
Dcx18-driver.h390 struct cx18_queue q_full; /* full - data for user apps */ member
/drivers/scsi/qla2xxx/
Dqla_target.h873 unsigned int q_full:1; member
Dqla_target.c3811 if (!cmd->q_full) in qlt_free_cmd()
5408 cmd->q_full = 1; in qlt_alloc_qfull_cmd()
5412 cmd->q_full = 1; in qlt_alloc_qfull_cmd()
5456 if (cmd->q_full) in qlt_free_qfull_cmds()
5465 if (cmd->q_full) in qlt_free_qfull_cmds()