Home
last modified time | relevance | path

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

12

/openbmc/linux/sound/soc/xilinx/
H A Dxlnx_i2s.c60 unsigned int bits_per_sample; in xlnx_i2s_set_sysclk() local
63 bits_per_sample = 32; in xlnx_i2s_set_sysclk()
65 bits_per_sample = drv_data->data_width; in xlnx_i2s_set_sysclk()
67 drv_data->ratnum.num = freq / (bits_per_sample * drv_data->channels) / 2; in xlnx_i2s_set_sysclk()
98 unsigned int bits_per_sample, sclk, sclk_div; in xlnx_i2s_hw_params() local
101 bits_per_sample = 32; in xlnx_i2s_hw_params()
103 bits_per_sample = drv_data->data_width; in xlnx_i2s_hw_params()
105 sclk = params_rate(params) * bits_per_sample * params_channels(params); in xlnx_i2s_hw_params()
H A Dxlnx_formatter_pcm.c458 u32 low, high, active_ch, val, bytes_per_ch, bits_per_sample; in xlnx_formatter_pcm_hw_params() local
506 bits_per_sample = params_width(params); in xlnx_formatter_pcm_hw_params()
507 switch (bits_per_sample) { in xlnx_formatter_pcm_hw_params()
/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/linux/sound/soc/qcom/qdsp6/
H A Dq6asm.h57 u32 bits_per_sample; member
86 u16 bits_per_sample; member
103 uint16_t bits_per_sample, bool is_gapless);
106 uint32_t format, uint16_t bits_per_sample);
110 uint16_t bits_per_sample);
118 uint16_t bits_per_sample);
H A Dq6asm.c93 u16 bits_per_sample; member
165 u16 bits_per_sample; member
185 uint16_t bits_per_sample; member
229 uint16_t bits_per_sample; member
953 open->bits_per_sample = bits_per_sample; in q6asm_open_write()
1116 fmt->bits_per_sample = bits_per_sample; in q6asm_media_format_block_multi_ch_pcm()
1203 fmt->bits_per_sample = cfg->bits_per_sample; in q6asm_stream_media_format_block_wma_v9()
1241 fmt->bits_per_sample = cfg->bits_per_sample; in q6asm_stream_media_format_block_wma_v10()
1324 fmt->bits_per_sample = cfg->bits_per_sample; in q6asm_stream_media_format_block_ape()
1425 enc_cfg->bits_per_sample = bits_per_sample; in q6asm_enc_cfg_blk_pcm_format_support()
[all …]
H A Dq6asm-dai.c64 uint16_t bits_per_sample; member
263 0, prtd->bits_per_sample, false); in q6asm_dai_prepare()
267 prtd->bits_per_sample); in q6asm_dai_prepare()
287 prtd->bits_per_sample); in q6asm_dai_prepare()
293 prtd->bits_per_sample); in q6asm_dai_prepare()
490 prtd->bits_per_sample = 16; in q6asm_dai_hw_params()
493 prtd->bits_per_sample = 24; in q6asm_dai_hw_params()
751 wma_cfg.bits_per_sample = prtd->bits_per_sample; in __q6asm_dai_compr_set_codec_params()
846 ape_cfg.bits_per_sample = prtd->bits_per_sample; in __q6asm_dai_compr_set_codec_params()
896 prtd->bits_per_sample = 16; in q6asm_dai_compr_set_params()
[all …]
H A Dq6apm-dai.c72 uint16_t bits_per_sample; member
244 cfg.bit_width = prtd->bits_per_sample; in q6apm_dai_prepare()
458 prtd->bits_per_sample = 16; in q6apm_dai_hw_params()
461 prtd->bits_per_sample = 24; in q6apm_dai_hw_params()
656 prtd->bits_per_sample = 16; in q6apm_dai_compr_set_params()
670 cfg.bit_width = prtd->bits_per_sample; in q6apm_dai_compr_set_params()
700 cfg.bit_width = prtd->bits_per_sample; in q6apm_dai_compr_set_params()
H A Daudioreach.h136 uint16_t bits_per_sample; member
547 uint32_t bits_per_sample; member
580 uint16_t bits_per_sample; member
756 u16 bits_per_sample; member
H A Dq6routing.c332 int bits_per_sample; member
389 session->bits_per_sample = pdata->bits_per_sample; in q6routing_stream_open()
396 session->bits_per_sample, 0, 0); in q6routing_stream_open()
1075 session->bits_per_sample = 16; in routing_hw_params()
1078 session->bits_per_sample = 24; in routing_hw_params()
/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 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 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 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 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 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);
/openbmc/linux/drivers/media/platform/intel/
H A Dpxa_camera.c241 u8 bits_per_sample; member
260 .bits_per_sample = 8,
270 .bits_per_sample = 8,
280 .bits_per_sample = 8,
290 .bits_per_sample = 8,
300 .bits_per_sample = 8,
310 .bits_per_sample = 8,
320 .bits_per_sample = 8,
330 .bits_per_sample = 8,
340 .bits_per_sample = 8,
[all …]
/openbmc/linux/drivers/gpu/drm/radeon/
H A Dr600_hdmi.c73 status.bits_per_sample = 8; in r600_audio_status()
76 status.bits_per_sample = 16; in r600_audio_status()
79 status.bits_per_sample = 20; in r600_audio_status()
82 status.bits_per_sample = 24; in r600_audio_status()
85 status.bits_per_sample = 32; in r600_audio_status()
90 status.bits_per_sample = 16; in r600_audio_status()
126 rdev->audio.pin[0].bits_per_sample != audio_status.bits_per_sample || in r600_audio_update_hdmi()
431 audio.channels, audio.rate, audio.bits_per_sample); in r600_hdmi_update_audio_settings()
/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/linux/drivers/staging/vc04_services/vchiq-mmal/
H A Dmmal-msg-format.h27 u32 bits_per_sample; /* Bits per sample */ member
/openbmc/linux/sound/soc/intel/skylake/
H A Dskl-nhlt.c122 bps = wav_fmt->fmt.bits_per_sample; in skl_get_ssp_clks()
141 (bps == wav_fmt->fmt.bits_per_sample)) { in skl_get_ssp_clks()
/openbmc/linux/Documentation/driver-api/media/
H A Dtx-rx.rst66 pixel_rate = link_freq * 2 * nr_of_lanes * 16 / k / bits_per_sample
82 * - bits_per_sample
/openbmc/linux/include/sound/
H A Dintel-nhlt.h34 u16 bits_per_sample; member

12