Lines Matching defs:init
20 #include <linux/init.h>
3708 * are enabled during init but might not have a parent yet.
3811 * The .init callback is not used by any of the basic clock types, but
3822 if (core->ops->init) {
3823 ret = core->ops->init(core->hw);
4076 const struct clk_init_data *init)
4078 u8 num_parents = init->num_parents;
4079 const char * const *parent_names = init->parent_names;
4080 const struct clk_hw **parent_hws = init->parent_hws;
4081 const struct clk_parent_data *parent_data = init->parent_data;
4157 const struct clk_init_data *init = hw->init;
4160 * The init data is not supposed to be used outside of registration path.
4162 * we catch use of hw->init early on in the core.
4164 hw->init = NULL;
4172 core->name = kstrdup_const(init->name, GFP_KERNEL);
4178 if (WARN_ON(!init->ops)) {
4182 core->ops = init->ops;
4191 core->flags = init->flags;
4192 core->num_parents = init->num_parents;
4196 ret = clk_core_populate_parent_map(core, init);
5363 * of_clk_init() - Scan and init clock providers from the DT
5364 * @matches: array of compatible values and init functions for providers.