Home
last modified time | relevance | path

Searched refs:q_busy (Results 1 – 3 of 3) sorted by relevance

/linux-4.4.14/drivers/media/pci/cx18/
Dcx18-queue.c70 if (q == &s->q_busy && in _cx18_enqueue()
154 spin_lock(&s->q_busy.lock); in cx18_queue_get_mdl()
155 list_for_each_entry_safe(mdl, tmp, &s->q_busy.list, list) { in cx18_queue_get_mdl()
165 if (mdl->skipped >= atomic_read(&s->q_busy.depth)-1) { in cx18_queue_get_mdl()
173 atomic_dec(&s->q_busy.depth); in cx18_queue_get_mdl()
182 atomic_dec(&s->q_busy.depth); in cx18_queue_get_mdl()
186 spin_unlock(&s->q_busy.lock); in cx18_queue_get_mdl()
216 if (q_src == q_dst || q_dst == &s->q_full || q_dst == &s->q_busy) in cx18_queue_flush()
238 cx18_queue_flush(s, &s->q_busy, &s->q_free); in cx18_flush_queues()
253 cx18_queue_flush(s, &s->q_busy, q_idle); in cx18_unload_queues()
Dcx18-streams.c280 spin_lock_init(&s->q_busy.lock); in cx18_stream_init()
281 cx18_queue_init(&s->q_busy); in cx18_stream_init()
672 if ((atomic_read(&s->q_free.depth) + atomic_read(&s->q_busy.depth)) >= in cx18_stream_rotate_idx_mdls()
702 q = cx18_enqueue(s, mdl, &s->q_busy); in _cx18_stream_put_mdl_fw()
703 if (q != &s->q_busy) in _cx18_stream_put_mdl_fw()
720 atomic_read(&s->q_busy.depth) >= CX18_MAX_FW_MDLS_PER_STREAM) in _cx18_stream_load_fw_queue()
729 } while (atomic_read(&s->q_busy.depth) < CX18_MAX_FW_MDLS_PER_STREAM in _cx18_stream_load_fw_queue()
730 && q == &s->q_busy); in _cx18_stream_load_fw_queue()
Dcx18-driver.h403 struct cx18_queue q_busy; /* busy - in use by firmware */ member