Changeset View
Changeset View
Standalone View
Standalone View
sys/arm64/rockchip/clk/rk_clk_fract.h
Show All 29 Lines | |||||
#ifndef _RK_CLK_FRACT_H_ | #ifndef _RK_CLK_FRACT_H_ | ||||
#define _RK_CLK_FRACT_H_ | #define _RK_CLK_FRACT_H_ | ||||
#include <dev/extres/clk/clk.h> | #include <dev/extres/clk/clk.h> | ||||
struct rk_clk_fract_def { | struct rk_clk_fract_def { | ||||
struct clknode_init_def clkdef; | struct clknode_init_def clkdef; | ||||
uint32_t offset; | uint32_t offset; | ||||
uint32_t gate_offset; | |||||
uint32_t gate_shift; | |||||
uint32_t flags; | uint32_t flags; | ||||
}; | }; | ||||
#define RK_CLK_FRACT_HAVE_GATE 0x0001 | |||||
int rk_clk_fract_register(struct clkdom *clkdom, | int rk_clk_fract_register(struct clkdom *clkdom, | ||||
struct rk_clk_fract_def *clkdef); | struct rk_clk_fract_def *clkdef); | ||||
#endif /* _RK_CLK_FRACT_H_ */ | #endif /* _RK_CLK_FRACT_H_ */ |