1 /* SPDX-License-Identifier: GPL-2.0 */ 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* 2 /* 3 * Copyright (c) 2023, Linaro Ltd. 3 * Copyright (c) 2023, Linaro Ltd. 4 */ 4 */ 5 5 6 #ifndef __LINUX_INTERCONNECT_CLK_H 6 #ifndef __LINUX_INTERCONNECT_CLK_H 7 #define __LINUX_INTERCONNECT_CLK_H 7 #define __LINUX_INTERCONNECT_CLK_H 8 8 9 struct device; 9 struct device; 10 10 11 struct icc_clk_data { 11 struct icc_clk_data { 12 struct clk *clk; 12 struct clk *clk; 13 const char *name; 13 const char *name; 14 unsigned int master_id; << 15 unsigned int slave_id; << 16 }; 14 }; 17 15 18 struct icc_provider *icc_clk_register(struct d 16 struct icc_provider *icc_clk_register(struct device *dev, 19 unsigned 17 unsigned int first_id, 20 unsigned 18 unsigned int num_clocks, 21 const st 19 const struct icc_clk_data *data); 22 int devm_icc_clk_register(struct device *dev, << 23 unsigned int num_clo << 24 void icc_clk_unregister(struct icc_provider *p 20 void icc_clk_unregister(struct icc_provider *provider); 25 21 26 #endif 22 #endif 27 23
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.