Searched refs:snd_pcm_format_width (Results 1 - 47 of 47) sorted by relevance

/linux-4.4.14/sound/core/
H A Dpcm_iec958.c62 switch (snd_pcm_format_width(runtime->format)) { snd_pcm_create_iec958_consumer()
H A Dpcm_misc.c322 * snd_pcm_format_width - return the bit-width of the format
328 int snd_pcm_format_width(snd_pcm_format_t format) snd_pcm_format_width() function
338 EXPORT_SYMBOL(snd_pcm_format_width); variable
/linux-4.4.14/sound/core/oss/
H A Dlinear.c119 src_bytes = snd_pcm_format_width(src_format) / 8; init_data()
120 dst_bytes = snd_pcm_format_width(dst_format) / 8; init_data()
H A Dpcm_plugin.c321 unsigned int width = snd_pcm_format_width(format); snd_pcm_plug_slave_format()
331 w = snd_pcm_format_width(f); snd_pcm_plug_slave_format()
H A Dmulaw.c294 snd_pcm_format_width(format) / 8; init_data()
/linux-4.4.14/sound/soc/qcom/
H A Dstorm.c37 bitwidth = snd_pcm_format_width(format); storm_ops_hw_params()
H A Dlpass-cpu.c97 bitwidth = snd_pcm_format_width(format); lpass_cpu_daiops_hw_params()
H A Dlpass-platform.c96 bitwidth = snd_pcm_format_width(format); lpass_platform_pcmops_hw_params()
/linux-4.4.14/sound/soc/
H A Dsoc-utils.c33 sample_size = snd_pcm_format_width(params_format(params)); snd_soc_params_to_frame_size()
/linux-4.4.14/sound/isa/gus/
H A Dgus_pcm.c93 if (snd_pcm_format_width(runtime->format) == 16) snd_gf1_pcm_block_change()
129 voice_ctrl = snd_pcm_format_width(runtime->format) == 16 ? 0x24 : 0x20; snd_gf1_pcm_trigger_up()
140 end -= snd_pcm_format_width(runtime->format) == 16 ? 2 : 1; snd_gf1_pcm_trigger_up()
380 w16 = (snd_pcm_format_width(runtime->format) == 16); snd_gf1_pcm_playback_copy()
410 w16 = (snd_pcm_format_width(runtime->format) == 16); snd_gf1_pcm_playback_silence()
/linux-4.4.14/sound/soc/intel/skylake/
H A Dskl-pcm.c234 p_params.s_fmt = snd_pcm_format_width(params_format(params)); skl_pcm_hw_params()
290 p_params.s_fmt = snd_pcm_format_width(params_format(params)); skl_be_hw_params()
349 p_params.s_fmt = snd_pcm_format_width(params_format(params)); skl_link_hw_params()
/linux-4.4.14/sound/ppc/
H A Dsnd_ps3.c462 snd_pcm_format_width(substream->runtime->format)); snd_ps3_set_avsetting()
488 switch (snd_pcm_format_width(substream->runtime->format)) { snd_ps3_set_avsetting()
497 snd_pcm_format_width(substream->runtime->format)); snd_ps3_set_avsetting()
/linux-4.4.14/include/sound/
H A Dpcm_params.h353 return snd_pcm_format_width(params_format(p)); params_width()
H A Dpcm.h1063 int snd_pcm_format_width(snd_pcm_format_t format); /* in bits */
/linux-4.4.14/sound/isa/es1688/
H A Des1688_lib.c388 if (snd_pcm_format_width(runtime->format) == 8) { snd_es1688_playback_prepare()
400 if (snd_pcm_format_width(runtime->format) == 8) { snd_es1688_playback_prepare()
450 if (snd_pcm_format_width(runtime->format) == 8) { snd_es1688_capture_prepare()
460 if (snd_pcm_format_width(runtime->format) == 8) { snd_es1688_capture_prepare()
/linux-4.4.14/sound/isa/msnd/
H A Dmsnd.c512 chip->play_sample_size = snd_pcm_format_width(params_format(params)); snd_msnd_playback_hw_params()
658 chip->capture_sample_size = snd_pcm_format_width(params_format(params)); snd_msnd_capture_hw_params()
/linux-4.4.14/sound/soc/intel/baytrail/
H A Dsst-baytrail-pcm.c96 bits = snd_pcm_format_width(params_format(params)); sst_byt_pcm_hw_params()
/linux-4.4.14/sound/isa/
H A Des18xx.c457 if (snd_pcm_format_width(params_format(hw_params)) == 16) snd_es18xx_playback_hw_params()
498 (snd_pcm_format_width(runtime->format) == 16 ? 0x01 : 0x00) | snd_es18xx_playback1_prepare()
572 if (snd_pcm_format_width(params_format(hw_params)) == 16) snd_es18xx_capture_hw_params()
608 (snd_pcm_format_width(runtime->format) == 16 ? 0x04 : 0x00) | snd_es18xx_capture_prepare()
672 (snd_pcm_format_width(runtime->format) == 16 ? 0x04 : 0x00) | snd_es18xx_playback2_prepare()
/linux-4.4.14/sound/pci/
H A Des1938.c635 is8 = snd_pcm_format_width(runtime->format) == 16 ? 0 : 1; snd_es1938_capture_prepare()
683 is8 = snd_pcm_format_width(runtime->format) == 16 ? 0 : 1; snd_es1938_playback1_prepare()
720 is8 = snd_pcm_format_width(runtime->format) == 16 ? 0 : 1; snd_es1938_playback2_prepare()
H A Dsis7019.c539 if (snd_pcm_format_width(runtime->format) == 8) sis_pcm_playback_prepare()
800 if (snd_pcm_format_width(runtime->format) == 8) sis_prepare_timing_voice()
842 if (snd_pcm_format_width(runtime->format) == 8) sis_pcm_capture_prepare()
H A Dad1889.c376 if (snd_pcm_format_width(rt->format) == 16) snd_ad1889_playback_prepare()
426 if (snd_pcm_format_width(rt->format) == 16) snd_ad1889_capture_prepare()
H A Dfm801.c456 if (snd_pcm_format_width(runtime->format) == 16) snd_fm801_playback_prepare()
488 if (snd_pcm_format_width(runtime->format) == 16) snd_fm801_capture_prepare()
H A Dens1370.c893 if (snd_pcm_format_width(runtime->format) == 16) snd_ensoniq_playback1_prepare()
941 if (snd_pcm_format_width(runtime->format) == 16) snd_ensoniq_playback2_prepare()
981 if (snd_pcm_format_width(runtime->format) == 16) snd_ensoniq_capture_prepare()
H A Dcmipci.c791 if (snd_pcm_format_width(runtime->format) >= 16) { snd_cmipci_pcm_prepare()
793 if (snd_pcm_format_width(runtime->format) > 16) snd_cmipci_pcm_prepare()
1235 if (snd_pcm_format_width(subs->runtime->format) > 16) { setup_ac3()
1417 if (snd_pcm_format_width(substream->runtime->format) > 16) snd_cmipci_capture_spdif_prepare()
H A Dsonicvibes.c721 if (snd_pcm_format_width(runtime->format) == 16) snd_sonicvibes_playback_prepare()
746 if (snd_pcm_format_width(runtime->format) == 16) snd_sonicvibes_capture_prepare()
H A Dazt3328.c1470 snd_pcm_format_width(runtime->format), snd_azf3328_pcm_prepare()
1503 snd_pcm_format_width(runtime->format), snd_azf3328_pcm_trigger()
H A Dcs4281.c748 switch (snd_pcm_format_width(runtime->format)) { snd_cs4281_mode()
H A Dmaestro3.c1260 snd_pcm_format_width(runtime->format) == 16 ? 0 : 1); snd_m3_pcm_setup2()
H A Des1968.c1231 if (snd_pcm_format_width(runtime->format) == 16) snd_es1968_pcm_prepare()
/linux-4.4.14/sound/soc/xtensa/
H A Dxtfpga-i2s.c290 unsigned sample_size = snd_pcm_format_width(params_format(params)); xtfpga_i2s_hw_params()
/linux-4.4.14/sound/soc/fsl/
H A Dfsl_sai.c384 u32 word_width = snd_pcm_format_width(params_format(params)); fsl_sai_hw_params()
H A Dfsl_asrc.c450 int width = snd_pcm_format_width(params_format(params)); fsl_asrc_dai_hw_params()
H A Dfsl_esai.c513 u32 width = snd_pcm_format_width(params_format(params)); fsl_esai_hw_params()
H A Dfsl_ssi.c771 snd_pcm_format_width(params_format(hw_params)); fsl_ssi_hw_params()
/linux-4.4.14/sound/pci/emu10k1/
H A Demupcm.c301 w_16 = snd_pcm_format_width(runtime->format) == 16; snd_emu10k1_pcm_init_voice()
647 sample = snd_pcm_format_width(runtime->format) == 16 ? 0 : 0x80808080; snd_emu10k1_playback_invalidate_cache()
/linux-4.4.14/sound/pci/ice1712/
H A Dice1712.c595 if (snd_pcm_format_width(runtime->format) == 16) snd_ice1712_playback_prepare()
627 if (snd_pcm_format_width(runtime->format) == 16) snd_ice1712_playback_ds_prepare()
663 if (snd_pcm_format_width(runtime->format) == 16) snd_ice1712_capture_prepare()
/linux-4.4.14/sound/pci/trident/
H A Dtrident_main.c771 if (snd_pcm_format_width(runtime->format) == 16) snd_trident_control_mode()
1082 if (snd_pcm_format_width(runtime->format) == 16) { snd_trident_capture_prepare()
1094 if (snd_pcm_format_width(runtime->format) == 16) snd_trident_capture_prepare()
/linux-4.4.14/sound/pci/asihpi/
H A Dasihpi.c311 snd_pcm_format_width(params_format(p)) / 8); print_hwparams()
502 width = snd_pcm_format_width(params_format(params)); snd_card_asihpi_pcm_hw_params()
/linux-4.4.14/sound/pci/ymfpci/
H A Dymfpci_main.c532 if (snd_pcm_format_width(runtime->format) == 8) snd_ymfpci_pcm_init_voice()
735 if (snd_pcm_format_width(runtime->format) == 8) snd_ymfpci_capture_prepare()
/linux-4.4.14/drivers/media/pci/saa7134/
H A Dsaa7134-alsa.c523 if (snd_pcm_format_width(runtime->format) == 8) snd_card_saa7134_capture_prepare()
/linux-4.4.14/sound/drivers/
H A Daloop.c345 salign = (snd_pcm_format_width(runtime->format) * loopback_prepare()
/linux-4.4.14/sound/hda/
H A Dhdac_device.c767 switch (snd_pcm_format_width(format)) { snd_hdac_calc_stream_format()
/linux-4.4.14/sound/pci/cs46xx/
H A Dcs46xx_lib.c1247 if (snd_pcm_format_width(runtime->format) == 8) { snd_cs46xx_playback_prepare()
1256 if (snd_pcm_format_width(runtime->format) != 8) { snd_cs46xx_playback_prepare()
/linux-4.4.14/sound/pci/nm256/
H A Dnm256.c437 if (snd_pcm_format_width(runtime->format) == 16) { snd_nm256_set_format()
/linux-4.4.14/sound/soc/davinci/
H A Ddavinci-mcasp.c1192 uint sbits = snd_pcm_format_width(i); davinci_mcasp_hw_rule_format()
/linux-4.4.14/sound/pci/ali5451/
H A Dali5451.c1068 if (snd_pcm_format_width(runtime->format) == 16) snd_ali_control_mode()
/linux-4.4.14/sound/pci/riptide/
H A Driptide.c1028 w = snd_pcm_format_width(format) == 8; setsampleformat()

Completed in 1421 milliseconds