Lines Matching refs:parent_rate
245 static int clk_get_divider(unsigned divider_bits, unsigned long parent_rate, in clk_get_divider() argument
248 u64 divider = parent_rate * 2; in clk_get_divider()
299 static unsigned long get_rate_from_divider(unsigned long parent_rate, in get_rate_from_divider() argument
304 rate = (u64)parent_rate * 2; in get_rate_from_divider()
313 unsigned parent_rate = pll_rate[parent]; in clock_get_periph_rate() local
324 return parent_rate; in clock_get_periph_rate()
352 return get_rate_from_divider(parent_rate, div); in clock_get_periph_rate()
368 static int find_best_divider(unsigned divider_bits, unsigned long parent_rate, in find_best_divider() argument
377 unsigned divided_parent = parent_rate >> shift; in find_best_divider()
527 unsigned int __weak clk_m_get_rate(unsigned int parent_rate) in clk_m_get_rate() argument
529 return parent_rate; in clk_m_get_rate()
536 u64 parent_rate, rate; in clock_get_rate() local
539 parent_rate = osc_freq[clock_get_osc_freq()]; in clock_get_rate()
541 return parent_rate; in clock_get_rate()
544 return clk_m_get_rate(parent_rate); in clock_get_rate()
551 rate = parent_rate * ((base >> pllinfo->n_shift) & pllinfo->n_mask); in clock_get_rate()