Searched refs:stm32mp1_clk (Results 1 – 1 of 1) sorted by relevance
1157 static struct clk stm32mp1_clk[ARRAY_SIZE(stm32mp1_clk_gate) + variable1164 int clk_index = clk - stm32mp1_clk; in clk_is_gate()1166 assert(clk_index >= 0 && clk_index < (int)ARRAY_SIZE(stm32mp1_clk)); in clk_is_gate()1172 int gate_index = clk - stm32mp1_clk; in clk_to_clock_id()1183 int gate_index = clk - stm32mp1_clk; in clk_to_gate_ref()1218 return stm32mp1_clk + gate_index; in clock_id_to_clk()1221 return stm32mp1_clk + CLK_ON_INDEX_OFFSET + on_index; in clock_id_to_clk()1345 for (n = 0; n < ARRAY_SIZE(stm32mp1_clk); n++) { in register_stm32mp1_clocks()1346 stm32mp1_clk[n].ops = &stm32mp1_clk_ops; in register_stm32mp1_clocks()1347 stm32mp1_clk[n].name = clk_op_get_name(stm32mp1_clk + n); in register_stm32mp1_clocks()[all …]