/Linux-v6.6/tools/power/cpupower/bench/ |
D | cpufreq-bench_script.sh | 28 for sampling_rate in $SAMPLING_RATE;do 31 echo $sampling_rate >/sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate 33 sampling_rate_set=$(cat /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate) 41 if [ ${sampling_rate_set} -eq ${sampling_rate} ];then 42 echo "sampling_rate: $sampling_rate, set in sysfs: ${sampling_rate_set}" 44 echo "WARNING: Tried to set sampling_rate: $sampling_rate, set in sysfs: ${sampling_rate_set}" 48 …cpufreq-bench -o /var/log/cpufreq-bench/up_threshold_${up_threshold}_sampling_rate_${sampling_rate} 59 for sampling_rate in $SAMPLING_RATE;do 60 …-bench/up_threshold_${up_threshold}_sampling_rate_${sampling_rate}/* \"sampling_rate = $sampling_r… 67 for sampling_rate in $SAMPLING_RATE;do [all …]
|
/Linux-v6.6/sound/soc/codecs/ |
D | max98373-i2c.c | 221 unsigned int sampling_rate = 0; in max98373_dai_hw_params() local 253 sampling_rate = MAX98373_PCM_SR_SET1_SR_8000; in max98373_dai_hw_params() 256 sampling_rate = MAX98373_PCM_SR_SET1_SR_11025; in max98373_dai_hw_params() 259 sampling_rate = MAX98373_PCM_SR_SET1_SR_12000; in max98373_dai_hw_params() 262 sampling_rate = MAX98373_PCM_SR_SET1_SR_16000; in max98373_dai_hw_params() 265 sampling_rate = MAX98373_PCM_SR_SET1_SR_22050; in max98373_dai_hw_params() 268 sampling_rate = MAX98373_PCM_SR_SET1_SR_24000; in max98373_dai_hw_params() 271 sampling_rate = MAX98373_PCM_SR_SET1_SR_32000; in max98373_dai_hw_params() 274 sampling_rate = MAX98373_PCM_SR_SET1_SR_44100; in max98373_dai_hw_params() 277 sampling_rate = MAX98373_PCM_SR_SET1_SR_48000; in max98373_dai_hw_params() [all …]
|
D | max98520.c | 174 unsigned int sampling_rate = 0; in max98520_dai_hw_params() local 206 sampling_rate = MAX98520_PCM_SR_8000; in max98520_dai_hw_params() 209 sampling_rate = MAX98520_PCM_SR_11025; in max98520_dai_hw_params() 212 sampling_rate = MAX98520_PCM_SR_12000; in max98520_dai_hw_params() 215 sampling_rate = MAX98520_PCM_SR_16000; in max98520_dai_hw_params() 218 sampling_rate = MAX98520_PCM_SR_22050; in max98520_dai_hw_params() 221 sampling_rate = MAX98520_PCM_SR_24000; in max98520_dai_hw_params() 224 sampling_rate = MAX98520_PCM_SR_32000; in max98520_dai_hw_params() 227 sampling_rate = MAX98520_PCM_SR_44100; in max98520_dai_hw_params() 230 sampling_rate = MAX98520_PCM_SR_48000; in max98520_dai_hw_params() [all …]
|
D | max98388.c | 562 unsigned int sampling_rate = 0; in max98388_dai_hw_params() local 613 sampling_rate = MAX98388_PCM_SR_8000; in max98388_dai_hw_params() 616 sampling_rate = MAX98388_PCM_SR_11025; in max98388_dai_hw_params() 619 sampling_rate = MAX98388_PCM_SR_12000; in max98388_dai_hw_params() 622 sampling_rate = MAX98388_PCM_SR_16000; in max98388_dai_hw_params() 625 sampling_rate = MAX98388_PCM_SR_22050; in max98388_dai_hw_params() 628 sampling_rate = MAX98388_PCM_SR_24000; in max98388_dai_hw_params() 631 sampling_rate = MAX98388_PCM_SR_32000; in max98388_dai_hw_params() 634 sampling_rate = MAX98388_PCM_SR_44100; in max98388_dai_hw_params() 637 sampling_rate = MAX98388_PCM_SR_48000; in max98388_dai_hw_params() [all …]
|
D | max98927.c | 304 unsigned int sampling_rate = 0; in max98927_dai_hw_params() local 335 sampling_rate = MAX98927_PCM_SR_SET1_SR_8000; in max98927_dai_hw_params() 338 sampling_rate = MAX98927_PCM_SR_SET1_SR_11025; in max98927_dai_hw_params() 341 sampling_rate = MAX98927_PCM_SR_SET1_SR_12000; in max98927_dai_hw_params() 344 sampling_rate = MAX98927_PCM_SR_SET1_SR_16000; in max98927_dai_hw_params() 347 sampling_rate = MAX98927_PCM_SR_SET1_SR_22050; in max98927_dai_hw_params() 350 sampling_rate = MAX98927_PCM_SR_SET1_SR_24000; in max98927_dai_hw_params() 353 sampling_rate = MAX98927_PCM_SR_SET1_SR_32000; in max98927_dai_hw_params() 356 sampling_rate = MAX98927_PCM_SR_SET1_SR_44100; in max98927_dai_hw_params() 359 sampling_rate = MAX98927_PCM_SR_SET1_SR_48000; in max98927_dai_hw_params() [all …]
|
D | max98373-sdw.c | 525 int ret, chan_sz, sampling_rate; in max98373_sdw_dai_hw_params() local 593 sampling_rate = MAX98373_PCM_SR_SET1_SR_8000; in max98373_sdw_dai_hw_params() 596 sampling_rate = MAX98373_PCM_SR_SET1_SR_11025; in max98373_sdw_dai_hw_params() 599 sampling_rate = MAX98373_PCM_SR_SET1_SR_12000; in max98373_sdw_dai_hw_params() 602 sampling_rate = MAX98373_PCM_SR_SET1_SR_16000; in max98373_sdw_dai_hw_params() 605 sampling_rate = MAX98373_PCM_SR_SET1_SR_22050; in max98373_sdw_dai_hw_params() 608 sampling_rate = MAX98373_PCM_SR_SET1_SR_24000; in max98373_sdw_dai_hw_params() 611 sampling_rate = MAX98373_PCM_SR_SET1_SR_32000; in max98373_sdw_dai_hw_params() 614 sampling_rate = MAX98373_PCM_SR_SET1_SR_44100; in max98373_sdw_dai_hw_params() 617 sampling_rate = MAX98373_PCM_SR_SET1_SR_48000; in max98373_sdw_dai_hw_params() [all …]
|
D | rt1318-sdw.c | 574 unsigned int sampling_rate; in rt1318_sdw_hw_params() local 616 sampling_rate = RT1318_SDCA_RATE_16000HZ; in rt1318_sdw_hw_params() 619 sampling_rate = RT1318_SDCA_RATE_32000HZ; in rt1318_sdw_hw_params() 622 sampling_rate = RT1318_SDCA_RATE_44100HZ; in rt1318_sdw_hw_params() 625 sampling_rate = RT1318_SDCA_RATE_48000HZ; in rt1318_sdw_hw_params() 628 sampling_rate = RT1318_SDCA_RATE_96000HZ; in rt1318_sdw_hw_params() 631 sampling_rate = RT1318_SDCA_RATE_192000HZ; in rt1318_sdw_hw_params() 642 sampling_rate); in rt1318_sdw_hw_params()
|
D | max98396.c | 511 unsigned int sampling_rate = 0; in max98396_dai_hw_params() local 539 sampling_rate = MAX98396_PCM_SR_8000; in max98396_dai_hw_params() 542 sampling_rate = MAX98396_PCM_SR_11025; in max98396_dai_hw_params() 545 sampling_rate = MAX98396_PCM_SR_12000; in max98396_dai_hw_params() 548 sampling_rate = MAX98396_PCM_SR_16000; in max98396_dai_hw_params() 551 sampling_rate = MAX98396_PCM_SR_22050; in max98396_dai_hw_params() 554 sampling_rate = MAX98396_PCM_SR_24000; in max98396_dai_hw_params() 557 sampling_rate = MAX98396_PCM_SR_32000; in max98396_dai_hw_params() 560 sampling_rate = MAX98396_PCM_SR_44100; in max98396_dai_hw_params() 563 sampling_rate = MAX98396_PCM_SR_48000; in max98396_dai_hw_params() [all …]
|
D | max98390.c | 310 unsigned int sampling_rate; in max98390_dai_hw_params() local 340 sampling_rate = MAX98390_PCM_SR_SET1_SR_8000; in max98390_dai_hw_params() 343 sampling_rate = MAX98390_PCM_SR_SET1_SR_11025; in max98390_dai_hw_params() 346 sampling_rate = MAX98390_PCM_SR_SET1_SR_12000; in max98390_dai_hw_params() 349 sampling_rate = MAX98390_PCM_SR_SET1_SR_16000; in max98390_dai_hw_params() 352 sampling_rate = MAX98390_PCM_SR_SET1_SR_22050; in max98390_dai_hw_params() 355 sampling_rate = MAX98390_PCM_SR_SET1_SR_24000; in max98390_dai_hw_params() 358 sampling_rate = MAX98390_PCM_SR_SET1_SR_32000; in max98390_dai_hw_params() 361 sampling_rate = MAX98390_PCM_SR_SET1_SR_44100; in max98390_dai_hw_params() 364 sampling_rate = MAX98390_PCM_SR_SET1_SR_48000; in max98390_dai_hw_params() [all …]
|
D | rt1017-sdca-sdw.c | 583 unsigned int sampling_rate; in rt1017_sdca_pcm_hw_params() local 629 sampling_rate = RT1017_SDCA_RATE_44100HZ; in rt1017_sdca_pcm_hw_params() 632 sampling_rate = RT1017_SDCA_RATE_48000HZ; in rt1017_sdca_pcm_hw_params() 635 sampling_rate = RT1017_SDCA_RATE_96000HZ; in rt1017_sdca_pcm_hw_params() 638 sampling_rate = RT1017_SDCA_RATE_192000HZ; in rt1017_sdca_pcm_hw_params() 650 sampling_rate); in rt1017_sdca_pcm_hw_params()
|
D | rt712-sdca-dmic.c | 647 unsigned int sampling_rate; in rt712_sdca_dmic_hw_params() local 683 sampling_rate = RT712_SDCA_RATE_16000HZ; in rt712_sdca_dmic_hw_params() 686 sampling_rate = RT712_SDCA_RATE_32000HZ; in rt712_sdca_dmic_hw_params() 689 sampling_rate = RT712_SDCA_RATE_44100HZ; in rt712_sdca_dmic_hw_params() 692 sampling_rate = RT712_SDCA_RATE_48000HZ; in rt712_sdca_dmic_hw_params() 695 sampling_rate = RT712_SDCA_RATE_96000HZ; in rt712_sdca_dmic_hw_params() 698 sampling_rate = RT712_SDCA_RATE_192000HZ; in rt712_sdca_dmic_hw_params() 709 sampling_rate); in rt712_sdca_dmic_hw_params() 712 sampling_rate); in rt712_sdca_dmic_hw_params()
|
D | rt712-sdca.c | 1023 unsigned int sampling_rate; in rt712_sdca_pcm_hw_params() local 1076 sampling_rate = RT712_SDCA_RATE_44100HZ; in rt712_sdca_pcm_hw_params() 1079 sampling_rate = RT712_SDCA_RATE_48000HZ; in rt712_sdca_pcm_hw_params() 1082 sampling_rate = RT712_SDCA_RATE_96000HZ; in rt712_sdca_pcm_hw_params() 1085 sampling_rate = RT712_SDCA_RATE_192000HZ; in rt712_sdca_pcm_hw_params() 1098 sampling_rate); in rt712_sdca_pcm_hw_params() 1101 sampling_rate); in rt712_sdca_pcm_hw_params() 1106 sampling_rate); in rt712_sdca_pcm_hw_params()
|
D | rt722-sdca.c | 1168 unsigned int sampling_rate; in rt722_sdca_pcm_hw_params() local 1227 sampling_rate = RT722_SDCA_RATE_44100HZ; in rt722_sdca_pcm_hw_params() 1230 sampling_rate = RT722_SDCA_RATE_48000HZ; in rt722_sdca_pcm_hw_params() 1233 sampling_rate = RT722_SDCA_RATE_96000HZ; in rt722_sdca_pcm_hw_params() 1236 sampling_rate = RT722_SDCA_RATE_192000HZ; in rt722_sdca_pcm_hw_params() 1248 RT722_SDCA_CTL_SAMPLE_FREQ_INDEX, 0), sampling_rate); in rt722_sdca_pcm_hw_params() 1251 RT722_SDCA_CTL_SAMPLE_FREQ_INDEX, 0), sampling_rate); in rt722_sdca_pcm_hw_params() 1257 RT722_SDCA_CTL_SAMPLE_FREQ_INDEX, 0), sampling_rate); in rt722_sdca_pcm_hw_params() 1262 RT722_SDCA_CTL_SAMPLE_FREQ_INDEX, 0), sampling_rate); in rt722_sdca_pcm_hw_params()
|
/Linux-v6.6/drivers/media/test-drivers/vivid/ |
D | vivid-vbi-gen.c | 23 u8 *buf, unsigned sampling_rate) in vivid_vbi_gen_wss_raw() argument 41 unsigned n = ((bit + 1) * sampling_rate) / rate; in vivid_vbi_gen_wss_raw() 49 u8 *buf, unsigned sampling_rate) in vivid_vbi_gen_teletext_raw() argument 58 sampling_rate /= 10; in vivid_vbi_gen_teletext_raw() 61 unsigned n = ((bit + 1) * sampling_rate) / rate; in vivid_vbi_gen_teletext_raw() 84 u8 *buf, unsigned sampling_rate) in vivid_vbi_gen_cc_raw() argument 102 unsigned n = ((bit + 1) * sampling_rate) / rate; in vivid_vbi_gen_cc_raw() 132 vivid_vbi_gen_cc_raw(data, linebuf, vbi_fmt->sampling_rate); in vivid_vbi_gen_raw() 134 vivid_vbi_gen_wss_raw(data, linebuf, vbi_fmt->sampling_rate); in vivid_vbi_gen_raw() 136 vivid_vbi_gen_teletext_raw(data, linebuf, vbi_fmt->sampling_rate); in vivid_vbi_gen_raw()
|
/Linux-v6.6/drivers/cpufreq/ |
D | cpufreq_governor.c | 56 dbs_data->sampling_rate = sampling_interval; in sampling_rate_store() 120 unsigned int sampling_rate, io_busy, j; in dbs_update() local 128 sampling_rate = dbs_data->sampling_rate * policy_dbs->rate_mult; in dbs_update() 165 } else if (unlikely((int)idle_time > 2 * sampling_rate && in dbs_update() 215 if (unlikely((int)idle_time > 2 * sampling_rate)) { in dbs_update() 216 unsigned int periods = idle_time / sampling_rate; in dbs_update() 449 dbs_data->sampling_rate = max_t(unsigned int, in cpufreq_dbs_governor_init() 518 unsigned int sampling_rate, ignore_nice, j; in cpufreq_dbs_governor_start() local 527 sampling_rate = dbs_data->sampling_rate; in cpufreq_dbs_governor_start() 546 gov_set_update_util(policy_dbs, sampling_rate); in cpufreq_dbs_governor_start()
|
D | cpufreq_ondemand.c | 99 delay_hi_us = (freq_avg - freq_lo) * dbs_data->sampling_rate; in generic_powersave_bias_target() 104 dbs_info->freq_lo_delay_us = dbs_data->sampling_rate - delay_hi_us; in generic_powersave_bias_target() 199 return dbs_data->sampling_rate * policy_dbs->rate_mult; in od_dbs_update() 317 gov_show_one_common(sampling_rate); 324 gov_attr_rw(sampling_rate); 332 &sampling_rate.attr,
|
D | cpufreq_conservative.c | 144 return dbs_data->sampling_rate; in cs_dbs_update() 246 gov_show_one_common(sampling_rate); 253 gov_attr_rw(sampling_rate); 261 &sampling_rate.attr,
|
/Linux-v6.6/sound/firewire/fireworks/ |
D | fireworks_command.c | 30 u32 sampling_rate; member 284 be32_to_cpus(&clock->sampling_rate); in command_get_clock() 311 if ((clock.source == source) && (clock.sampling_rate == rate)) in command_set_clock() 317 if ((rate != UINT_MAX) && (clock.sampling_rate != rate)) in command_set_clock() 318 clock.sampling_rate = rate; in command_set_clock() 322 cpu_to_be32s(&clock.sampling_rate); in command_set_clock() 362 *rate = clock.sampling_rate; in snd_efw_command_get_sampling_rate()
|
D | fireworks_pcm.c | 49 int snd_efw_get_multiplier_mode(unsigned int sampling_rate, unsigned int *mode) in snd_efw_get_multiplier_mode() argument 54 if (freq_table[i] == sampling_rate) { in snd_efw_get_multiplier_mode() 201 unsigned int sampling_rate; in pcm_open() local 203 err = snd_efw_command_get_sampling_rate(efw, &sampling_rate); in pcm_open() 208 substream->runtime->hw.rate_min = sampling_rate; in pcm_open() 209 substream->runtime->hw.rate_max = sampling_rate; in pcm_open()
|
D | fireworks_proc.c | 109 unsigned int sampling_rate; in proc_read_clock() local 114 if (snd_efw_command_get_sampling_rate(efw, &sampling_rate) < 0) in proc_read_clock() 118 snd_iprintf(buffer, "Sampling Rate: %d\n", sampling_rate); in proc_read_clock()
|
/Linux-v6.6/sound/firewire/bebob/ |
D | bebob_pcm.c | 161 unsigned int sampling_rate; in pcm_open() local 163 err = spec->get(bebob, &sampling_rate); in pcm_open() 171 substream->runtime->hw.rate_min = sampling_rate; in pcm_open() 172 substream->runtime->hw.rate_max = sampling_rate; in pcm_open()
|
/Linux-v6.6/include/linux/ |
D | serial_sci.h | 55 unsigned int sampling_rate; member
|
/Linux-v6.6/drivers/media/pci/bt8xx/ |
D | bttv-vbi.c | 203 f->sampling_rate = tvnorm->Fsc; in try_fmt() 328 frt->fmt.vbi.sampling_rate = tvnorm->Fsc; in bttv_g_fmt_vbi_cap() 356 f->fmt.sampling_rate = tvnorm->Fsc; in bttv_vbi_fmt_reset()
|
/Linux-v6.6/drivers/gpu/drm/msm/dp/ |
D | dp_link.c | 224 int sampling_rate = 0x0; in dp_link_parse_audio_mode() local 234 sampling_rate = data & 0xF; in dp_link_parse_audio_mode() 235 if (sampling_rate > max_audio_sampling_rate) { in dp_link_parse_audio_mode() 237 sampling_rate, max_audio_sampling_rate); in dp_link_parse_audio_mode() 251 link->dp_link.test_audio.test_audio_sampling_rate = sampling_rate; in dp_link_parse_audio_mode() 255 sampling_rate, channel_count); in dp_link_parse_audio_mode()
|
/Linux-v6.6/sound/soc/sof/ |
D | compress.c | 247 sstream->sampling_rate = params->codec.sample_rate; in sof_compr_set_params() 374 tstamp->sampling_rate = sstream->sampling_rate; in sof_compr_pointer()
|