Home
last modified time | relevance | path

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

123

/Linux-v4.19/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.c322 unsigned int width = snd_pcm_format_width(format); in snd_pcm_plug_slave_format()
332 w = snd_pcm_format_width(f); in snd_pcm_plug_slave_format()
/Linux-v4.19/sound/core/
Dpcm_iec958.c102 snd_pcm_format_width(runtime->format), in snd_pcm_create_iec958_consumer()
Dpcm_misc.c343 int snd_pcm_format_width(snd_pcm_format_t format) in snd_pcm_format_width() function
352 EXPORT_SYMBOL(snd_pcm_format_width);
/Linux-v4.19/sound/soc/qcom/
Dstorm.c37 bitwidth = snd_pcm_format_width(format); in storm_ops_hw_params()
/Linux-v4.19/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-v4.19/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()
379 w16 = (snd_pcm_format_width(runtime->format) == 16); in playback_copy_ack()
/Linux-v4.19/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-v4.19/sound/soc/samsung/
Dsnow.c44 bitwidth = snd_pcm_format_width(params_format(params)); in snow_card_hw_params()
/Linux-v4.19/sound/soc/codecs/
Dmax98927.c320 switch (snd_pcm_format_width(params_format(params))) { in max98927_dai_hw_params()
336 max98927->ch_size = snd_pcm_format_width(params_format(params)); in max98927_dai_hw_params()
Dmax98373.c215 switch (snd_pcm_format_width(params_format(params))) { in max98373_dai_hw_params()
231 max98373->ch_size = snd_pcm_format_width(params_format(params)); in max98373_dai_hw_params()
/Linux-v4.19/sound/soc/
Dsoc-utils.c27 sample_size = snd_pcm_format_width(params_format(params)); in snd_soc_params_to_frame_size()
/Linux-v4.19/sound/isa/msnd/
Dmsnd.c513 chip->play_sample_size = snd_pcm_format_width(params_format(params)); in snd_msnd_playback_hw_params()
659 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()
/Linux-v4.19/include/sound/
Dpcm_params.h360 return snd_pcm_format_width(params_format(p)); in params_width()
/Linux-v4.19/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()
/Linux-v4.19/sound/soc/intel/skylake/
Dskl-pcm.c320 p_params.s_fmt = snd_pcm_format_width(params_format(params)); in skl_pcm_hw_params()
409 p_params.s_fmt = snd_pcm_format_width(params_format(params)); in skl_be_hw_params()
574 p_params.s_fmt = snd_pcm_format_width(params_format(params)); in skl_link_hw_params()
/Linux-v4.19/sound/soc/sh/rcar/
Dcore.c282 switch (snd_pcm_format_width(runtime->format)) { in rsnd_get_adinr_bit()
335 if ((snd_pcm_format_width(runtime->format) != 16) || in rsnd_get_dalign()
370 if (snd_pcm_format_width(runtime->format) == 16) in rsnd_get_busif_shift()
Dssi.c386 switch (snd_pcm_format_width(runtime->format)) { in rsnd_ssi_config_init()
787 if (snd_pcm_format_width(runtime->format) == 24) in rsnd_ssi_pio_interrupt()
/Linux-v4.19/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-v4.19/drivers/staging/vc04_services/bcm2835-audio/
Dbcm2835-pcm.c257 alsa_stream->pcm_format_width = snd_pcm_format_width(params_format(params)); in snd_bcm2835_pcm_hw_params()
/Linux-v4.19/sound/soc/intel/baytrail/
Dsst-baytrail-pcm.c97 bits = snd_pcm_format_width(params_format(params)); in sst_byt_pcm_hw_params()

123