Home
last modified time | relevance | path

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

1234

/linux-6.14.4/sound/core/
Dsound_kunit.c117 KUNIT_EXPECT_EQ(test, snd_pcm_format_width(valid_fmt[i].format), in test_format_width()
121 KUNIT_EXPECT_EQ(test, snd_pcm_format_width(WRONG_FORMAT_1), -EINVAL); in test_format_width()
122 KUNIT_EXPECT_EQ(test, snd_pcm_format_width(WRONG_FORMAT_2), -EINVAL); in test_format_width()
136 KUNIT_EXPECT_EQ(test, snd_pcm_format_width(WRONG_FORMAT_1), -EINVAL); in test_format_signed()
137 KUNIT_EXPECT_EQ(test, snd_pcm_format_width(WRONG_FORMAT_2), -EINVAL); in test_format_signed()
Dpcm_iec958.c137 snd_pcm_format_width(runtime->format), in snd_pcm_fill_iec958_consumer()
Dpcm_misc.c350 int snd_pcm_format_width(snd_pcm_format_t format) in snd_pcm_format_width() function
360 EXPORT_SYMBOL(snd_pcm_format_width);
/linux-6.14.4/sound/soc/
Dsoc-utils.c28 sample_size = snd_pcm_format_width(params_format(params)); in snd_soc_params_to_frame_size()
92 tdm_width = snd_pcm_format_width(params_format(params)); in snd_soc_tdm_params_to_bclk()
/linux-6.14.4/include/sound/
Dsdw.h39 stream_config->bps = snd_pcm_format_width(params_format(params)); in snd_sdw_params_to_config()
/linux-6.14.4/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()
/linux-6.14.4/sound/soc/codecs/
Dmax98520.c176 switch (snd_pcm_format_width(params_format(params))) { in max98520_dai_hw_params()
192 max98520->ch_size = snd_pcm_format_width(params_format(params)); in max98520_dai_hw_params()
249 snd_pcm_format_width(params_format(params)), params_rate(params)); in max98520_dai_hw_params()
Dmax98373-i2c.c223 switch (snd_pcm_format_width(params_format(params))) { in max98373_dai_hw_params()
239 max98373->ch_size = snd_pcm_format_width(params_format(params)); in max98373_dai_hw_params()
Drt1017-sdca-sdw.c609 stream_config.bps = snd_pcm_format_width(params_format(params)); in rt1017_sdca_pcm_hw_params()
616 params_rate(params), num_channels, snd_pcm_format_width(params_format(params)), in rt1017_sdca_pcm_hw_params()
Dmax98388.c567 switch (snd_pcm_format_width(params_format(params))) { in max98388_dai_hw_params()
583 max98388->ch_size = snd_pcm_format_width(params_format(params)); in max98388_dai_hw_params()
Dmax98927.c306 switch (snd_pcm_format_width(params_format(params))) { in max98927_dai_hw_params()
322 max98927->ch_size = snd_pcm_format_width(params_format(params)); in max98927_dai_hw_params()
Dmax98373-sdw.c566 switch (snd_pcm_format_width(params_format(params))) { in max98373_sdw_dai_hw_params()
582 max98373->ch_size = snd_pcm_format_width(params_format(params)); in max98373_sdw_dai_hw_params()
/linux-6.14.4/sound/soc/qcom/
Dstorm.c29 bitwidth = snd_pcm_format_width(format); in storm_ops_hw_params()
Dlpass-hdmi.c37 bitwidth = snd_pcm_format_width(format); in lpass_hdmi_daiops_hw_params()
/linux-6.14.4/sound/isa/gus/
Dgus_pcm.c74 if (snd_pcm_format_width(runtime->format) == 16) in snd_gf1_pcm_block_change()
110 voice_ctrl = snd_pcm_format_width(runtime->format) == 16 ? 0x24 : 0x20; in snd_gf1_pcm_trigger_up()
121 end -= snd_pcm_format_width(runtime->format) == 16 ? 2 : 1; in snd_gf1_pcm_trigger_up()
350 w16 = (snd_pcm_format_width(runtime->format) == 16); in playback_copy_ack()
/linux-6.14.4/sound/isa/es1688/
Des1688_lib.c356 if (snd_pcm_format_width(runtime->format) == 8) { in snd_es1688_playback_prepare()
368 if (snd_pcm_format_width(runtime->format) == 8) { in snd_es1688_playback_prepare()
418 if (snd_pcm_format_width(runtime->format) == 8) { in snd_es1688_capture_prepare()
428 if (snd_pcm_format_width(runtime->format) == 8) { in snd_es1688_capture_prepare()
/linux-6.14.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-6.14.4/sound/soc/samsung/
Dsnow.c39 bitwidth = snd_pcm_format_width(params_format(params)); in snow_card_hw_params()
/linux-6.14.4/sound/soc/renesas/rcar/
Dssi.c420 width = snd_pcm_format_width(runtime->format); in rsnd_ssi_config_init()
539 unsigned int fmt_width = snd_pcm_format_width(params_format(params)); in rsnd_ssi_hw_params()
885 if (snd_pcm_format_width(runtime->format) == 24) in rsnd_ssi_pio_interrupt()
/linux-6.14.4/sound/soc/mediatek/mt8365/
Dmt8365-dai-adda.c189 int bit_width = snd_pcm_format_width(substream->runtime->format); in mt8365_dai_int_adda_prepare()
/linux-6.14.4/sound/isa/msnd/
Dmsnd.c491 chip->play_sample_size = snd_pcm_format_width(params_format(params)); in snd_msnd_playback_hw_params()
638 chip->capture_sample_size = snd_pcm_format_width(params_format(params)); in snd_msnd_capture_hw_params()
/linux-6.14.4/sound/soc/mediatek/mt8186/
Dmt8186-dai-pcm.c229 snd_pcm_format_width(format); in mtk_dai_pcm_hw_params()
/linux-6.14.4/sound/pci/
Dsis7019.c510 if (snd_pcm_format_width(runtime->format) == 8) in sis_pcm_playback_prepare()
766 if (snd_pcm_format_width(runtime->format) == 8) in sis_prepare_timing_voice()
808 if (snd_pcm_format_width(runtime->format) == 8) in sis_pcm_capture_prepare()
/linux-6.14.4/drivers/staging/vc04_services/bcm2835-audio/
Dbcm2835-pcm.c214 snd_pcm_format_width(runtime->format)); in snd_bcm2835_pcm_prepare()

1234