| /linux/sound/core/ |
| H A D | sound_kunit.c | 117 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()
|
| H A D | pcm_iec958.c | 137 snd_pcm_format_width(runtime->format), in snd_pcm_fill_iec958_consumer()
|
| H A D | pcm_misc.c | 335 int snd_pcm_format_width(snd_pcm_format_t format) in snd_pcm_format_width() function 345 EXPORT_SYMBOL(snd_pcm_format_width);
|
| /linux/sound/soc/ |
| H A D | soc-utils.c | 55 sample_size = snd_pcm_format_width(params_format(params)); in snd_soc_params_to_frame_size() 119 tdm_width = snd_pcm_format_width(params_format(params)); in snd_soc_tdm_params_to_bclk()
|
| /linux/sound/core/oss/ |
| H A D | linear.c | 106 src_bytes = snd_pcm_format_width(src_format) / 8; in init_data() 107 dst_bytes = snd_pcm_format_width(dst_format) / 8; in init_data()
|
| /linux/include/sound/ |
| H A D | sdw.h | 39 stream_config->bps = snd_pcm_format_width(params_format(params)); in snd_sdw_params_to_config()
|
| /linux/sound/soc/codecs/ |
| H A D | max98520.c | 176 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()
|
| H A D | max98373-i2c.c | 223 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()
|
| H A D | rt1017-sdca-sdw.c | 608 stream_config.bps = snd_pcm_format_width(params_format(params)); in rt1017_sdca_pcm_hw_params() 615 params_rate(params), num_channels, snd_pcm_format_width(params_format(params)), in rt1017_sdca_pcm_hw_params()
|
| H A D | max98373-sdw.c | 565 switch (snd_pcm_format_width(params_format(params))) { in max98373_sdw_dai_hw_params() 581 max98373->ch_size = snd_pcm_format_width(params_format(params)); in max98373_sdw_dai_hw_params()
|
| H A D | max98388.c | 567 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()
|
| H A D | max98927.c | 306 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()
|
| /linux/sound/soc/qcom/ |
| H A D | storm.c | 29 bitwidth = snd_pcm_format_width(format); in storm_ops_hw_params()
|
| H A D | lpass-hdmi.c | 37 bitwidth = snd_pcm_format_width(format); in lpass_hdmi_daiops_hw_params()
|
| /linux/sound/soc/tegra/ |
| H A D | tegra_isomgr_bw.c | 49 sample_bytes = snd_pcm_format_width(runtime->format) / 8; in tegra_isomgr_adma_setbw()
|
| /linux/sound/isa/es1688/ |
| H A D | es1688_lib.c | 347 if (snd_pcm_format_width(runtime->format) == 8) { in snd_es1688_playback_prepare() 359 if (snd_pcm_format_width(runtime->format) == 8) { in snd_es1688_playback_prepare() 408 if (snd_pcm_format_width(runtime->format) == 8) { in snd_es1688_capture_prepare() 418 if (snd_pcm_format_width(runtime->format) == 8) { in snd_es1688_capture_prepare()
|
| /linux/sound/isa/gus/ |
| H A D | gus_pcm.c | 74 if (snd_pcm_format_width(runtime->format) == 16) in snd_gf1_pcm_block_change() 107 voice_ctrl = snd_pcm_format_width(runtime->format) == 16 ? 0x24 : 0x20; in snd_gf1_pcm_trigger_up() 118 end -= snd_pcm_format_width(runtime->format) == 16 ? 2 : 1; in snd_gf1_pcm_trigger_up() 343 w16 = (snd_pcm_format_width(runtime->format) == 16); in playback_copy_ack()
|
| /linux/sound/ppc/ |
| H A D | snd_ps3.c | 446 snd_pcm_format_width(substream->runtime->format)); in snd_ps3_set_avsetting() 472 switch (snd_pcm_format_width(substream->runtime->format)) { in snd_ps3_set_avsetting() 481 snd_pcm_format_width(substream->runtime->format)); in snd_ps3_set_avsetting()
|
| /linux/sound/soc/renesas/rcar/ |
| H A D | ssi.c | 420 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() 884 if (snd_pcm_format_width(runtime->format) == 24) in rsnd_ssi_pio_interrupt()
|
| /linux/sound/soc/samsung/ |
| H A D | snow.c | 39 bitwidth = snd_pcm_format_width(params_format(params)); in snow_card_hw_params()
|
| /linux/sound/soc/mediatek/mt8365/ |
| H A D | mt8365-dai-adda.c | 189 int bit_width = snd_pcm_format_width(substream->runtime->format); in mt8365_dai_int_adda_prepare()
|
| /linux/sound/isa/ |
| H A D | es18xx.c | 424 if (snd_pcm_format_width(params_format(hw_params)) == 16) in snd_es18xx_playback_hw_params() 458 (snd_pcm_format_width(runtime->format) == 16 ? 0x01 : 0x00) | in snd_es18xx_playback1_prepare() 532 if (snd_pcm_format_width(params_format(hw_params)) == 16) in snd_es18xx_capture_hw_params() 566 (snd_pcm_format_width(runtime->format) == 16 ? 0x04 : 0x00) | in snd_es18xx_capture_prepare() 630 (snd_pcm_format_width(runtime->format) == 16 ? 0x04 : 0x00) | in snd_es18xx_playback2_prepare()
|
| /linux/sound/isa/msnd/ |
| H A D | msnd.c | 478 chip->play_sample_size = snd_pcm_format_width(params_format(params)); in snd_msnd_playback_hw_params() 625 chip->capture_sample_size = snd_pcm_format_width(params_format(params)); in snd_msnd_capture_hw_params()
|
| /linux/sound/pci/ |
| H A D | sis7019.c | 500 if (snd_pcm_format_width(runtime->format) == 8) in sis_pcm_playback_prepare() 755 if (snd_pcm_format_width(runtime->format) == 8) in sis_prepare_timing_voice() 797 if (snd_pcm_format_width(runtime->format) == 8) in sis_pcm_capture_prepare()
|
| /linux/sound/soc/mediatek/mt8186/ |
| H A D | mt8186-dai-pcm.c | 229 snd_pcm_format_width(format); in mtk_dai_pcm_hw_params()
|