Home
last modified time | relevance | path

Searched refs:freq (Results 1 – 22 of 22) sorted by relevance

/sof-3.4.0/src/lib/
Dcpu-clk-manager.c20 static int request_freq_change(unsigned int core, int freq) in request_freq_change() argument
29 if (freq < clk->freqs[selected_freq_id].freq) in request_freq_change()
35 if (clk->freqs[selected_freq_id].freq != current_freq) in request_freq_change()
36 clock_set_freq(core, freq); in request_freq_change()
55 int freq; in core_kcps_adjust() local
63 freq = max_core_consumption(); in core_kcps_adjust()
67 ret = request_freq_change(core_id, freq * 1000); in core_kcps_adjust()
Dclk.c40 if (hz <= tab[i].freq) in clock_get_nearest_freq_idx()
51 uint32_t freq = clk_info->freqs[clk_info->current_freq_idx].freq; in clock_get_freq() local
53 return freq; in clock_get_freq()
63 clk_info->freqs[clk_info->current_freq_idx].freq; in clock_set_freq()
73 clk_notify_data.freq = clk_info->freqs[idx].freq; in clock_set_freq()
/sof-3.4.0/src/drivers/intel/ssp/
Dmn.c136 if (ssp_freq[i].freq % mclk_rate == 0) { in setup_initial_mclk_source()
182 if (ssp_freq[mn->mclk_source_clock].freq % mclk_rate != 0) { in check_current_mclk_source()
262 ssp_freq[mn->mclk_source_clock].freq / in mn_set_mclk()
324 static bool find_mn(uint32_t freq, uint32_t bclk, in find_mn() argument
328 uint32_t scr_div = freq / bclk; in find_mn()
330 tr_info(&mn_tr, "find_mn for freq %d bclk %d", freq, bclk); in find_mn()
332 if (freq % bclk == 0 && scr_div < (SSCR0_SCR_MASK >> 8) + 1) { in find_mn()
341 if ((bclk * 2) >= freq) in find_mn()
352 while (scr_div > 1 && freq % scr_div != 0) in find_mn()
356 mn_div = gcd(bclk, freq / scr_div); in find_mn()
[all …]
Dssp.c160 if (ssp_freq[SSP_DEFAULT_IDX].freq % config->ssp.bclk_rate != 0) { in ssp_bclk_prepare_enable()
167 mdiv = ssp_freq[SSP_DEFAULT_IDX].freq / config->ssp.bclk_rate; in ssp_bclk_prepare_enable()
402 config->ssp.mclk_rate > ssp_freq[MAX_SSP_FREQ_INDEX].freq) { in ssp_set_config_tplg()
405 ssp_freq[MAX_SSP_FREQ_INDEX].freq); in ssp_set_config_tplg()
/sof-3.4.0/zephyr/include/rtos/
Dclk.h29 uint32_t freq; member
35 uint32_t freq; member
/sof-3.4.0/src/platform/mt8188/lib/
Dclk.c97 int freq = platform_cpu_freq[freq_idx].freq; in clock_platform_set_dsp_freq() local
99 tr_info(&clkdrv_tr, "clock_platform_set_cpu_freq %d\n", freq); in clock_platform_set_dsp_freq()
/sof-3.4.0/xtos/include/rtos/
Dclk.h26 uint32_t freq; member
32 uint32_t freq; member
/sof-3.4.0/tools/tune/eq/
Dgui.m117 freq = str2num(get(biquad.freq.edit, "string")); variable
122 peq = [peq; type, freq, gain, Q];
377 EQ(index, channel).freq.label = uicontrol( ...
383 EQ(index, channel).freq.edit = uicontrol( ...
391 "prefix", "freq", ...
397 EQ(index, channel).freq.units = uicontrol( ...
403 EQ(index, channel).freq.slider = uicontrol( ...
413 "prefix", "freq", ...
502 set_udata_field(section.freq.edit, "EQ", EQ);
503 set_udata_field(section.freq.slider, "EQ", EQ);
Deq_load_dsp_ini.m70 "freq",
/sof-3.4.0/src/platform/posix/
Dposix.c54 .freq = CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC, in posix_clk_init()
/sof-3.4.0/tools/topology/topology1/platform/common/
Desai.m45 dnl ESAI_CLOCK(clock, freq, codec_master, polarity)
Dsai.m45 dnl SAI_CLOCK(clock, freq, codec_master, polarity)
Dacp-hs.m45 dnl ACP_CLOCK(clock, freq, codec_master, polarity)
Dacp-sp.m45 dnl ACP_CLOCK(clock, freq, codec_master, polarity)
Dssp.m45 dnl SSP_CLOCK(clock, freq, codec_master, polarity)
/sof-3.4.0/src/drivers/intel/cavs/
Dtimestamp.c33 cfg->walclk_rate = ssp_freq[i].freq; in timestamp_hda_config()
203 cfg->walclk_rate = ssp_freq[i].freq; in timestamp_ssp_config()
/sof-3.4.0/src/audio/pipeline/
Dpipeline-graph.c287 int freq = clock_get_freq(cpu_get_id()); in pipeline_complete() local
289 int freq = 0; in pipeline_complete() local
293 pipe_dbg(p, "pipeline complete, clock freq %dHz", freq); in pipeline_complete()
/sof-3.4.0/src/platform/mt8195/lib/
Dclk.c143 int adsp_clk_req = platform_cpu_freq[freq_idx].freq; in clock_platform_set_cpu_freq()
/sof-3.4.0/tools/topology/topology1/
Dsof-tgl-max98373-rt5682.m4234 dnl SSP_CLOCK(clock, freq, codec_master, polarity)
Dsof-adl-nau8825.m4346 dnl SSP_CLOCK(clock, freq, codec_master, polarity)
Dsof-tgl-max98357a-rt5682.m4416 dnl SSP_CLOCK(clock, freq, codec_master, polarity)
/sof-3.4.0/tools/tune/src/
Dsrc_get.m106 % lower freq.