Home
last modified time | relevance | path

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

/sound/oss/
Ddev_table.c52 int driver_size, int flags, unsigned int format_mask, in sound_install_audiodrv() argument
95 op->format_mask = format_mask; in sound_install_audiodrv()
Dsb_ess.h11 (sb_devc *devc, int *audio_flags, int *format_mask);
Ddev_table.h208 int format_mask; /* Bitmask for supported audio formats */ member
375 int driver_size, int flags, unsigned int format_mask,
Dsb_audio.c1029 int format_mask = AFMT_U8; in sb_audio_init() local
1056 format_mask |= AFMT_S16_LE; in sb_audio_init()
1062 driver = ess_audio_init (devc, &audio_flags, &format_mask); in sb_audio_init()
1068 format_mask |= AFMT_S16_LE; in sb_audio_init()
1088 audio_flags, format_mask, devc, in sb_audio_init()
Daudio.c49 if (!(audio_devs[dev]->format_mask & fmt)) /* Not supported */ in set_format()
412 val = audio_devs[dev]->format_mask | AFMT_MU_LAW; in audio_ioctl()
Dsb_ess.c739 (sb_devc *devc, int *audio_flags, int *format_mask) in ess_audio_init() argument
742 *format_mask |= AFMT_S16_LE; in ess_audio_init()
/sound/core/oss/
Dpcm_plugin.h129 struct snd_mask *format_mask);
175 static inline int snd_pcm_plug_slave_format(int format, struct snd_mask *format_mask) { return form… in snd_pcm_plug_slave_format() argument
Dpcm_plugin.c340 struct snd_mask *format_mask) in snd_pcm_plug_slave_format() argument
344 if (snd_mask_test(format_mask, (__force int)format)) in snd_pcm_plug_slave_format()
346 if (!snd_pcm_plug_formats(format_mask, format)) in snd_pcm_plug_slave_format()
357 if (!snd_mask_test(format_mask, (__force int)f)) in snd_pcm_plug_slave_format()
380 if (snd_mask_test(format_mask, (__force int)format1)) in snd_pcm_plug_slave_format()
Dpcm_oss.c1898 struct snd_mask format_mask; in snd_pcm_oss_get_formats() local
1922 format_mask = *hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in snd_pcm_oss_get_formats()
1924 if (snd_mask_test(&format_mask, fmt)) { in snd_pcm_oss_get_formats()