Lines Matching refs:ctrl

123             response.ctrl = DSP_32BIT_TO_DSP(response.ctrl);  in DSPi_PipeCallbackForSound()
126 if ((response.ctrl & DSP_AUDIO_DRIVER_TARGET_MASK) == DSP_AUDIO_DRIVER_TARGET_OUTPUT) in DSPi_PipeCallbackForSound()
129 … if ((response.ctrl & DSP_AUDIO_DRIVER_CONTROL_MASK) == DSP_AUDIO_DRIVER_CONTROL_STOP) in DSPi_PipeCallbackForSound()
143 if ((response.ctrl & DSP_AUDIO_DRIVER_TARGET_MASK) == DSP_AUDIO_DRIVER_TARGET_INPUT) in DSPi_PipeCallbackForSound()
146 … if ((response.ctrl & DSP_AUDIO_DRIVER_CONTROL_MASK) == DSP_AUDIO_DRIVER_CONTROL_START) in DSPi_PipeCallbackForSound()
168 static void DSPi_PlaySoundEx(const void *src, u32 len, u32 ctrl, int priority) in DSPi_PlaySoundEx() argument
182 ctrl |= DSP_AUDIO_DRIVER_TARGET_OUTPUT; in DSPi_PlaySoundEx()
183 ctrl |= DSP_AUDIO_DRIVER_CONTROL_START; in DSPi_PlaySoundEx()
191 command.ctrl = DSP_32BIT_TO_DSP(ctrl); in DSPi_PlaySoundEx()
216 … u32 ctrl = (stereo != FALSE) ? DSP_AUDIO_DRIVER_MODE_STEREO : DSP_AUDIO_DRIVER_MODE_MONAURAL; in DSPi_PlaySoundCore() local
217 DSPi_PlaySoundEx(src, len, ctrl, DSP_SOUND_PRIORITY_NORMAL); in DSPi_PlaySoundCore()
317 u32 ctrl = DSP_AUDIO_DRIVER_MODE_MONAURAL;
319 ctrl |= DSP_AUDIO_DRIVER_MODE_HALFVOL;
320 DSPi_PlaySoundEx((wave_data+cur), raw_len, ctrl, DSP_SOUND_PRIORITY_SHUTTER);
377 u32 ctrl = DSP_AUDIO_DRIVER_MODE_MONAURAL; in DSPi_PlayShutterSoundCore() local
379 ctrl |= DSP_AUDIO_DRIVER_MODE_HALFVOL; in DSPi_PlayShutterSoundCore()
380 DSPi_PlaySoundEx((wave_data+cur), raw_len, ctrl, DSP_SOUND_PRIORITY_SHUTTER); in DSPi_PlayShutterSoundCore()
403 int ctrl = 0; in DSPi_StopSoundCore() local
404 ctrl |= DSP_AUDIO_DRIVER_TARGET_OUTPUT; in DSPi_StopSoundCore()
405 ctrl |= DSP_AUDIO_DRIVER_CONTROL_STOP; in DSPi_StopSoundCore()
408 command.ctrl = DSP_32BIT_TO_DSP(ctrl); in DSPi_StopSoundCore()
466 int ctrl = 0; in DSPi_StartSamplingCore() local
467 ctrl |= DSP_AUDIO_DRIVER_TARGET_INPUT; in DSPi_StartSamplingCore()
468 ctrl |= DSP_AUDIO_DRIVER_CONTROL_START; in DSPi_StartSamplingCore()
477 command.ctrl = DSP_32BIT_TO_DSP(ctrl); in DSPi_StartSamplingCore()
503 int ctrl = 0; in DSPi_StopSamplingCore() local
504 ctrl |= DSP_AUDIO_DRIVER_TARGET_INPUT; in DSPi_StopSamplingCore()
505 ctrl |= DSP_AUDIO_DRIVER_CONTROL_STOP; in DSPi_StopSamplingCore()
510 command.ctrl = DSP_32BIT_TO_DSP(ctrl); in DSPi_StopSamplingCore()