Lines Matching refs:stopping
502 * fails, except when stopping the pipeline.
616 * @stopping: flag which tells module wants to stop
622 atomic_t *stopping)
637 atomic_set(stopping, 1);
645 * If it isn't the last one, the function won't sleep but *stopping
655 atomic_set(stopping, 0);
660 if (!wait_event_timeout(*wait, !atomic_read(stopping),
662 atomic_set(stopping, 0);
671 * omap4iss_module_sync_is_stopped - Helper to verify if module was stopping
673 * @stopping: flag which tells module wants to stop
675 * This function checks if ISS submodule was stopping. In case of yes, it
676 * notices the caller by setting stopping to 0 and waking up the wait queue.
677 * Returns 1 if it was stopping or 0 otherwise.
680 atomic_t *stopping)
682 if (atomic_cmpxchg(stopping, 1, 0)) {