Home
last modified time | relevance | path

Searched refs:tmp_div (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/clk/at91/
Dclk-audio-pll.c391 u8 tmp_div; in clk_audio_pll_pad_set_rate() local
399 tmp_div = parent_rate / rate; in clk_audio_pll_pad_set_rate()
400 if (tmp_div % 3 == 0) { in clk_audio_pll_pad_set_rate()
401 apad_ck->qdaudio = tmp_div / 3; in clk_audio_pll_pad_set_rate()
404 apad_ck->qdaudio = tmp_div / 2; in clk_audio_pll_pad_set_rate()
/linux-6.1.9/drivers/mmc/host/
Dalcor.c665 unsigned int tmp_div, tmp_diff; in alcor_set_clock() local
668 tmp_div = DIV_ROUND_UP(cfg->clk_src_freq, clock); in alcor_set_clock()
669 if (cfg->min_div > tmp_div || tmp_div > cfg->max_div) in alcor_set_clock()
672 tmp_clock = DIV_ROUND_UP(cfg->clk_src_freq, tmp_div); in alcor_set_clock()
678 clk_div = tmp_div; in alcor_set_clock()