1 /* SPDX-License-Identifier: GPL-2.0 */ 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #ifndef _CLK_KUNIT_H 2 #ifndef _CLK_KUNIT_H 3 #define _CLK_KUNIT_H 3 #define _CLK_KUNIT_H 4 4 5 struct clk; 5 struct clk; 6 struct clk_hw; 6 struct clk_hw; 7 struct device; 7 struct device; 8 struct device_node; 8 struct device_node; 9 struct kunit; 9 struct kunit; 10 10 11 struct clk * 11 struct clk * 12 clk_get_kunit(struct kunit *test, struct devic 12 clk_get_kunit(struct kunit *test, struct device *dev, const char *con_id); 13 struct clk * 13 struct clk * 14 of_clk_get_kunit(struct kunit *test, struct de 14 of_clk_get_kunit(struct kunit *test, struct device_node *np, int index); 15 15 16 struct clk * 16 struct clk * 17 clk_hw_get_clk_kunit(struct kunit *test, struc 17 clk_hw_get_clk_kunit(struct kunit *test, struct clk_hw *hw, const char *con_id); 18 struct clk * 18 struct clk * 19 clk_hw_get_clk_prepared_enabled_kunit(struct k 19 clk_hw_get_clk_prepared_enabled_kunit(struct kunit *test, struct clk_hw *hw, 20 const ch 20 const char *con_id); 21 21 22 int clk_prepare_enable_kunit(struct kunit *tes 22 int clk_prepare_enable_kunit(struct kunit *test, struct clk *clk); 23 23 24 int clk_hw_register_kunit(struct kunit *test, 24 int clk_hw_register_kunit(struct kunit *test, struct device *dev, struct clk_hw *hw); 25 int of_clk_hw_register_kunit(struct kunit *tes 25 int of_clk_hw_register_kunit(struct kunit *test, struct device_node *node, 26 struct clk_hw *hw 26 struct clk_hw *hw); 27 27 28 #endif 28 #endif 29 29
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.