/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dce/ |
D | dce_audio.c | 127 union audio_sample_rates *sample_rates) in check_audio_bandwidth_hdmi() argument 220 if (sample_rates != NULL) { in check_audio_bandwidth_hdmi() 223 sample_rates->rate.RATE_192 = 0; in check_audio_bandwidth_hdmi() 226 sample_rates->rate.RATE_192 = 0; in check_audio_bandwidth_hdmi() 227 sample_rates->rate.RATE_176_4 = 0; in check_audio_bandwidth_hdmi() 230 sample_rates->rate.RATE_192 = 0; in check_audio_bandwidth_hdmi() 231 sample_rates->rate.RATE_176_4 = 0; in check_audio_bandwidth_hdmi() 232 sample_rates->rate.RATE_96 = 0; in check_audio_bandwidth_hdmi() 235 sample_rates->rate.RATE_192 = 0; in check_audio_bandwidth_hdmi() 236 sample_rates->rate.RATE_176_4 = 0; in check_audio_bandwidth_hdmi() [all …]
|
/linux-6.6.21/sound/soc/atmel/ |
D | atmel-classd.c | 317 } const sample_rates[] = { variable 351 best_val = abs(fs - sample_rates[0].rate); in atmel_classd_cpu_dai_hw_params() 352 for (i = 1; i < ARRAY_SIZE(sample_rates); i++) { in atmel_classd_cpu_dai_hw_params() 354 cur_val = abs(fs - sample_rates[i].rate); in atmel_classd_cpu_dai_hw_params() 363 sample_rates[best].rate, sample_rates[best].gclk_rate); in atmel_classd_cpu_dai_hw_params() 367 ret = clk_set_rate(dd->gclk, sample_rates[best].gclk_rate); in atmel_classd_cpu_dai_hw_params() 372 val = (sample_rates[best].dsp_clk << CLASSD_INTPMR_DSP_CLK_FREQ_SHIFT) in atmel_classd_cpu_dai_hw_params() 373 | (sample_rates[best].sample_rate << CLASSD_INTPMR_FRAME_SHIFT); in atmel_classd_cpu_dai_hw_params()
|
/linux-6.6.21/sound/soc/intel/atom/sst/ |
D | sst_drv_interface.c | 388 .descriptor[0].sample_rates[0] = 48000, 389 .descriptor[0].sample_rates[1] = 44100, 390 .descriptor[0].sample_rates[2] = 32000, 391 .descriptor[0].sample_rates[3] = 16000, 392 .descriptor[0].sample_rates[4] = 8000, 405 .descriptor[0].sample_rates[0] = 48000, 406 .descriptor[0].sample_rates[1] = 44100, 407 .descriptor[0].sample_rates[2] = 32000, 408 .descriptor[0].sample_rates[3] = 16000, 409 .descriptor[0].sample_rates[4] = 8000,
|
/linux-6.6.21/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 | 1422 } sample_rates[] = { variable 1468 best_val = abs(sample_rates[dsp_config].rate - fs); in wm8903_hw_params() 1469 for (i = 1; i < ARRAY_SIZE(sample_rates); i++) { in wm8903_hw_params() 1470 cur_val = abs(sample_rates[i].rate - fs); in wm8903_hw_params() 1477 dev_dbg(component->dev, "DSP fs = %dHz\n", sample_rates[dsp_config].rate); in wm8903_hw_params() 1479 clock1 |= sample_rates[dsp_config].value; in wm8903_hw_params()
|
D | wm8904.c | 1254 } sample_rates[] = { variable 1360 best_val = abs(wm8904->fs - sample_rates[0].rate); in wm8904_hw_params() 1361 for (i = 1; i < ARRAY_SIZE(sample_rates); i++) { in wm8904_hw_params() 1363 cur_val = abs(wm8904->fs - sample_rates[i].rate); in wm8904_hw_params() 1370 sample_rates[best].rate); in wm8904_hw_params() 1371 clock1 |= (sample_rates[best].sample_rate in wm8904_hw_params()
|
D | wm_adsp.c | 245 .sample_rates = { 16000 }, 259 .sample_rates = { 1345 if (desc->sample_rates[j] == params->codec.sample_rate) in wm_adsp_compr_check_params()
|
/linux-6.6.21/net/mac80211/ |
D | rc80211_minstrel_ht.h | 150 u16 sample_rates[MINSTREL_SAMPLE_RATES]; member
|
D | rc80211_minstrel_ht.c | 704 u16 *rates = mi->sample[type].sample_rates; in __minstrel_ht_get_sample_rate() 791 u16 cur = mi->sample[type].sample_rates[i]; in minstrel_ht_find_sample_rate() 807 u16 *rates = mi->sample[type].sample_rates; in minstrel_ht_move_sample_rates() 951 slow_rates = mi->sample[MINSTREL_SAMPLE_TYPE_SLOW].sample_rates; in minstrel_ht_next_jump_rate() 1018 rates = mi->sample[MINSTREL_SAMPLE_TYPE_INC].sample_rates; in minstrel_ht_refill_sample_rates() 1029 rates = mi->sample[MINSTREL_SAMPLE_TYPE_JUMP].sample_rates; in minstrel_ht_refill_sample_rates() 1044 memcpy(mi->sample[i].cur_sample_rates, mi->sample[i].sample_rates, in minstrel_ht_refill_sample_rates()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/ |
D | dc_types.h | 445 struct sample_rates { struct 517 union audio_sample_rates sample_rates; member
|
/linux-6.6.21/include/uapi/sound/ |
D | compress_params.h | 364 __u32 sample_rates[MAX_NUM_SAMPLE_RATES]; member
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_resource.c | 4003 if (modes->sample_rates.rate.RATE_192) in get_max_audio_sample_rate() 4005 if (modes->sample_rates.rate.RATE_176_4) in get_max_audio_sample_rate() 4007 if (modes->sample_rates.rate.RATE_96) in get_max_audio_sample_rate() 4009 if (modes->sample_rates.rate.RATE_88_2) in get_max_audio_sample_rate() 4011 if (modes->sample_rates.rate.RATE_48) in get_max_audio_sample_rate() 4013 if (modes->sample_rates.rate.RATE_44_1) in get_max_audio_sample_rate() 4015 if (modes->sample_rates.rate.RATE_32) in get_max_audio_sample_rate()
|
D | dc_stream.c | 77 stream->audio_info.modes[i].sample_rates.all = dc_sink_data->edid_caps.audio_modes[i].sample_rate; in dc_stream_construct()
|
/linux-6.6.21/sound/soc/qcom/qdsp6/ |
D | q6apm-dai.c | 40 .descriptor[0].sample_rates = { 8000, 11025, 12000, 16000, 22050,
|
D | q6asm-dai.c | 169 .descriptor[0].sample_rates = { 8000, 11025, 12000, 16000, 22050,
|
/linux-6.6.21/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm.c | 5581 audio_info->modes[i].sample_rates.all = in fill_audio_info()
|