Lines Matching refs:parent
78 struct clk parent; in gen2_clk_get_rate() local
87 ret = renesas_clk_get_parent(clk, info, &parent); in gen2_clk_get_rate()
94 rate = gen2_clk_get_rate(&parent); in gen2_clk_get_rate()
96 __func__, __LINE__, parent.id, rate); in gen2_clk_get_rate()
123 rate = (gen2_clk_get_rate(&parent) * core->mult) / core->div; in gen2_clk_get_rate()
126 core->parent, core->mult, core->div, rate); in gen2_clk_get_rate()
131 rate = gen2_clk_get_rate(&parent) / value; in gen2_clk_get_rate()
134 core->parent, value, rate); in gen2_clk_get_rate()
138 rate = gen2_clk_get_rate(&parent) / pll_config->extal_div; in gen2_clk_get_rate()
141 core->parent, pll_config->extal_div, rate); in gen2_clk_get_rate()
157 rate = (gen2_clk_get_rate(&parent) * mult) / info->pll0_div; in gen2_clk_get_rate()
159 __func__, __LINE__, core->parent, mult, rate); in gen2_clk_get_rate()
163 rate = (gen2_clk_get_rate(&parent) * pll_config->pll1_mult) / 2; in gen2_clk_get_rate()
166 core->parent, pll_config->pll1_mult, rate); in gen2_clk_get_rate()
170 rate = gen2_clk_get_rate(&parent) * pll_config->pll3_mult; in gen2_clk_get_rate()
173 core->parent, pll_config->pll3_mult, rate); in gen2_clk_get_rate()
179 rate = gen2_clk_get_rate(&parent) / div; in gen2_clk_get_rate()
182 core->parent, div, rate); in gen2_clk_get_rate()
188 rate = gen2_clk_get_rate(&parent) / div; in gen2_clk_get_rate()
191 core->parent, div, rate); in gen2_clk_get_rate()
197 rate = gen2_clk_get_rate(&parent) / div; in gen2_clk_get_rate()
200 core->parent, div, rate); in gen2_clk_get_rate()
214 struct clk parent, pparent; in gen2_clk_setup_mmcif_div() local
218 ret = renesas_clk_get_parent(clk, info, &parent); in gen2_clk_setup_mmcif_div()
224 if (renesas_clk_is_mod(&parent)) in gen2_clk_setup_mmcif_div()
227 ret = renesas_clk_get_core(&parent, info, &core); in gen2_clk_setup_mmcif_div()
234 ret = renesas_clk_get_parent(&parent, info, &pparent); in gen2_clk_setup_mmcif_div()