Lines Matching refs:num_parents
32 int num_parents = clk_hw_get_num_parents(hw); in ti_clk_mux_get_parent() local
48 for (i = 0; i < num_parents; i++) in ti_clk_mux_get_parent()
60 if (val >= num_parents) in ti_clk_mux_get_parent()
131 u8 num_parents, unsigned long flags, in _register_mux() argument
148 init.num_parents = num_parents; in _register_mux()
177 unsigned int num_parents; in of_mux_clk_setup() local
185 num_parents = of_clk_get_parent_count(node); in of_mux_clk_setup()
186 if (num_parents < 2) { in of_mux_clk_setup()
190 parent_names = kzalloc((sizeof(char *) * num_parents), GFP_KERNEL); in of_mux_clk_setup()
194 of_clk_parent_fill(node, parent_names, num_parents); in of_mux_clk_setup()
210 mask = num_parents; in of_mux_clk_setup()
216 clk = _register_mux(NULL, node->name, parent_names, num_parents, in of_mux_clk_setup()
231 int num_parents; in ti_clk_build_component_mux() local
249 num_parents = setup->num_parents; in ti_clk_build_component_mux()
251 mux->mask = num_parents - 1; in ti_clk_build_component_mux()
260 unsigned int num_parents; in of_ti_composite_mux_clk_setup() local
276 num_parents = of_clk_get_parent_count(node); in of_ti_composite_mux_clk_setup()
278 if (num_parents < 2) { in of_ti_composite_mux_clk_setup()
283 mux->mask = num_parents - 1; in of_ti_composite_mux_clk_setup()