Home
last modified time | relevance | path

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

123

/Linux-v5.4/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-v5.4/sound/core/
Dpcm_iec958.c99 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-v5.4/sound/soc/
Dsoc-utils.c27 sample_size = snd_pcm_format_width(params_format(params)); in snd_soc_params_to_frame_size()
/Linux-v5.4/sound/soc/qcom/
Dstorm.c29 bitwidth = snd_pcm_format_width(format); in storm_ops_hw_params()
/Linux-v5.4/sound/ppc/
Dsnd_ps3.c448 snd_pcm_format_width(substream->runtime->format)); in snd_ps3_set_avsetting()
474 switch (snd_pcm_format_width(substream->runtime->format)) { in snd_ps3_set_avsetting()
483 snd_pcm_format_width(substream->runtime->format)); in snd_ps3_set_avsetting()
/Linux-v5.4/sound/isa/es1688/
Des1688_lib.c371 if (snd_pcm_format_width(runtime->format) == 8) { in snd_es1688_playback_prepare()
383 if (snd_pcm_format_width(runtime->format) == 8) { in snd_es1688_playback_prepare()
433 if (snd_pcm_format_width(runtime->format) == 8) { in snd_es1688_capture_prepare()
443 if (snd_pcm_format_width(runtime->format) == 8) { in snd_es1688_capture_prepare()
/Linux-v5.4/sound/isa/gus/
Dgus_pcm.c78 if (snd_pcm_format_width(runtime->format) == 16) in snd_gf1_pcm_block_change()
114 voice_ctrl = snd_pcm_format_width(runtime->format) == 16 ? 0x24 : 0x20; in snd_gf1_pcm_trigger_up()
125 end -= snd_pcm_format_width(runtime->format) == 16 ? 2 : 1; in snd_gf1_pcm_trigger_up()
364 w16 = (snd_pcm_format_width(runtime->format) == 16); in playback_copy_ack()
/Linux-v5.4/sound/soc/sh/rcar/
Dssi.c417 width = snd_pcm_format_width(runtime->format); in rsnd_ssi_config_init()
529 unsigned int fmt_width = snd_pcm_format_width(params_format(params)); in rsnd_ssi_hw_params()
846 if (snd_pcm_format_width(runtime->format) == 24) in rsnd_ssi_pio_interrupt()
Dcore.c360 switch (snd_pcm_format_width(runtime->format)) { in rsnd_get_adinr_bit()
415 if ((snd_pcm_format_width(runtime->format) != 16) || in rsnd_get_dalign()
450 if (snd_pcm_format_width(runtime->format) != 24) in rsnd_get_busif_shift()
/Linux-v5.4/sound/soc/samsung/
Dsnow.c40 bitwidth = snd_pcm_format_width(params_format(params)); in snow_card_hw_params()
/Linux-v5.4/sound/soc/codecs/
Dmax98927.c316 switch (snd_pcm_format_width(params_format(params))) { in max98927_dai_hw_params()
332 max98927->ch_size = snd_pcm_format_width(params_format(params)); in max98927_dai_hw_params()
Dmax98373.c217 switch (snd_pcm_format_width(params_format(params))) { in max98373_dai_hw_params()
233 max98373->ch_size = snd_pcm_format_width(params_format(params)); in max98373_dai_hw_params()
/Linux-v5.4/sound/isa/msnd/
Dmsnd.c500 chip->play_sample_size = snd_pcm_format_width(params_format(params)); in snd_msnd_playback_hw_params()
646 chip->capture_sample_size = snd_pcm_format_width(params_format(params)); in snd_msnd_capture_hw_params()
/Linux-v5.4/include/sound/
Dpcm_params.h347 return snd_pcm_format_width(params_format(p)); in params_width()
/Linux-v5.4/drivers/staging/vc04_services/bcm2835-audio/
Dbcm2835-pcm.c226 snd_pcm_format_width(runtime->format)); in snd_bcm2835_pcm_prepare()
/Linux-v5.4/sound/pci/
Dsis7019.c527 if (snd_pcm_format_width(runtime->format) == 8) in sis_pcm_playback_prepare()
788 if (snd_pcm_format_width(runtime->format) == 8) in sis_prepare_timing_voice()
830 if (snd_pcm_format_width(runtime->format) == 8) in sis_pcm_capture_prepare()
Dad1889.c364 if (snd_pcm_format_width(rt->format) == 16) in snd_ad1889_playback_prepare()
414 if (snd_pcm_format_width(rt->format) == 16) in snd_ad1889_capture_prepare()
/Linux-v5.4/sound/isa/
Des18xx.c442 if (snd_pcm_format_width(params_format(hw_params)) == 16) in snd_es18xx_playback_hw_params()
483 (snd_pcm_format_width(runtime->format) == 16 ? 0x01 : 0x00) | in snd_es18xx_playback1_prepare()
557 if (snd_pcm_format_width(params_format(hw_params)) == 16) in snd_es18xx_capture_hw_params()
593 (snd_pcm_format_width(runtime->format) == 16 ? 0x04 : 0x00) | in snd_es18xx_capture_prepare()
657 (snd_pcm_format_width(runtime->format) == 16 ? 0x04 : 0x00) | in snd_es18xx_playback2_prepare()
/Linux-v5.4/sound/soc/amd/
Dacp-da7219-max98357a.c255 snd_pcm_format_width(params_format(params)); in cz_da7219_params()
/Linux-v5.4/sound/soc/sof/intel/
Dhda-dai.c243 p_params.s_fmt = snd_pcm_format_width(params_format(params)); in hda_link_hw_params()
/Linux-v5.4/sound/soc/intel/skylake/
Dskl-pcm.c328 p_params.s_fmt = snd_pcm_format_width(params_format(params)); in skl_pcm_hw_params()
417 p_params.s_fmt = snd_pcm_format_width(params_format(params)); in skl_be_hw_params()
585 p_params.s_fmt = snd_pcm_format_width(params_format(params)); in skl_link_hw_params()
/Linux-v5.4/sound/soc/intel/baytrail/
Dsst-baytrail-pcm.c89 bits = snd_pcm_format_width(params_format(params)); in sst_byt_pcm_hw_params()

123