Home
last modified time | relevance | path

Searched refs:snd_pcm_format_width (Results 1 – 25 of 45) 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.c296 snd_pcm_format_width(format) / 8; in init_data()
Dpcm_plugin.c349 unsigned int width = snd_pcm_format_width(format); in snd_pcm_plug_slave_format()
359 w = snd_pcm_format_width(f); in snd_pcm_plug_slave_format()
/sound/core/
Dpcm_iec958.c62 switch (snd_pcm_format_width(runtime->format)) { in snd_pcm_create_iec958_consumer()
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);
/sound/soc/qcom/
Dstorm.c37 bitwidth = snd_pcm_format_width(format); in storm_ops_hw_params()
Dlpass-cpu.c97 bitwidth = snd_pcm_format_width(format); in lpass_cpu_daiops_hw_params()
Dlpass-platform.c96 bitwidth = snd_pcm_format_width(format); in lpass_platform_pcmops_hw_params()
/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()
/sound/soc/
Dsoc-utils.c33 sample_size = snd_pcm_format_width(params_format(params)); in snd_soc_params_to_frame_size()
/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()
/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()
/sound/soc/intel/skylake/
Dskl-pcm.c234 p_params.s_fmt = snd_pcm_format_width(params_format(params)); in skl_pcm_hw_params()
290 p_params.s_fmt = snd_pcm_format_width(params_format(params)); in skl_be_hw_params()
349 p_params.s_fmt = snd_pcm_format_width(params_format(params)); in skl_link_hw_params()
/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()
Dmsnd_pinnacle.c85 chip->play_sample_size = snd_pcm_format_width(DEFSAMPLESIZE); in set_default_audio_parameters()
88 chip->capture_sample_size = snd_pcm_format_width(DEFSAMPLESIZE); in set_default_audio_parameters()
/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()
/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()
/sound/soc/intel/baytrail/
Dsst-baytrail-pcm.c96 bits = snd_pcm_format_width(params_format(params)); in sst_byt_pcm_hw_params()
/sound/soc/xtensa/
Dxtfpga-i2s.c290 unsigned sample_size = snd_pcm_format_width(params_format(params)); in xtfpga_i2s_hw_params()
/sound/soc/fsl/
Dfsl_sai.c386 u32 word_width = snd_pcm_format_width(params_format(params)); in fsl_sai_hw_params()
/sound/hda/
Dhdac_device.c769 switch (snd_pcm_format_width(format)) { in snd_hdac_calc_stream_format()

12