Lines Matching refs:p_index
392 static struct clk_core *clk_core_get(struct clk_core *core, u8 p_index) in clk_core_get() argument
394 const char *name = core->parents[p_index].fw_name; in clk_core_get()
395 int index = core->parents[p_index].index; in clk_core_get()
1830 u8 p_index) in __clk_set_parent() argument
1842 ret = core->ops->set_parent(core->hw, p_index); in __clk_set_parent()
1906 struct clk_core *new_parent, u8 p_index) in clk_calc_subtree() argument
1912 core->new_parent_index = p_index; in clk_calc_subtree()
1937 int p_index = 0; in clk_calc_new_rates() local
1992 p_index = clk_fetch_parent_index(core, parent); in clk_calc_new_rates()
1993 if (p_index < 0) { in clk_calc_new_rates()
2005 clk_calc_subtree(core, new_rate, parent, p_index); in clk_calc_new_rates()
2513 int p_index = 0; in clk_core_set_parent_nolock() local
2537 p_index = clk_fetch_parent_index(core, parent); in clk_core_set_parent_nolock()
2538 if (p_index < 0) { in clk_core_set_parent_nolock()
2541 return p_index; in clk_core_set_parent_nolock()
2558 ret = __clk_set_parent(core, parent, p_index); in clk_core_set_parent_nolock()