Searched refs:tmp_div (Results 1 – 2 of 2) sorted by relevance
391 u8 tmp_div; in clk_audio_pll_pad_set_rate() local399 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()
665 unsigned int tmp_div, tmp_diff; in alcor_set_clock() local668 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()