Lines Matching refs:p_index
405 static struct clk_core *clk_core_get(struct clk_core *core, u8 p_index) in clk_core_get() argument
407 const char *name = core->parents[p_index].fw_name; in clk_core_get()
408 int index = core->parents[p_index].index; in clk_core_get()
1931 u8 p_index) in __clk_set_parent() argument
1943 ret = core->ops->set_parent(core->hw, p_index); in __clk_set_parent()
2007 struct clk_core *new_parent, u8 p_index) in clk_calc_subtree() argument
2013 core->new_parent_index = p_index; in clk_calc_subtree()
2038 int p_index = 0; in clk_calc_new_rates() local
2093 p_index = clk_fetch_parent_index(core, parent); in clk_calc_new_rates()
2094 if (p_index < 0) { in clk_calc_new_rates()
2106 clk_calc_subtree(core, new_rate, parent, p_index); in clk_calc_new_rates()
2622 int p_index = 0; in clk_core_set_parent_nolock() local
2646 p_index = clk_fetch_parent_index(core, parent); in clk_core_set_parent_nolock()
2647 if (p_index < 0) { in clk_core_set_parent_nolock()
2650 return p_index; in clk_core_set_parent_nolock()
2667 ret = __clk_set_parent(core, parent, p_index); in clk_core_set_parent_nolock()