Home
last modified time | relevance | path

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

/linux-4.1.27/sound/core/oss/
Dlinear.c119 src_bytes = snd_pcm_format_width(src_format) / 8; in init_data()
120 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.c321 unsigned int width = snd_pcm_format_width(format); in snd_pcm_plug_slave_format()
331 w = snd_pcm_format_width(f); in snd_pcm_plug_slave_format()
/linux-4.1.27/sound/soc/
Dsoc-utils.c33 sample_size = snd_pcm_format_width(params_format(params)); in snd_soc_params_to_frame_size()
/linux-4.1.27/sound/soc/qcom/
Dstorm.c37 bitwidth = snd_pcm_format_width(format); in storm_ops_hw_params()
Dlpass-cpu.c91 bitwidth = snd_pcm_format_width(format); in lpass_cpu_daiops_hw_params()
Dlpass-platform.c95 bitwidth = snd_pcm_format_width(format); in lpass_platform_pcmops_hw_params()
/linux-4.1.27/sound/soc/codecs/
Dwm8776.c268 switch (snd_pcm_format_width(params_format(params))) { in wm8776_hw_params()
283 snd_pcm_format_width(params_format(params))); in wm8776_hw_params()
Dmax98925.c435 switch (snd_pcm_format_width(params_format(params))) { in max98925_dai_hw_params()
Dpcm512x.c1122 switch (snd_pcm_format_width(params_format(params))) { in pcm512x_hw_params()
1137 snd_pcm_format_width(params_format(params))); in pcm512x_hw_params()
Darizona.c1362 wl = snd_pcm_format_width(params_format(params)); in arizona_hw_params()
Dwm2200.c1705 wl = snd_pcm_format_width(params_format(params)); in wm2200_hw_params()
Dwm5100.c1411 wl = snd_pcm_format_width(params_format(params)); in wm5100_hw_params()
Dwm8996.c1785 bits = snd_pcm_format_width(params_format(params)); in wm8996_hw_params()
/linux-4.1.27/sound/core/
Dpcm_misc.c328 int snd_pcm_format_width(snd_pcm_format_t format) in snd_pcm_format_width() function
338 EXPORT_SYMBOL(snd_pcm_format_width);
/linux-4.1.27/sound/isa/gus/
Dgus_pcm.c93 if (snd_pcm_format_width(runtime->format) == 16) in snd_gf1_pcm_block_change()
129 voice_ctrl = snd_pcm_format_width(runtime->format) == 16 ? 0x24 : 0x20; in snd_gf1_pcm_trigger_up()
140 end -= snd_pcm_format_width(runtime->format) == 16 ? 2 : 1; in snd_gf1_pcm_trigger_up()
380 w16 = (snd_pcm_format_width(runtime->format) == 16); in snd_gf1_pcm_playback_copy()
410 w16 = (snd_pcm_format_width(runtime->format) == 16); in snd_gf1_pcm_playback_silence()
/linux-4.1.27/sound/ppc/
Dsnd_ps3.c462 snd_pcm_format_width(substream->runtime->format)); in snd_ps3_set_avsetting()
488 switch (snd_pcm_format_width(substream->runtime->format)) { in snd_ps3_set_avsetting()
497 snd_pcm_format_width(substream->runtime->format)); in snd_ps3_set_avsetting()
/linux-4.1.27/sound/isa/es1688/
Des1688_lib.c388 if (snd_pcm_format_width(runtime->format) == 8) { in snd_es1688_playback_prepare()
400 if (snd_pcm_format_width(runtime->format) == 8) { in snd_es1688_playback_prepare()
450 if (snd_pcm_format_width(runtime->format) == 8) { in snd_es1688_capture_prepare()
460 if (snd_pcm_format_width(runtime->format) == 8) { in snd_es1688_capture_prepare()
/linux-4.1.27/sound/isa/msnd/
Dmsnd.c512 chip->play_sample_size = snd_pcm_format_width(params_format(params)); in snd_msnd_playback_hw_params()
658 chip->capture_sample_size = snd_pcm_format_width(params_format(params)); in snd_msnd_capture_hw_params()
/linux-4.1.27/include/sound/
Dpcm_params.h353 return snd_pcm_format_width(params_format(p)); in params_width()
Dpcm.h1056 int snd_pcm_format_width(snd_pcm_format_t format); /* in bits */
/linux-4.1.27/sound/pci/
Dsis7019.c539 if (snd_pcm_format_width(runtime->format) == 8) in sis_pcm_playback_prepare()
800 if (snd_pcm_format_width(runtime->format) == 8) in sis_prepare_timing_voice()
842 if (snd_pcm_format_width(runtime->format) == 8) in sis_pcm_capture_prepare()
Dad1889.c376 if (snd_pcm_format_width(rt->format) == 16) in snd_ad1889_playback_prepare()
426 if (snd_pcm_format_width(rt->format) == 16) in snd_ad1889_capture_prepare()
Des1938.c635 is8 = snd_pcm_format_width(runtime->format) == 16 ? 0 : 1; in snd_es1938_capture_prepare()
683 is8 = snd_pcm_format_width(runtime->format) == 16 ? 0 : 1; in snd_es1938_playback1_prepare()
720 is8 = snd_pcm_format_width(runtime->format) == 16 ? 0 : 1; in snd_es1938_playback2_prepare()
Dfm801.c456 if (snd_pcm_format_width(runtime->format) == 16) in snd_fm801_playback_prepare()
488 if (snd_pcm_format_width(runtime->format) == 16) in snd_fm801_capture_prepare()
Dsonicvibes.c721 if (snd_pcm_format_width(runtime->format) == 16) in snd_sonicvibes_playback_prepare()
746 if (snd_pcm_format_width(runtime->format) == 16) in snd_sonicvibes_capture_prepare()
Dens1370.c893 if (snd_pcm_format_width(runtime->format) == 16) in snd_ensoniq_playback1_prepare()
941 if (snd_pcm_format_width(runtime->format) == 16) in snd_ensoniq_playback2_prepare()
981 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()
1235 if (snd_pcm_format_width(subs->runtime->format) > 16) { in setup_ac3()
1417 if (snd_pcm_format_width(substream->runtime->format) > 16) in snd_cmipci_capture_spdif_prepare()
Dazt3328.c1470 snd_pcm_format_width(runtime->format), in snd_azf3328_pcm_prepare()
1503 snd_pcm_format_width(runtime->format), in snd_azf3328_pcm_trigger()
Dcs4281.c748 switch (snd_pcm_format_width(runtime->format)) { in snd_cs4281_mode()
Dmaestro3.c1260 snd_pcm_format_width(runtime->format) == 16 ? 0 : 1); in snd_m3_pcm_setup2()
Des1968.c1231 if (snd_pcm_format_width(runtime->format) == 16) in snd_es1968_pcm_prepare()
/linux-4.1.27/sound/isa/
Des18xx.c457 if (snd_pcm_format_width(params_format(hw_params)) == 16) in snd_es18xx_playback_hw_params()
498 (snd_pcm_format_width(runtime->format) == 16 ? 0x01 : 0x00) | in snd_es18xx_playback1_prepare()
572 if (snd_pcm_format_width(params_format(hw_params)) == 16) in snd_es18xx_capture_hw_params()
608 (snd_pcm_format_width(runtime->format) == 16 ? 0x04 : 0x00) | in snd_es18xx_capture_prepare()
672 (snd_pcm_format_width(runtime->format) == 16 ? 0x04 : 0x00) | in snd_es18xx_playback2_prepare()
/linux-4.1.27/sound/soc/intel/baytrail/
Dsst-baytrail-pcm.c96 bits = snd_pcm_format_width(params_format(params)); in sst_byt_pcm_hw_params()
/linux-4.1.27/sound/soc/xtensa/
Dxtfpga-i2s.c290 unsigned sample_size = snd_pcm_format_width(params_format(params)); in xtfpga_i2s_hw_params()
/linux-4.1.27/sound/soc/fsl/
Dfsl_sai.c298 u32 word_width = snd_pcm_format_width(params_format(params)); in fsl_sai_hw_params()
Dfsl_esai.c513 u32 width = snd_pcm_format_width(params_format(params)); in fsl_esai_hw_params()
Dfsl_asrc.c450 int width = snd_pcm_format_width(params_format(params)); in fsl_asrc_dai_hw_params()
Dfsl_ssi.c704 snd_pcm_format_width(params_format(hw_params)); in fsl_ssi_hw_params()
/linux-4.1.27/sound/pci/emu10k1/
Demupcm.c301 w_16 = snd_pcm_format_width(runtime->format) == 16; in snd_emu10k1_pcm_init_voice()
647 sample = snd_pcm_format_width(runtime->format) == 16 ? 0 : 0x80808080; in snd_emu10k1_playback_invalidate_cache()
/linux-4.1.27/sound/pci/ice1712/
Dice1712.c595 if (snd_pcm_format_width(runtime->format) == 16) in snd_ice1712_playback_prepare()
627 if (snd_pcm_format_width(runtime->format) == 16) in snd_ice1712_playback_ds_prepare()
663 if (snd_pcm_format_width(runtime->format) == 16) in snd_ice1712_capture_prepare()
/linux-4.1.27/drivers/media/pci/saa7134/
Dsaa7134-alsa.c531 if (snd_pcm_format_width(runtime->format) == 8) in snd_card_saa7134_capture_prepare()
/linux-4.1.27/sound/pci/trident/
Dtrident_main.c771 if (snd_pcm_format_width(runtime->format) == 16) in snd_trident_control_mode()
1082 if (snd_pcm_format_width(runtime->format) == 16) { in snd_trident_capture_prepare()
1094 if (snd_pcm_format_width(runtime->format) == 16) in snd_trident_capture_prepare()
/linux-4.1.27/sound/drivers/
Daloop.c345 salign = (snd_pcm_format_width(runtime->format) * in loopback_prepare()
/linux-4.1.27/sound/pci/ymfpci/
Dymfpci_main.c532 if (snd_pcm_format_width(runtime->format) == 8) in snd_ymfpci_pcm_init_voice()
735 if (snd_pcm_format_width(runtime->format) == 8) in snd_ymfpci_capture_prepare()
/linux-4.1.27/sound/pci/asihpi/
Dasihpi.c311 snd_pcm_format_width(params_format(p)) / 8); in print_hwparams()
502 width = snd_pcm_format_width(params_format(params)); in snd_card_asihpi_pcm_hw_params()
/linux-4.1.27/sound/pci/nm256/
Dnm256.c437 if (snd_pcm_format_width(runtime->format) == 16) { in snd_nm256_set_format()
/linux-4.1.27/sound/soc/davinci/
Ddavinci-mcasp.c1071 uint bclk_freq = snd_pcm_format_width(i)*channels*rate; in davinci_mcasp_hw_rule_format()
/linux-4.1.27/sound/pci/cs46xx/
Dcs46xx_lib.c1247 if (snd_pcm_format_width(runtime->format) == 8) { in snd_cs46xx_playback_prepare()
1256 if (snd_pcm_format_width(runtime->format) != 8) { in snd_cs46xx_playback_prepare()
/linux-4.1.27/sound/pci/hda/
Dhda_codec.c3392 switch (snd_pcm_format_width(format)) { in snd_hda_calc_stream_format()
3411 snd_pcm_format_width(format)); in snd_hda_calc_stream_format()
/linux-4.1.27/sound/pci/ali5451/
Dali5451.c1068 if (snd_pcm_format_width(runtime->format) == 16) in snd_ali_control_mode()
/linux-4.1.27/sound/pci/riptide/
Driptide.c1028 w = snd_pcm_format_width(format) == 8; in setsampleformat()