Searched refs:merged_cause (Results 1 – 2 of 2) sorted by relevance
839 pa_suspend_cause_t merged_cause; in pa_source_suspend() local850 merged_cause = s->suspend_cause | cause; in pa_source_suspend()852 merged_cause = s->suspend_cause & ~cause; in pa_source_suspend()854 if (merged_cause) in pa_source_suspend()855 return source_set_state(s, PA_SOURCE_SUSPENDED, merged_cause); in pa_source_suspend()
920 pa_suspend_cause_t merged_cause; in pa_sink_suspend() local928 merged_cause = s->suspend_cause | cause; in pa_sink_suspend()930 merged_cause = s->suspend_cause & ~cause; in pa_sink_suspend()932 if (merged_cause) in pa_sink_suspend()933 return sink_set_state(s, PA_SINK_SUSPENDED, merged_cause); in pa_sink_suspend()