Lines Matching refs:sformat
853 snd_pcm_format_t format, sformat; in snd_pcm_oss_change_params_locked() local
897 sformat = format; in snd_pcm_oss_change_params_locked()
899 sformat = snd_pcm_plug_slave_format(format, sformat_mask); in snd_pcm_oss_change_params_locked()
901 if ((__force int)sformat < 0 || in snd_pcm_oss_change_params_locked()
902 !snd_mask_test(sformat_mask, (__force int)sformat)) { in snd_pcm_oss_change_params_locked()
903 for (sformat = (__force snd_pcm_format_t)0; in snd_pcm_oss_change_params_locked()
904 (__force int)sformat <= (__force int)SNDRV_PCM_FORMAT_LAST; in snd_pcm_oss_change_params_locked()
905 sformat = (__force snd_pcm_format_t)((__force int)sformat + 1)) { in snd_pcm_oss_change_params_locked()
906 if (snd_mask_test(sformat_mask, (__force int)sformat) && in snd_pcm_oss_change_params_locked()
907 snd_pcm_oss_format_to(sformat) >= 0) in snd_pcm_oss_change_params_locked()
910 if ((__force int)sformat > (__force int)SNDRV_PCM_FORMAT_LAST) { in snd_pcm_oss_change_params_locked()
916 err = _snd_pcm_hw_param_set(sparams, SNDRV_PCM_HW_PARAM_FORMAT, (__force int)sformat, 0); in snd_pcm_oss_change_params_locked()