Lines Matching refs:atomic_read
669 if ((atomic_read(&s->q_free.depth) + atomic_read(&s->q_busy.depth)) >=
674 if (atomic_read(&s->q_full.depth) < 2)
716 if (atomic_read(&s->q_free.depth) == 0 ||
717 atomic_read(&s->q_busy.depth) >= CX18_MAX_FW_MDLS_PER_STREAM)
726 } while (atomic_read(&s->q_busy.depth) < CX18_MAX_FW_MDLS_PER_STREAM
863 if (atomic_read(&cx->ana_capturing) == 0)
915 if (atomic_read(&cx->tot_capturing) == 0) {
944 if (atomic_read(&cx->tot_capturing) == 0) {
985 if (atomic_read(&cx->tot_capturing) == 0)
1012 if (atomic_read(&cx->tot_capturing) > 0)