mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-18 02:24:18 +00:00

Add all clock modules as entries in MMU using dynamic regions. Change-Id: I56f724ced4bd024554c7b38afd14ea420de80cc6 Signed-off-by: Ghennadi Procopciuc <ghennadi.procopciuc@nxp.com>
23 lines
651 B
C
23 lines
651 B
C
/* SPDX-License-Identifier: BSD-3-Clause */
|
|
/*
|
|
* Copyright 2024 NXP
|
|
*/
|
|
#ifndef S32CC_CLK_UTILS_H
|
|
#define S32CC_CLK_UTILS_H
|
|
|
|
#include <s32cc-clk-modules.h>
|
|
|
|
struct s32cc_clk *s32cc_get_clk_from_table(const struct s32cc_clk_array *const *clk_arr,
|
|
size_t size,
|
|
unsigned long clk_id);
|
|
|
|
int s32cc_get_id_from_table(const struct s32cc_clk_array *const *clk_arr,
|
|
size_t size, const struct s32cc_clk *clk,
|
|
unsigned long *clk_index);
|
|
|
|
struct s32cc_clk *s32cc_get_arch_clk(unsigned long id);
|
|
int s32cc_get_clk_id(const struct s32cc_clk *clk, unsigned long *id);
|
|
|
|
int s32cc_clk_register_drv(void);
|
|
|
|
#endif /* S32CC_CLK_UTILS_H */
|