1*7c36209bSGhennadi Procopciuc /* SPDX-License-Identifier: BSD-3-Clause */ 2*7c36209bSGhennadi Procopciuc /* 3*7c36209bSGhennadi Procopciuc * Copyright 2024 NXP 4*7c36209bSGhennadi Procopciuc */ 5*7c36209bSGhennadi Procopciuc #ifndef S32CC_CLK_UTILS_H 6*7c36209bSGhennadi Procopciuc #define S32CC_CLK_UTILS_H 7*7c36209bSGhennadi Procopciuc 8*7c36209bSGhennadi Procopciuc #include <s32cc-clk-modules.h> 9*7c36209bSGhennadi Procopciuc 10*7c36209bSGhennadi Procopciuc struct s32cc_clk *s32cc_get_clk_from_table(const struct s32cc_clk_array *const *clk_arr, 11*7c36209bSGhennadi Procopciuc size_t size, 12*7c36209bSGhennadi Procopciuc unsigned long clk_id); 13*7c36209bSGhennadi Procopciuc 14*7c36209bSGhennadi Procopciuc struct s32cc_clk *s32cc_get_arch_clk(unsigned long id); 15*7c36209bSGhennadi Procopciuc 16*7c36209bSGhennadi Procopciuc #endif /* S32CC_CLK_UTILS_H */ 17