/linux/drivers/gpu/drm/amd/display/dc/dce/ |
A D | dce_audio.c | 228 if (sample_rates != NULL) { in check_audio_bandwidth_hdmi() 231 sample_rates->rate.RATE_192 = 0; in check_audio_bandwidth_hdmi() 234 sample_rates->rate.RATE_192 = 0; in check_audio_bandwidth_hdmi() 238 sample_rates->rate.RATE_192 = 0; in check_audio_bandwidth_hdmi() 240 sample_rates->rate.RATE_96 = 0; in check_audio_bandwidth_hdmi() 243 sample_rates->rate.RATE_192 = 0; in check_audio_bandwidth_hdmi() 245 sample_rates->rate.RATE_96 = 0; in check_audio_bandwidth_hdmi() 515 audio_mode->sample_rates; in dce_aud_az_configure() 527 &sample_rates); in dce_aud_az_configure() 532 sample_rates.all, in dce_aud_az_configure() [all …]
|
/linux/sound/soc/atmel/ |
A 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/sound/soc/intel/atom/sst/ |
A D | sst_drv_interface.c | 391 .descriptor[0].sample_rates[0] = 48000, 392 .descriptor[0].sample_rates[1] = 44100, 393 .descriptor[0].sample_rates[2] = 32000, 394 .descriptor[0].sample_rates[3] = 16000, 395 .descriptor[0].sample_rates[4] = 8000, 408 .descriptor[0].sample_rates[0] = 48000, 409 .descriptor[0].sample_rates[1] = 44100, 410 .descriptor[0].sample_rates[2] = 32000, 411 .descriptor[0].sample_rates[3] = 16000, 412 .descriptor[0].sample_rates[4] = 8000,
|
/linux/sound/soc/codecs/ |
A 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()
|
A 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()
|
A 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()
|
A 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()
|
A D | wm_adsp.c | 245 .sample_rates = { 16000 }, 259 .sample_rates = { 1242 if (desc->sample_rates[j] == params->codec.sample_rate) in wm_adsp_compr_check_params()
|
/linux/net/mac80211/ |
A D | rc80211_minstrel_ht.c | 635 u16 *rates = mi->sample[type].sample_rates; in __minstrel_ht_get_sample_rate() 722 u16 cur = mi->sample[type].sample_rates[i]; in minstrel_ht_find_sample_rate() 738 u16 *rates = mi->sample[type].sample_rates; in minstrel_ht_move_sample_rates() 882 slow_rates = mi->sample[MINSTREL_SAMPLE_TYPE_SLOW].sample_rates; in minstrel_ht_next_jump_rate() 949 rates = mi->sample[MINSTREL_SAMPLE_TYPE_INC].sample_rates; in minstrel_ht_refill_sample_rates() 960 rates = mi->sample[MINSTREL_SAMPLE_TYPE_JUMP].sample_rates; in minstrel_ht_refill_sample_rates() 975 memcpy(mi->sample[i].cur_sample_rates, mi->sample[i].sample_rates, in minstrel_ht_refill_sample_rates()
|
A D | rc80211_minstrel_ht.h | 151 u16 sample_rates[MINSTREL_SAMPLE_RATES]; member
|
/linux/drivers/gpu/drm/amd/display/dc/ |
A D | dc_types.h | 514 struct sample_rates { struct 586 union audio_sample_rates sample_rates; member
|
/linux/include/uapi/sound/ |
A D | compress_params.h | 398 __u32 sample_rates[MAX_NUM_SAMPLE_RATES]; member
|
/linux/drivers/gpu/drm/amd/display/dc/core/ |
A D | dc_resource.c | 3072 if (modes->sample_rates.rate.RATE_192) in get_max_audio_sample_rate() 3074 if (modes->sample_rates.rate.RATE_176_4) in get_max_audio_sample_rate() 3076 if (modes->sample_rates.rate.RATE_96) in get_max_audio_sample_rate() 3078 if (modes->sample_rates.rate.RATE_88_2) in get_max_audio_sample_rate() 3080 if (modes->sample_rates.rate.RATE_48) in get_max_audio_sample_rate() 3082 if (modes->sample_rates.rate.RATE_44_1) in get_max_audio_sample_rate() 3084 if (modes->sample_rates.rate.RATE_32) in get_max_audio_sample_rate()
|
A D | dc_stream.c | 80 stream->audio_info.modes[i].sample_rates.all = dc_sink_data->edid_caps.audio_modes[i].sample_rate; in dc_stream_construct()
|
/linux/sound/soc/qcom/qdsp6/ |
A D | q6asm-dai.c | 169 .descriptor[0].sample_rates = { 8000, 11025, 12000, 16000, 22050,
|
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
A D | amdgpu_dm.c | 5923 audio_info->modes[i].sample_rates.all = in fill_audio_info()
|