Searched refs:div_init (Results 1 – 2 of 2) sorted by relevance
592 struct ccu_div *ccu_div_hw_register(const struct ccu_div_init_data *div_init) in ccu_div_hw_register() argument599 if (!div_init) in ccu_div_hw_register()612 div->id = div_init->id; in ccu_div_hw_register()613 div->reg_ctl = div_init->base + CCU_DIV_CTL; in ccu_div_hw_register()614 div->sys_regs = div_init->sys_regs; in ccu_div_hw_register()615 div->flags = div_init->flags; in ccu_div_hw_register()616 div->features = div_init->features; in ccu_div_hw_register()619 hw_init.name = div_init->name; in ccu_div_hw_register()620 hw_init.flags = div_init->flags; in ccu_div_hw_register()622 if (div_init->type == CCU_DIV_VAR) { in ccu_div_hw_register()[all …]
647 static bool div_init(struct ccu_data *ccu, struct bcm_clk_gate *gate, in div_init() function1216 if (!div_init(ccu, &peri->gate, &peri->div, &peri->trig)) { in __peri_clk_init()1229 if (!div_init(ccu, &peri->gate, &peri->pre_div, trig)) { in __peri_clk_init()