Lines Matching refs:audio_mask
787 int audio_mask, int *retry)
794 while (audio_mask) {
795 if (audio_mask & 1) {
820 audio_mask>>=1;
826 static int pcxhr_stop_pipes(struct pcxhr_mgr *mgr, int audio_mask)
832 while (audio_mask) {
833 if (audio_mask & 1) {
852 audio_mask>>=1;
858 static int pcxhr_toggle_pipes(struct pcxhr_mgr *mgr, int audio_mask)
864 while (audio_mask) {
865 if (audio_mask & 1) {
881 audio_mask>>=1;
902 int audio_mask;
908 audio_mask = (playback_mask |
913 start ? "START" : "STOP", audio_mask, state);
916 audio_mask &= ~state;
917 state = audio_mask;
927 audio_mask &= state; /* stop only pipes that are started */
929 if (audio_mask == 0)
932 err = pcxhr_toggle_pipes(mgr, audio_mask);
940 if ((state & audio_mask) == (start ? audio_mask : 0))
949 err = pcxhr_stop_pipes(mgr, audio_mask);