/linux/tools/power/cpupower/bench/ |
A 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}" 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 68 …ESHOLD}_sampling_rate_${sampling_rate}\" -t \"Ondemand up_threshold: ${UP_THRESHOLD} % comparison … 78 for sampling_rate in $SAMPLING_RATE;do [all …]
|
/linux/sound/soc/codecs/ |
A 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() 295 sampling_rate); in max98373_dai_hw_params() 307 sampling_rate - 3); in max98373_dai_hw_params() [all …]
|
A 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 …]
|
A D | max98927.c | 312 unsigned int sampling_rate = 0; in max98927_dai_hw_params() local 344 sampling_rate = MAX98927_PCM_SR_SET1_SR_8000; in max98927_dai_hw_params() 347 sampling_rate = MAX98927_PCM_SR_SET1_SR_11025; in max98927_dai_hw_params() 350 sampling_rate = MAX98927_PCM_SR_SET1_SR_12000; in max98927_dai_hw_params() 353 sampling_rate = MAX98927_PCM_SR_SET1_SR_16000; in max98927_dai_hw_params() 356 sampling_rate = MAX98927_PCM_SR_SET1_SR_22050; in max98927_dai_hw_params() 359 sampling_rate = MAX98927_PCM_SR_SET1_SR_24000; in max98927_dai_hw_params() 362 sampling_rate = MAX98927_PCM_SR_SET1_SR_32000; in max98927_dai_hw_params() 379 sampling_rate); in max98927_dai_hw_params() 391 sampling_rate - 3); in max98927_dai_hw_params() [all …]
|
A D | max98373-sdw.c | 539 int ret, chan_sz, sampling_rate; in max98373_sdw_dai_hw_params() local 615 sampling_rate = MAX98373_PCM_SR_SET1_SR_8000; in max98373_sdw_dai_hw_params() 618 sampling_rate = MAX98373_PCM_SR_SET1_SR_11025; in max98373_sdw_dai_hw_params() 621 sampling_rate = MAX98373_PCM_SR_SET1_SR_12000; in max98373_sdw_dai_hw_params() 624 sampling_rate = MAX98373_PCM_SR_SET1_SR_16000; in max98373_sdw_dai_hw_params() 627 sampling_rate = MAX98373_PCM_SR_SET1_SR_22050; in max98373_sdw_dai_hw_params() 630 sampling_rate = MAX98373_PCM_SR_SET1_SR_24000; in max98373_sdw_dai_hw_params() 633 sampling_rate = MAX98373_PCM_SR_SET1_SR_32000; in max98373_sdw_dai_hw_params() 636 sampling_rate = MAX98373_PCM_SR_SET1_SR_44100; in max98373_sdw_dai_hw_params() 639 sampling_rate = MAX98373_PCM_SR_SET1_SR_48000; in max98373_sdw_dai_hw_params() [all …]
|
A D | max98390.c | 312 unsigned int sampling_rate; in max98390_dai_hw_params() local 342 sampling_rate = MAX98390_PCM_SR_SET1_SR_8000; in max98390_dai_hw_params() 345 sampling_rate = MAX98390_PCM_SR_SET1_SR_11025; in max98390_dai_hw_params() 348 sampling_rate = MAX98390_PCM_SR_SET1_SR_12000; in max98390_dai_hw_params() 351 sampling_rate = MAX98390_PCM_SR_SET1_SR_16000; in max98390_dai_hw_params() 354 sampling_rate = MAX98390_PCM_SR_SET1_SR_22050; in max98390_dai_hw_params() 357 sampling_rate = MAX98390_PCM_SR_SET1_SR_24000; in max98390_dai_hw_params() 360 sampling_rate = MAX98390_PCM_SR_SET1_SR_32000; in max98390_dai_hw_params() 363 sampling_rate = MAX98390_PCM_SR_SET1_SR_44100; in max98390_dai_hw_params() 366 sampling_rate = MAX98390_PCM_SR_SET1_SR_48000; in max98390_dai_hw_params() [all …]
|
A D | rt711-sdca.c | 1257 unsigned int sampling_rate; in rt711_sdca_pcm_hw_params() local 1307 sampling_rate = RT711_SDCA_RATE_44100HZ; in rt711_sdca_pcm_hw_params() 1310 sampling_rate = RT711_SDCA_RATE_48000HZ; in rt711_sdca_pcm_hw_params() 1313 sampling_rate = RT711_SDCA_RATE_96000HZ; in rt711_sdca_pcm_hw_params() 1316 sampling_rate = RT711_SDCA_RATE_192000HZ; in rt711_sdca_pcm_hw_params() 1327 sampling_rate); in rt711_sdca_pcm_hw_params() 1330 sampling_rate); in rt711_sdca_pcm_hw_params() 1333 sampling_rate); in rt711_sdca_pcm_hw_params()
|
/linux/drivers/media/test-drivers/vivid/ |
A 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/drivers/cpufreq/ |
A D | cpufreq_governor.c | 56 dbs_data->sampling_rate = sampling_interval; in store_sampling_rate() 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() 439 dbs_data->sampling_rate = max_t(unsigned int, in cpufreq_dbs_governor_init() 510 unsigned int sampling_rate, ignore_nice, j; in cpufreq_dbs_governor_start() local 519 sampling_rate = dbs_data->sampling_rate; in cpufreq_dbs_governor_start() 538 gov_set_update_util(policy_dbs, sampling_rate); in cpufreq_dbs_governor_start()
|
A 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,
|
A 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,
|
A D | cpufreq_governor.h | 42 unsigned int sampling_rate; member
|
/linux/sound/firewire/fireworks/ |
A 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()
|
A 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()
|
A 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/sound/firewire/bebob/ |
A 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/drivers/iio/light/ |
A D | vcnl4000.c | 116 ktime_t sampling_rate; member 243 data->vcnl4200_al.sampling_rate = ktime_set(0, 60000 * 1000); in vcnl4200_init() 245 data->vcnl4200_ps.sampling_rate = ktime_set(0, 5760 * 1000); in vcnl4200_init() 250 data->vcnl4200_al.sampling_rate = ktime_set(0, 96000 * 1000); in vcnl4200_init() 252 data->vcnl4200_ps.sampling_rate = ktime_set(0, 6000 * 1000); in vcnl4200_init() 340 chan->sampling_rate); in vcnl4200_measure()
|
/linux/drivers/gpu/drm/msm/dp/ |
A D | dp_link.c | 220 int sampling_rate = 0x0; in dp_link_parse_audio_mode() local 230 sampling_rate = data & 0xF; in dp_link_parse_audio_mode() 231 if (sampling_rate > max_audio_sampling_rate) { in dp_link_parse_audio_mode() 233 sampling_rate, max_audio_sampling_rate); in dp_link_parse_audio_mode() 247 link->dp_link.test_audio.test_audio_sampling_rate = sampling_rate; in dp_link_parse_audio_mode() 250 sampling_rate, channel_count); in dp_link_parse_audio_mode()
|
/linux/include/linux/ |
A D | serial_sci.h | 55 unsigned int sampling_rate; member
|
/linux/drivers/media/pci/bt8xx/ |
A D | bttv-vbi.c | 255 f->sampling_rate = tvnorm->Fsc; in try_fmt() 386 frt->fmt.vbi.sampling_rate = tvnorm->Fsc; in bttv_g_fmt_vbi_cap() 415 f->fmt.sampling_rate = tvnorm->Fsc; in bttv_vbi_fmt_reset()
|
/linux/drivers/media/pci/cx88/ |
A D | cx88-vbi.c | 34 f->fmt.vbi.sampling_rate = 28636363; in cx8800_vbi_fmt() 42 f->fmt.vbi.sampling_rate = 35468950; in cx8800_vbi_fmt()
|
/linux/arch/sh/kernel/cpu/sh4a/ |
A D | setup-sh7723.c | 87 .sampling_rate = 8, 107 .sampling_rate = 8, 127 .sampling_rate = 8,
|
/linux/include/uapi/sound/ |
A D | compress_offload.h | 73 __u32 sampling_rate; member
|
/linux/sound/soc/sof/intel/ |
A D | hda-probes.c | 111 tstamp->sampling_rate = snd_pcm_rate_bit_to_rate(pstream->rates); in hda_probe_compr_pointer()
|
/linux/drivers/tty/serial/ |
A D | qcom_geni_serial.c | 961 unsigned int sampling_rate, unsigned int *clk_div) in get_clk_div_rate() argument 966 desired_clk = baud * sampling_rate; in get_clk_div_rate() 992 u32 ver, sampling_rate; in qcom_geni_serial_set_termios() local 1000 sampling_rate = UART_OVERSAMPLING; in qcom_geni_serial_set_termios() 1004 sampling_rate /= 2; in qcom_geni_serial_set_termios() 1006 clk_rate = get_clk_div_rate(baud, sampling_rate, &clk_div); in qcom_geni_serial_set_termios()
|