Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/media/pci/cx18/
Dcx18-queue.c56 if (q == &s->q_busy && in _cx18_enqueue()
140 spin_lock(&s->q_busy.lock); in cx18_queue_get_mdl()
141 list_for_each_entry_safe(mdl, tmp, &s->q_busy.list, list) { in cx18_queue_get_mdl()
151 if (mdl->skipped >= atomic_read(&s->q_busy.depth)-1) { in cx18_queue_get_mdl()
158 atomic_dec(&s->q_busy.depth); in cx18_queue_get_mdl()
167 atomic_dec(&s->q_busy.depth); in cx18_queue_get_mdl()
171 spin_unlock(&s->q_busy.lock); in cx18_queue_get_mdl()
201 if (q_src == q_dst || q_dst == &s->q_full || q_dst == &s->q_busy) in cx18_queue_flush()
223 cx18_queue_flush(s, &s->q_busy, &s->q_free); in cx18_flush_queues()
238 cx18_queue_flush(s, &s->q_busy, q_idle); in cx18_unload_queues()
Dcx18-streams.c266 spin_lock_init(&s->q_busy.lock); in cx18_stream_init()
267 cx18_queue_init(&s->q_busy); in cx18_stream_init()
656 if ((atomic_read(&s->q_free.depth) + atomic_read(&s->q_busy.depth)) >= in cx18_stream_rotate_idx_mdls()
686 q = cx18_enqueue(s, mdl, &s->q_busy); in _cx18_stream_put_mdl_fw()
687 if (q != &s->q_busy) in _cx18_stream_put_mdl_fw()
704 atomic_read(&s->q_busy.depth) >= CX18_MAX_FW_MDLS_PER_STREAM) in _cx18_stream_load_fw_queue()
713 } while (atomic_read(&s->q_busy.depth) < CX18_MAX_FW_MDLS_PER_STREAM in _cx18_stream_load_fw_queue()
714 && q == &s->q_busy); in _cx18_stream_load_fw_queue()
Dcx18-driver.h389 struct cx18_queue q_busy; /* busy - in use by firmware */ member