Home
last modified time | relevance | path

Searched refs:pidx (Results 1 – 4 of 4) sorted by relevance

/optee_os-3.20.0/core/drivers/clk/
A Dclk.c72 if (pidx >= clk->num_parents) in clk_get_parent_by_index()
75 return clk->parents[pidx]; in clk_get_parent_by_index()
80 size_t pidx = 0; in clk_init_parent() local
89 pidx = clk->ops->get_parent(clk); in clk_init_parent()
90 assert(pidx < clk->num_parents); in clk_init_parent()
92 clk->parent = clk->parents[pidx]; in clk_init_parent()
233 size_t *pidx) in clk_get_parent_idx() argument
239 *pidx = i; in clk_get_parent_idx()
249 size_t pidx) in clk_set_parent_no_lock() argument
263 res = clk->ops->set_parent(clk, pidx); in clk_set_parent_no_lock()
[all …]
A Dclk-stm32-core.c324 static TEE_Result clk_stm32_mux_set_parent(struct clk *clk, size_t pidx) in clk_stm32_mux_set_parent() argument
328 return stm32_mux_set_parent(cfg->mux_id, pidx); in clk_stm32_mux_set_parent()
414 TEE_Result clk_stm32_composite_set_parent(struct clk *clk, size_t pidx) in clk_stm32_composite_set_parent() argument
421 return stm32_mux_set_parent(cfg->mux_id, pidx); in clk_stm32_composite_set_parent()
471 TEE_Result clk_stm32_set_parent_by_index(struct clk *clk, size_t pidx) in clk_stm32_set_parent_by_index() argument
473 struct clk *parent = clk_get_parent_by_index(clk, pidx); in clk_stm32_set_parent_by_index()
A Dclk-stm32-core.h142 TEE_Result clk_stm32_composite_set_parent(struct clk *clk, size_t pidx);
150 TEE_Result clk_stm32_set_parent_by_index(struct clk *clk, size_t pidx);
/optee_os-3.20.0/core/include/drivers/
A Dclk.h173 struct clk *clk_get_parent_by_index(struct clk *clk, size_t pidx);

Completed in 5 milliseconds