Searched refs:sample_rates (Results 1 – 13 of 13) sorted by relevance
| /Linux-v5.4/drivers/gpu/drm/amd/display/dc/dce/ |
| D | dce_audio.c | 135 union audio_sample_rates *sample_rates) in check_audio_bandwidth_hdmi() argument 226 if (sample_rates != NULL) { in check_audio_bandwidth_hdmi() 229 sample_rates->rate.RATE_192 = 0; in check_audio_bandwidth_hdmi() 232 sample_rates->rate.RATE_192 = 0; in check_audio_bandwidth_hdmi() 233 sample_rates->rate.RATE_176_4 = 0; in check_audio_bandwidth_hdmi() 236 sample_rates->rate.RATE_192 = 0; in check_audio_bandwidth_hdmi() 237 sample_rates->rate.RATE_176_4 = 0; in check_audio_bandwidth_hdmi() 238 sample_rates->rate.RATE_96 = 0; in check_audio_bandwidth_hdmi() 241 sample_rates->rate.RATE_192 = 0; in check_audio_bandwidth_hdmi() 242 sample_rates->rate.RATE_176_4 = 0; in check_audio_bandwidth_hdmi() [all …]
|
| /Linux-v5.4/sound/soc/atmel/ |
| D | atmel-classd.c | 356 } const sample_rates[] = { variable 390 best_val = abs(fs - sample_rates[0].rate); in atmel_classd_codec_dai_hw_params() 391 for (i = 1; i < ARRAY_SIZE(sample_rates); i++) { in atmel_classd_codec_dai_hw_params() 393 cur_val = abs(fs - sample_rates[i].rate); in atmel_classd_codec_dai_hw_params() 402 sample_rates[best].rate, sample_rates[best].gclk_rate); in atmel_classd_codec_dai_hw_params() 406 ret = clk_set_rate(dd->gclk, sample_rates[best].gclk_rate); in atmel_classd_codec_dai_hw_params() 411 val = (sample_rates[best].dsp_clk << CLASSD_INTPMR_DSP_CLK_FREQ_SHIFT) in atmel_classd_codec_dai_hw_params() 412 | (sample_rates[best].sample_rate << CLASSD_INTPMR_FRAME_SHIFT); in atmel_classd_codec_dai_hw_params()
|
| /Linux-v5.4/sound/soc/intel/atom/sst/ |
| D | sst_drv_interface.c | 394 .descriptor[0].sample_rates[0] = 48000, 395 .descriptor[0].sample_rates[1] = 44100, 396 .descriptor[0].sample_rates[2] = 32000, 397 .descriptor[0].sample_rates[3] = 16000, 398 .descriptor[0].sample_rates[4] = 8000, 411 .descriptor[0].sample_rates[0] = 48000, 412 .descriptor[0].sample_rates[1] = 44100, 413 .descriptor[0].sample_rates[2] = 32000, 414 .descriptor[0].sample_rates[3] = 16000, 415 .descriptor[0].sample_rates[4] = 8000,
|
| /Linux-v5.4/sound/soc/codecs/ |
| D | wm9081.c | 104 } sample_rates[] = { variable 1072 best_val = abs(wm9081->fs - sample_rates[0].rate); in wm9081_hw_params() 1073 for (i = 1; i < ARRAY_SIZE(sample_rates); i++) { in wm9081_hw_params() 1075 cur_val = abs(wm9081->fs - sample_rates[i].rate); in wm9081_hw_params() 1082 sample_rates[best].rate); in wm9081_hw_params() 1083 clk_ctrl2 |= (sample_rates[best].sample_rate in wm9081_hw_params()
|
| D | wm8993.c | 169 } sample_rates[] = { variable 1259 best_val = abs(wm8993->fs - sample_rates[0].rate); in wm8993_hw_params() 1260 for (i = 1; i < ARRAY_SIZE(sample_rates); i++) { in wm8993_hw_params() 1262 cur_val = abs(wm8993->fs - sample_rates[i].rate); in wm8993_hw_params() 1269 sample_rates[best].rate); in wm8993_hw_params() 1270 clocking3 |= (sample_rates[best].sample_rate in wm8993_hw_params()
|
| D | wm8903.c | 1423 } sample_rates[] = { variable 1469 best_val = abs(sample_rates[dsp_config].rate - fs); in wm8903_hw_params() 1470 for (i = 1; i < ARRAY_SIZE(sample_rates); i++) { in wm8903_hw_params() 1471 cur_val = abs(sample_rates[i].rate - fs); in wm8903_hw_params() 1478 dev_dbg(component->dev, "DSP fs = %dHz\n", sample_rates[dsp_config].rate); in wm8903_hw_params() 1480 clock1 |= sample_rates[dsp_config].value; in wm8903_hw_params()
|
| D | wm8904.c | 1247 } sample_rates[] = { variable 1353 best_val = abs(wm8904->fs - sample_rates[0].rate); in wm8904_hw_params() 1354 for (i = 1; i < ARRAY_SIZE(sample_rates); i++) { in wm8904_hw_params() 1356 cur_val = abs(wm8904->fs - sample_rates[i].rate); in wm8904_hw_params() 1363 sample_rates[best].rate); in wm8904_hw_params() 1364 clock1 |= (sample_rates[best].sample_rate in wm8904_hw_params()
|
| D | wm_adsp.c | 534 .sample_rates = { 16000 }, 548 .sample_rates = { 3488 if (desc->sample_rates[j] == params->codec.sample_rate) in wm_adsp_compr_check_params()
|
| /Linux-v5.4/drivers/gpu/drm/amd/display/dc/ |
| D | dc_types.h | 461 struct sample_rates { struct 533 union audio_sample_rates sample_rates; member
|
| /Linux-v5.4/include/uapi/sound/ |
| D | compress_params.h | 353 __u32 sample_rates[MAX_NUM_SAMPLE_RATES]; member
|
| /Linux-v5.4/drivers/gpu/drm/amd/display/dc/core/ |
| D | dc_stream.c | 82 stream->audio_info.modes[i].sample_rates.all = dc_sink_data->edid_caps.audio_modes[i].sample_rate; in construct()
|
| /Linux-v5.4/sound/soc/qcom/qdsp6/ |
| D | q6asm-dai.c | 161 .descriptor[0].sample_rates = { 8000, 11025, 12000, 16000, 22050,
|
| /Linux-v5.4/drivers/gpu/drm/amd/display/amdgpu_dm/ |
| D | amdgpu_dm.c | 3398 audio_info->modes[i].sample_rates.all = in fill_audio_info()
|