Lines Matching defs:init
20 #include <linux/init.h>
3509 * are enabled during init but might not have a parent yet.
3608 * The .init callback is not used by any of the basic clock types, but
3619 if (core->ops->init) {
3620 ret = core->ops->init(core->hw);
3856 const struct clk_init_data *init)
3858 u8 num_parents = init->num_parents;
3859 const char * const *parent_names = init->parent_names;
3860 const struct clk_hw **parent_hws = init->parent_hws;
3861 const struct clk_parent_data *parent_data = init->parent_data;
3953 const struct clk_init_data *init = hw->init;
3956 * The init data is not supposed to be used outside of registration path.
3958 * we catch use of hw->init early on in the core.
3960 hw->init = NULL;
3970 core->name = kstrdup_const(init->name, GFP_KERNEL);
3976 if (WARN_ON(!init->ops)) {
3980 core->ops = init->ops;
3988 core->flags = init->flags;
3989 core->num_parents = init->num_parents;
3993 ret = clk_core_populate_parent_map(core, init);
5118 * of_clk_init() - Scan and init clock providers from the DT
5119 * @matches: array of compatible values and init functions for providers.