Home
last modified time | relevance | path

Searched refs:num_parents (Results 1 – 25 of 25) sorted by relevance

/external/u-boot/drivers/clk/
Dclk-mux.c40 int num_parents = mux->num_parents; in clk_mux_val_to_index() local
45 for (i = 0; i < num_parents; i++) in clk_mux_val_to_index()
57 if (val >= num_parents) in clk_mux_val_to_index()
108 for (i = 0; i < mux->num_parents; i++) { in clk_fetch_parent_index()
151 const char * const *parent_names, u8 num_parents, in clk_hw_register_mux_table() argument
176 mux->num_parents = num_parents; in clk_hw_register_mux_table()
207 const char * const *parent_names, u8 num_parents, in clk_register_mux_table() argument
214 clk = clk_hw_register_mux_table(dev, name, parent_names, num_parents, in clk_register_mux_table()
223 const char * const *parent_names, u8 num_parents, in clk_register_mux() argument
230 return clk_register_mux_table(dev, name, parent_names, num_parents, in clk_register_mux()
Dclk-ti-sci.c122 u8 num_parents; in ti_sci_clk_set_parent() local
133 ret = cops->get_num_parents(sci, clk->id, clk->data, &num_parents); in ti_sci_clk_set_parent()
139 if (num_parents < 2) { in ti_sci_clk_set_parent()
147 if (parent_cid >= num_parents) { in ti_sci_clk_set_parent()
Dclk_sandbox_ccf.c166 int num_parents, void __iomem *reg, in sandbox_clk_composite() argument
181 mux->num_parents = num_parents; in sandbox_clk_composite()
203 parent_names, num_parents, in sandbox_clk_composite()
Dclk_versal.c107 u32 num_parents; member
338 u32 *num_parents) in versal_clock_get_parents() argument
343 *num_parents = 0; in versal_clock_get_parents()
352 num_parents); in versal_clock_get_parents()
356 } while (*num_parents <= MAX_PARENT); in versal_clock_get_parents()
604 &clock[i].num_parents); in versal_get_clock_info()
Dclk-uclass.c185 int num_parents; in clk_set_default_parents() local
188 num_parents = dev_count_phandle_with_args(dev, "assigned-clock-parents", in clk_set_default_parents()
190 if (num_parents < 0) { in clk_set_default_parents()
196 for (index = 0; index < num_parents; index++) { in clk_set_default_parents()
Dclk-composite.c86 int num_parents, struct clk *mux, in clk_register_composite() argument
/external/u-boot/drivers/clk/imx/
Dclk.h116 int num_parents, void (*fixup)(u32 *val));
120 const char * const *parents, int num_parents, in imx_clk_mux_flags() argument
123 return clk_register_mux(NULL, name, parents, num_parents, in imx_clk_mux_flags()
130 int num_parents) in imx_clk_mux() argument
132 return clk_register_mux(NULL, name, parents, num_parents, in imx_clk_mux()
140 const char * const *parents, int num_parents) in imx_clk_busy_mux() argument
142 return clk_register_mux(NULL, name, parents, num_parents, in imx_clk_busy_mux()
149 int num_parents) in imx_clk_mux2() argument
151 return clk_register_mux(NULL, name, parents, num_parents, in imx_clk_mux2()
180 int num_parents, void __iomem *reg, unsigned long flags);
Dclk-composite-8m.c119 int num_parents, void __iomem *reg, in imx8m_clk_composite_flags() argument
134 mux->num_parents = num_parents; in imx8m_clk_composite_flags()
156 parent_names, num_parents, in imx8m_clk_composite_flags()
/external/u-boot/drivers/clk/at91/
Dclk-generated.c45 u32 num_parents; member
90 for (i = 0; i < priv->num_parents; i++) { in generic_clk_set_rate()
153 u32 num_parents; in generic_clk_ofdata_to_platdata() local
155 num_parents = fdtdec_get_int_array_count(gd->fdt_blob, in generic_clk_ofdata_to_platdata()
159 if (!num_parents) in generic_clk_ofdata_to_platdata()
162 priv->num_parents = num_parents; in generic_clk_ofdata_to_platdata()
/external/u-boot/drivers/clk/mediatek/
Dclk-mtk.h109 signed char num_parents; member
122 .num_parents = ARRAY_SIZE(_parents), \
136 .num_parents = ARRAY_SIZE(_parents), \
Dclk-mtk.c67 if (++index == mux->num_parents) in mtk_clk_mux_set_parent()
/external/u-boot/include/
Dsandbox-clk.h71 int num_parents) in sandbox_clk_mux() argument
73 return clk_register_mux(NULL, name, parents, num_parents, in sandbox_clk_mux()
/external/u-boot/include/linux/
Dclk-provider.h62 u8 num_parents; member
159 const char * const *parent_names, int num_parents,
178 const char * const *parent_names, u8 num_parents,
/external/u-boot/drivers/clk/uniphier/
Dclk-uniphier-core.c45 for (i = 0; i < mux->num_parents; i++) { in uniphier_clk_mux_set_parent()
67 for (i = 0; i < mux->num_parents; i++) in uniphier_clk_mux_get_parent()
201 for (i = 0; i < data->data.mux.num_parents; i++) { in __uniphier_clk_set_rate()
Dclk-uniphier-mio.c34 .num_parents = 8, \
Dclk-uniphier.h34 u8 num_parents; member
/external/mesa3d/src/intel/compiler/
Dbrw_cfg.h459 assert(unsigned(b->num) < num_parents); in parent()
466 assert(unsigned(b->num) < num_parents); in parent()
477 unsigned num_parents;
Dbrw_cfg.cpp542 num_parents(s->cfg->num_blocks), in idom_tree()
543 parents(new bblock_t *[num_parents]()) in idom_tree()
598 for (unsigned i = 0; i < num_parents; i++) in dump()
/external/arm-trusted-firmware/plat/ti/k3/common/drivers/ti_sci/
Dti_sci.h131 uint8_t *num_parents);
Dti_sci_protocol.h358 uint8_t num_parents; member
Dti_sci.c967 uint8_t *num_parents) in ti_sci_clock_get_num_parents() argument
993 *num_parents = resp.num_parents; in ti_sci_clock_get_num_parents()
/external/u-boot/arch/arm/include/asm/arch-tegra/
Dbpmp_abi.h889 uint8_t num_parents; member
/external/u-boot/drivers/firmware/
Dti_sci.h440 u8 num_parents; member
Dti_sci.c1332 u8 *num_parents) in ti_sci_cmd_clk_get_num_parents() argument
1342 if (!handle || !num_parents) in ti_sci_cmd_clk_get_num_parents()
1370 *num_parents = resp->num_parents; in ti_sci_cmd_clk_get_num_parents()
/external/u-boot/include/linux/soc/ti/
Dti_sci_protocol.h212 u8 cid, u8 *num_parents);