Lines Matching refs:ctrl
115 response.ctrl = DSP_32BIT_TO_DSP(response.ctrl); in DSPi_PipeCallbackForSound()
118 if ((response.ctrl & DSP_AUDIO_DRIVER_TARGET_MASK) == DSP_AUDIO_DRIVER_TARGET_OUTPUT) in DSPi_PipeCallbackForSound()
121 … if ((response.ctrl & DSP_AUDIO_DRIVER_CONTROL_MASK) == DSP_AUDIO_DRIVER_CONTROL_STOP) in DSPi_PipeCallbackForSound()
133 if ((response.ctrl & DSP_AUDIO_DRIVER_TARGET_MASK) == DSP_AUDIO_DRIVER_TARGET_INPUT) in DSPi_PipeCallbackForSound()
136 … if ((response.ctrl & DSP_AUDIO_DRIVER_CONTROL_MASK) == DSP_AUDIO_DRIVER_CONTROL_START) in DSPi_PipeCallbackForSound()
158 static void DSPi_PlaySoundEx(const void *src, u32 len, u32 ctrl, int priority) in DSPi_PlaySoundEx() argument
172 ctrl |= DSP_AUDIO_DRIVER_TARGET_OUTPUT; in DSPi_PlaySoundEx()
173 ctrl |= DSP_AUDIO_DRIVER_CONTROL_START; in DSPi_PlaySoundEx()
181 command.ctrl = DSP_32BIT_TO_DSP(ctrl); in DSPi_PlaySoundEx()
206 … u32 ctrl = (stereo != FALSE) ? DSP_AUDIO_DRIVER_MODE_STEREO : DSP_AUDIO_DRIVER_MODE_MONAURAL; in DSPi_PlaySoundCore() local
207 DSPi_PlaySoundEx(src, len, ctrl, DSP_SOUND_PRIORITY_NORMAL); in DSPi_PlaySoundCore()
307 u32 ctrl = DSP_AUDIO_DRIVER_MODE_MONAURAL;
309 ctrl |= DSP_AUDIO_DRIVER_MODE_HALFVOL;
310 DSPi_PlaySoundEx((wave_data+cur), raw_len, ctrl, DSP_SOUND_PRIORITY_SHUTTER);
367 u32 ctrl = DSP_AUDIO_DRIVER_MODE_MONAURAL; in DSPi_PlayShutterSoundCore() local
369 ctrl |= DSP_AUDIO_DRIVER_MODE_HALFVOL; in DSPi_PlayShutterSoundCore()
370 DSPi_PlaySoundEx((wave_data+cur), raw_len, ctrl, DSP_SOUND_PRIORITY_SHUTTER); in DSPi_PlayShutterSoundCore()
393 int ctrl = 0; in DSPi_StopSoundCore() local
394 ctrl |= DSP_AUDIO_DRIVER_TARGET_OUTPUT; in DSPi_StopSoundCore()
395 ctrl |= DSP_AUDIO_DRIVER_CONTROL_STOP; in DSPi_StopSoundCore()
398 command.ctrl = DSP_32BIT_TO_DSP(ctrl); in DSPi_StopSoundCore()
456 int ctrl = 0; in DSPi_StartSamplingCore() local
457 ctrl |= DSP_AUDIO_DRIVER_TARGET_INPUT; in DSPi_StartSamplingCore()
458 ctrl |= DSP_AUDIO_DRIVER_CONTROL_START; in DSPi_StartSamplingCore()
467 command.ctrl = DSP_32BIT_TO_DSP(ctrl); in DSPi_StartSamplingCore()
493 int ctrl = 0; in DSPi_StopSamplingCore() local
494 ctrl |= DSP_AUDIO_DRIVER_TARGET_INPUT; in DSPi_StopSamplingCore()
495 ctrl |= DSP_AUDIO_DRIVER_CONTROL_STOP; in DSPi_StopSamplingCore()
500 command.ctrl = DSP_32BIT_TO_DSP(ctrl); in DSPi_StopSamplingCore()