Searched refs:div_init (Results 1 – 2 of 2) sorted by relevance
578 struct ccu_div *ccu_div_hw_register(const struct ccu_div_init_data *div_init) in ccu_div_hw_register() argument585 if (!div_init) in ccu_div_hw_register()598 div->id = div_init->id; in ccu_div_hw_register()599 div->reg_ctl = div_init->base + CCU_DIV_CTL; in ccu_div_hw_register()600 div->sys_regs = div_init->sys_regs; in ccu_div_hw_register()601 div->flags = div_init->flags; in ccu_div_hw_register()602 div->features = div_init->features; in ccu_div_hw_register()605 hw_init.name = div_init->name; in ccu_div_hw_register()606 hw_init.flags = div_init->flags; in ccu_div_hw_register()608 if (div_init->type == CCU_DIV_VAR) { in ccu_div_hw_register()[all …]
622 static bool div_init(struct ccu_data *ccu, struct bcm_clk_gate *gate, in div_init() function1191 if (!div_init(ccu, &peri->gate, &peri->div, &peri->trig)) { in __peri_clk_init()1204 if (!div_init(ccu, &peri->gate, &peri->pre_div, trig)) { in __peri_clk_init()