XenevaOS
Loading...
Searching...
No Matches
imx8mp_clk_gate.h
Go to the documentation of this file.
1
32#ifndef __IMX8MP_CLK_GATE_H__
33#define __IMX8MP_CLK_GATE_H__
34
35#include <stdint.h>
36
37typedef struct _imx8mp_gate_ {
38 uint32_t root_id; //defined by the kernel
40 bool _gate4;
43
44
48extern void imx8mp_gate_init();
49
50extern int imx8mp_clk_gate_enable(uint32_t clk_root_id);
51
52extern int imx8mp_clk_gate_disable(uint32_t clk_root_id);
53
54#endif
unsigned int uint32_t
Definition acefiex.h:163
COMPILER_DEPENDENT_UINT64 uint64_t
Definition acefiex.h:165
int imx8mp_clk_gate_enable(uint32_t clk_root_id)
void imx8mp_gate_init()
imx8mp_gate_init – initialize gate data registry
int imx8mp_clk_gate_disable(uint32_t clk_root_id)
struct _imx8mp_gate_ _imx8mp_gate_t
Definition imx8mp_clk_gate.h:37
bool _enabled
Definition imx8mp_clk_gate.h:41
bool _gate4
Definition imx8mp_clk_gate.h:40
uint64_t base_addr
Definition imx8mp_clk_gate.h:39
uint32_t root_id
Definition imx8mp_clk_gate.h:38