Searched refs:format_mask (Results 1 – 9 of 9) sorted by relevance
/sound/oss/ |
D | dev_table.c | 52 int driver_size, int flags, unsigned int format_mask, in sound_install_audiodrv() argument 95 op->format_mask = format_mask; in sound_install_audiodrv()
|
D | sb_ess.h | 11 (sb_devc *devc, int *audio_flags, int *format_mask);
|
D | dev_table.h | 208 int format_mask; /* Bitmask for supported audio formats */ member 375 int driver_size, int flags, unsigned int format_mask,
|
D | sb_audio.c | 1029 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()
|
D | audio.c | 49 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()
|
D | sb_ess.c | 739 (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/ |
D | pcm_plugin.h | 129 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
|
D | pcm_plugin.c | 340 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()
|
D | pcm_oss.c | 1898 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()
|