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;
42
43
47extern void imx8mp_gate_init();
48
49extern int imx8mp_glk_gate_enable(uint8_t clk_root_id);
50
51extern int imx8mp_clk_gate_disable(uint8_t clk_root_id);
52
53#endif
unsigned int uint32_t
Definition acefiex.h:163
unsigned char uint8_t
Definition acefiex.h:161
COMPILER_DEPENDENT_UINT64 uint64_t
Definition acefiex.h:165
int imx8mp_glk_gate_enable(uint8_t clk_root_id)
void imx8mp_gate_init()
imx8mp_gate_init – initialize gate data registry
int imx8mp_clk_gate_disable(uint8_t clk_root_id)
struct _imx8mp_gate_ _imx8mp_gate_t
Definition imx8mp_clk_gate.h:37
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