Home
last modified time | relevance | path

Searched refs:sformat (Results 1 – 1 of 1) sorted by relevance

/linux-6.1.9/sound/core/oss/
Dpcm_oss.c866 snd_pcm_format_t format, sformat; in snd_pcm_oss_change_params_locked() local
917 sformat = format; in snd_pcm_oss_change_params_locked()
919 sformat = snd_pcm_plug_slave_format(format, sformat_mask); in snd_pcm_oss_change_params_locked()
921 if ((__force int)sformat < 0 || in snd_pcm_oss_change_params_locked()
922 !snd_mask_test_format(sformat_mask, sformat)) { in snd_pcm_oss_change_params_locked()
923 pcm_for_each_format(sformat) { in snd_pcm_oss_change_params_locked()
924 if (snd_mask_test_format(sformat_mask, sformat) && in snd_pcm_oss_change_params_locked()
925 snd_pcm_oss_format_to(sformat) >= 0) in snd_pcm_oss_change_params_locked()
933 err = _snd_pcm_hw_param_set(sparams, SNDRV_PCM_HW_PARAM_FORMAT, (__force int)sformat, 0); in snd_pcm_oss_change_params_locked()