Home
last modified time | relevance | path

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

/drivers/media/pci/cx18/
Dcx18-queue.c233 struct cx18_queue *q_idle = &s->q_idle; in cx18_unload_queues() local
238 cx18_queue_flush(s, &s->q_busy, q_idle); in cx18_unload_queues()
239 cx18_queue_flush(s, &s->q_full, q_idle); in cx18_unload_queues()
240 cx18_queue_flush(s, &s->q_free, q_idle); in cx18_unload_queues()
243 spin_lock(&q_idle->lock); in cx18_unload_queues()
244 list_for_each_entry(mdl, &q_idle->list, list) { in cx18_unload_queues()
255 spin_unlock(&q_idle->lock); in cx18_unload_queues()
277 for (mdl = cx18_dequeue(s, &s->q_idle), i = s->bufs_per_mdl; in cx18_load_queues()
279 mdl = cx18_dequeue(s, &s->q_idle)) { in cx18_load_queues()
314 cx18_push(s, mdl, &s->q_idle); in cx18_load_queues()
[all …]
Dcx18-streams.c270 spin_lock_init(&s->q_idle.lock); in cx18_stream_init()
271 cx18_queue_init(&s->q_idle); in cx18_stream_init()
Dcx18-driver.h391 struct cx18_queue q_idle; /* idle - not in rotation */ member