Home
last modified time | relevance | path

Searched refs:bits_per_sample (Results 1 – 14 of 14) sorted by relevance

/openbmc/u-boot/test/dm/
H A Daudio.c17 int interface, rate, mclk_freq, bits_per_sample; in dm_test_audio() local
25 &bits_per_sample, &channels); in dm_test_audio()
29 ut_asserteq(4, bits_per_sample); in dm_test_audio()
/openbmc/u-boot/drivers/sound/
H A Dmax98090.c29 unsigned int bits_per_sample) in max98090_hw_params() argument
34 switch (bits_per_sample) { in max98090_hw_params()
43 __func__, bits_per_sample); in max98090_hw_params()
303 int mclk_freq, int bits_per_sample) in max98090_do_init() argument
319 ret = max98090_hw_params(priv, sampling_rate, bits_per_sample); in max98090_do_init()
331 int mclk_freq, int bits_per_sample, in max98090_set_params() argument
336 return max98090_do_init(priv, rate, mclk_freq, bits_per_sample); in max98090_set_params()
H A Dmax98088.c59 unsigned int bits_per_sample) in max98088_hw_params() argument
64 switch (bits_per_sample) { in max98088_hw_params()
75 __func__, bits_per_sample); in max98088_hw_params()
357 int mclk_freq, int bits_per_sample) in max98088_do_init() argument
373 ret = max98088_hw_params(priv, sampling_rate, bits_per_sample); in max98088_do_init()
385 int mclk_freq, int bits_per_sample, in max98088_set_params() argument
390 return max98088_do_init(priv, rate, mclk_freq, bits_per_sample); in max98088_set_params()
H A Dcodec-uclass.c12 int mclk_freq, int bits_per_sample, uint channels) in audio_codec_set_params() argument
19 return ops->set_params(dev, interface, rate, mclk_freq, bits_per_sample, in audio_codec_set_params()
H A Dmax98095.c59 unsigned int rate, unsigned int bits_per_sample) in max98095_hw_params() argument
77 switch (bits_per_sample) { in max98095_hw_params()
87 __func__, bits_per_sample); in max98095_hw_params()
395 int bits_per_sample) in max98095_do_init() argument
412 bits_per_sample); in max98095_do_init()
425 int mclk_freq, int bits_per_sample, in max98095_set_params() argument
431 bits_per_sample); in max98095_set_params()
H A Drt5677.c169 static int rt5677_hw_params(struct rt5677_priv *priv, uint bits_per_sample) in rt5677_hw_params() argument
173 switch (bits_per_sample) { in rt5677_hw_params()
183 log_err("Illegal bits per sample %d\n", bits_per_sample); in rt5677_hw_params()
287 int mclk_freq, int bits_per_sample, in rt5677_set_params() argument
298 ret = rt5677_hw_params(priv, bits_per_sample); in rt5677_set_params()
H A Dsandbox.c19 int bits_per_sample; member
44 *bits_per_samplep = priv->bits_per_sample; in sandbox_get_codec_params()
85 int bits_per_sample, uint channels) in sandbox_codec_set_params() argument
92 priv->bits_per_sample = bits_per_sample; in sandbox_codec_set_params()
H A Dwm8994.c279 uint sampling_rate, uint bits_per_sample, in wm8994_hw_params() argument
313 switch (bits_per_sample) { in wm8994_hw_params()
814 int mclk_freq, int bits_per_sample, in _wm8994_init() argument
831 ret = wm8994_hw_params(priv, aif_id, sampling_rate, bits_per_sample, in _wm8994_init()
844 int mclk_freq, int bits_per_sample, uint channels) in wm8994_set_params() argument
848 return _wm8994_init(priv, interface, rate, mclk_freq, bits_per_sample, in wm8994_set_params()
H A Dwm8994.h67 int bits_per_sample, unsigned int channels);
H A Dmax98095.h314 int sampling_rate, int mclk_freq, int bits_per_sample);
H A Dmax98090.h657 int bits_per_sample);
660 uint bits_per_sample);
/openbmc/u-boot/include/
H A Daudio_codec.h29 int mclk_freq, int bits_per_sample, uint channels);
46 int mclk_freq, int bits_per_sample, uint channels);
/openbmc/openbmc/meta-openembedded/meta-multimedia/recipes-multimedia/sox/sox/
H A DCVE-2021-33844.patch33 + if (ft->encoding.bits_per_sample == 0)
39 wav->numSamples = div_bits(qwDataLength, ft->encoding.bits_per_sample)
H A DCVE-2022-31650.patch24 + if (ft->signal.channels >= (0x7f000000 / (ft->encoding.bits_per_sample >> 3)))
29 …return(aiffwriteheader(ft, (uint64_t) 0x7f000000 / ((ft->encoding.bits_per_sample>>3)*ft->signal.c…