Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/media/pci/cx18/
Dcx18-queue.c65 if (q == &s->q_busy && in _cx18_enqueue()
149 spin_lock(&s->q_busy.lock); in cx18_queue_get_mdl()
150 list_for_each_entry_safe(mdl, tmp, &s->q_busy.list, list) { in cx18_queue_get_mdl()
160 if (mdl->skipped >= atomic_read(&s->q_busy.depth)-1) { in cx18_queue_get_mdl()
167 atomic_dec(&s->q_busy.depth); in cx18_queue_get_mdl()
176 atomic_dec(&s->q_busy.depth); in cx18_queue_get_mdl()
180 spin_unlock(&s->q_busy.lock); in cx18_queue_get_mdl()
210 if (q_src == q_dst || q_dst == &s->q_full || q_dst == &s->q_busy) in cx18_queue_flush()
232 cx18_queue_flush(s, &s->q_busy, &s->q_free); in cx18_flush_queues()
247 cx18_queue_flush(s, &s->q_busy, q_idle); in cx18_unload_queues()
Dcx18-streams.c275 spin_lock_init(&s->q_busy.lock); in cx18_stream_init()
276 cx18_queue_init(&s->q_busy); in cx18_stream_init()
664 if ((atomic_read(&s->q_free.depth) + atomic_read(&s->q_busy.depth)) >= in cx18_stream_rotate_idx_mdls()
694 q = cx18_enqueue(s, mdl, &s->q_busy); in _cx18_stream_put_mdl_fw()
695 if (q != &s->q_busy) in _cx18_stream_put_mdl_fw()
712 atomic_read(&s->q_busy.depth) >= CX18_MAX_FW_MDLS_PER_STREAM) in _cx18_stream_load_fw_queue()
721 } while (atomic_read(&s->q_busy.depth) < CX18_MAX_FW_MDLS_PER_STREAM in _cx18_stream_load_fw_queue()
722 && q == &s->q_busy); in _cx18_stream_load_fw_queue()
Dcx18-driver.h398 struct cx18_queue q_busy; /* busy - in use by firmware */ member