Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- struct sun6i_ahb1_clk {
- struct clk_hw hw;
- void __iomem *reg;
- const struct pre_div_table *table;
- };
- struct pre_div_table {
- u8 parent;
- u8 prediv;
- };
- static const struct pre_div_table sun6i_ahb1_prediv_table[] __initconst = {
- { .parent = 0, .prediv = 0 },
- { .parent = 1, .prediv = 0 },
- { .parent = 2, .prediv = 0 },
- { .parent = 3, .prediv = 1 },
- { } /* sentinel */
- };
- static const struct pre_div_table sun8i_a83t_ahb1_prediv_table[] __initconst = {
- { .parent = 0, .prediv = 0 },
- { .parent = 1, .prediv = 0 },
- { .parent = 2, .prediv = 1 },
- { .parent = 3, .prediv = 1 },
- { } /* sentinel */
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement