Searched refs:P_STATE (Results 1 – 1 of 1) sorted by relevance
688 #define P_STATE(x) (1U << SND_PCM_STATE_ ## x) macro689 #define P_STATE_RUNNABLE (P_STATE(PREPARED) | \690 P_STATE(RUNNING) | \691 P_STATE(XRUN) | \692 P_STATE(PAUSED) | \693 P_STATE(DRAINING))1229 err = bad_pcm_state(pcm, ~P_STATE(DISCONNECTED), 0); in snd_pcm_prepare()1284 err = bad_pcm_state(pcm, P_STATE(PREPARED), 0); in snd_pcm_start()1315 err = bad_pcm_state(pcm, P_STATE_RUNNABLE | P_STATE(SETUP) | in snd_pcm_drop()1316 P_STATE(SUSPENDED), 0); in snd_pcm_drop()[all …]