Home
last modified time | relevance | path

Searched refs:snd_pcm_format_width (Results 1 – 25 of 31) sorted by relevance

12

/sound/core/oss/
Dlinear.c121 src_bytes = snd_pcm_format_width(src_format) / 8; in init_data()
122 dst_bytes = snd_pcm_format_width(dst_format) / 8; in init_data()
Dmulaw.c294 snd_pcm_format_width(format) / 8; in init_data()
Dpcm_plugin.c318 unsigned int width = snd_pcm_format_width(format); in snd_pcm_plug_slave_format()
328 w = snd_pcm_format_width(f); in snd_pcm_plug_slave_format()
/sound/core/
Dpcm_misc.c288 int snd_pcm_format_width(snd_pcm_format_t format) in snd_pcm_format_width() function
298 EXPORT_SYMBOL(snd_pcm_format_width);
/sound/isa/gus/
Dgus_pcm.c90 if (snd_pcm_format_width(runtime->format) == 16) in snd_gf1_pcm_block_change()
126 voice_ctrl = snd_pcm_format_width(runtime->format) == 16 ? 0x24 : 0x20; in snd_gf1_pcm_trigger_up()
137 end -= snd_pcm_format_width(runtime->format) == 16 ? 2 : 1; in snd_gf1_pcm_trigger_up()
367 w16 = (snd_pcm_format_width(runtime->format) == 16); in snd_gf1_pcm_playback_copy()
397 w16 = (snd_pcm_format_width(runtime->format) == 16); in snd_gf1_pcm_playback_silence()
/sound/isa/es1688/
Des1688_lib.c379 if (snd_pcm_format_width(runtime->format) == 8) { in snd_es1688_playback_prepare()
391 if (snd_pcm_format_width(runtime->format) == 8) { in snd_es1688_playback_prepare()
441 if (snd_pcm_format_width(runtime->format) == 8) { in snd_es1688_capture_prepare()
451 if (snd_pcm_format_width(runtime->format) == 8) { in snd_es1688_capture_prepare()
/sound/ppc/
Dsnd_ps3.c695 snd_pcm_format_width(substream->runtime->format)); in snd_ps3_set_avsetting()
721 switch (snd_pcm_format_width(substream->runtime->format)) { in snd_ps3_set_avsetting()
730 snd_pcm_format_width(substream->runtime->format)); in snd_ps3_set_avsetting()
/sound/isa/
Des18xx.c467 if (snd_pcm_format_width(params_format(hw_params)) == 16) in snd_es18xx_playback_hw_params()
510 (snd_pcm_format_width(runtime->format) == 16 ? 0x01 : 0x00) | in snd_es18xx_playback1_prepare()
584 if (snd_pcm_format_width(params_format(hw_params)) == 16) in snd_es18xx_capture_hw_params()
622 (snd_pcm_format_width(runtime->format) == 16 ? 0x04 : 0x00) | in snd_es18xx_capture_prepare()
688 (snd_pcm_format_width(runtime->format) == 16 ? 0x04 : 0x00) | in snd_es18xx_playback2_prepare()
/sound/pci/
Dsis7019.c530 if (snd_pcm_format_width(runtime->format) == 8) in sis_pcm_playback_prepare()
791 if (snd_pcm_format_width(runtime->format) == 8) in sis_prepare_timing_voice()
833 if (snd_pcm_format_width(runtime->format) == 8) in sis_pcm_capture_prepare()
Dazt3328.c1063 snd_pcm_format_width(runtime->format), in snd_azf3328_playback_prepare()
1085 snd_pcm_format_width(runtime->format), in snd_azf3328_capture_prepare()
1114 snd_pcm_format_width(runtime->format), in snd_azf3328_playback_trigger()
1247 snd_pcm_format_width(runtime->format), in snd_azf3328_capture_trigger()
Dad1889.c379 if (snd_pcm_format_width(rt->format) == 16) in snd_ad1889_playback_prepare()
429 if (snd_pcm_format_width(rt->format) == 16) in snd_ad1889_capture_prepare()
Des1938.c647 is8 = snd_pcm_format_width(runtime->format) == 16 ? 0 : 1; in snd_es1938_capture_prepare()
695 is8 = snd_pcm_format_width(runtime->format) == 16 ? 0 : 1; in snd_es1938_playback1_prepare()
732 is8 = snd_pcm_format_width(runtime->format) == 16 ? 0 : 1; in snd_es1938_playback2_prepare()
Dsonicvibes.c684 if (snd_pcm_format_width(runtime->format) == 16) in snd_sonicvibes_playback_prepare()
709 if (snd_pcm_format_width(runtime->format) == 16) in snd_sonicvibes_capture_prepare()
Dfm801.c441 if (snd_pcm_format_width(runtime->format) == 16) in snd_fm801_playback_prepare()
472 if (snd_pcm_format_width(runtime->format) == 16) in snd_fm801_capture_prepare()
Dens1370.c875 if (snd_pcm_format_width(runtime->format) == 16) in snd_ensoniq_playback1_prepare()
923 if (snd_pcm_format_width(runtime->format) == 16) in snd_ensoniq_playback2_prepare()
963 if (snd_pcm_format_width(runtime->format) == 16) in snd_ensoniq_capture_prepare()
Dcmipci.c791 if (snd_pcm_format_width(runtime->format) >= 16) { in snd_cmipci_pcm_prepare()
793 if (snd_pcm_format_width(runtime->format) > 16) in snd_cmipci_pcm_prepare()
1227 if (snd_pcm_format_width(subs->runtime->format) > 16) { in setup_ac3()
1409 if (snd_pcm_format_width(substream->runtime->format) > 16) in snd_cmipci_capture_spdif_prepare()
/sound/pci/oxygen/
Doxygen.c272 if (snd_pcm_format_width(params_format(params)) <= 16) in set_wm8785_params()
/sound/soc/fsl/
Dfsl_ssi.c428 wl = CCSR_SSI_SxCCR_WL(snd_pcm_format_width(runtime->format)); in fsl_ssi_prepare()
/sound/drivers/
Ddummy.c237 bps = snd_pcm_format_width(runtime->format) * runtime->rate * in snd_card_dummy_pcm_prepare()
/sound/pci/ice1712/
Dice1712.c586 if (snd_pcm_format_width(runtime->format) == 16) in snd_ice1712_playback_prepare()
619 if (snd_pcm_format_width(runtime->format) == 16) in snd_ice1712_playback_ds_prepare()
655 if (snd_pcm_format_width(runtime->format) == 16) in snd_ice1712_capture_prepare()
/sound/pci/emu10k1/
Demupcm.c296 w_16 = snd_pcm_format_width(runtime->format) == 16; in snd_emu10k1_pcm_init_voice()
640 sample = snd_pcm_format_width(runtime->format) == 16 ? 0 : 0x80808080; in snd_emu10k1_playback_invalidate_cache()
/sound/pci/trident/
Dtrident_main.c765 if (snd_pcm_format_width(runtime->format) == 16) in snd_trident_control_mode()
1076 if (snd_pcm_format_width(runtime->format) == 16) { in snd_trident_capture_prepare()
1088 if (snd_pcm_format_width(runtime->format) == 16) in snd_trident_capture_prepare()
/sound/pci/ymfpci/
Dymfpci_main.c520 if (snd_pcm_format_width(runtime->format) == 8) in snd_ymfpci_pcm_init_voice()
723 if (snd_pcm_format_width(runtime->format) == 8) in snd_ymfpci_capture_prepare()
/sound/pci/nm256/
Dnm256.c435 if (snd_pcm_format_width(runtime->format) == 16) { in snd_nm256_set_format()
/sound/pci/cs46xx/
Dcs46xx_lib.c1057 if (snd_pcm_format_width(runtime->format) == 8) { in snd_cs46xx_playback_prepare()
1066 if (snd_pcm_format_width(runtime->format) != 8) { in snd_cs46xx_playback_prepare()

12