Changeset View
Changeset View
Standalone View
Standalone View
head/sys/arm64/rockchip/clk/rk_clk_composite.h
Show First 20 Lines • Show All 46 Lines • ▼ Show 20 Lines | struct rk_clk_composite_def { | ||||
uint32_t gate_offset; | uint32_t gate_offset; | ||||
uint32_t gate_shift; | uint32_t gate_shift; | ||||
uint32_t flags; | uint32_t flags; | ||||
}; | }; | ||||
#define RK_CLK_COMPOSITE_HAVE_MUX 0x0001 | #define RK_CLK_COMPOSITE_HAVE_MUX 0x0001 | ||||
#define RK_CLK_COMPOSITE_HAVE_GATE 0x0002 | #define RK_CLK_COMPOSITE_HAVE_GATE 0x0002 | ||||
#define RK_CLK_COMPOSITE_DIV_EXP 0x0004 /* Register 0, 1, 2, 2, ... */ | |||||
/* Divider 1, 2, 4, 8, ... */ | |||||
int rk_clk_composite_register(struct clkdom *clkdom, | int rk_clk_composite_register(struct clkdom *clkdom, | ||||
struct rk_clk_composite_def *clkdef); | struct rk_clk_composite_def *clkdef); | ||||
#endif /* _RK_CLK_COMPOSITE_H_ */ | #endif /* _RK_CLK_COMPOSITE_H_ */ |