Lines Matching defs:stopping
857 * fails, except when stopping the pipeline.
1178 * @stopping: flag which tells module wants to stop
1184 atomic_t *stopping)
1197 atomic_set(stopping, 1);
1205 * If it isn't the last one, the function won't sleep but *stopping
1215 atomic_set(stopping, 0);
1220 if (!wait_event_timeout(*wait, !atomic_read(stopping),
1222 atomic_set(stopping, 0);
1232 * omap3isp_module_sync_is_stopping - Helper to verify if module was stopping
1234 * @stopping: flag which tells module wants to stop
1236 * This function checks if ISP submodule was stopping. In case of yes, it
1237 * notices the caller by setting stopping to 0 and waking up the wait queue.
1238 * Returns 1 if it was stopping or 0 otherwise.
1241 atomic_t *stopping)
1243 if (atomic_cmpxchg(stopping, 1, 0)) {