/* SPDX-License-Identifier: GPL-2.0 */ struct regmap; /** * enum icst_control_type - the type of ICST control register */ enum icst_control_type { … }; /** * struct clk_icst_desc - descriptor for the ICST VCO * @params: ICST parameters * @vco_offset: offset to the ICST VCO from the provided memory base * @lock_offset: offset to the ICST VCO locking register from the provided * memory base */ struct clk_icst_desc { … }; struct clk *icst_clk_register(struct device *dev, const struct clk_icst_desc *desc, const char *name, const char *parent_name, void __iomem *base); struct clk *icst_clk_setup(struct device *dev, const struct clk_icst_desc *desc, const char *name, const char *parent_name, struct regmap *map, enum icst_control_type ctype);