Home
last modified time | relevance | path

Searched refs:div_init (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/drivers/clk/baikal-t1/
Dccu-div.c530 struct ccu_div *ccu_div_hw_register(const struct ccu_div_init_data *div_init) in ccu_div_hw_register() argument
537 if (!div_init) in ccu_div_hw_register()
550 div->id = div_init->id; in ccu_div_hw_register()
551 div->reg_ctl = div_init->base + CCU_DIV_CTL; in ccu_div_hw_register()
552 div->sys_regs = div_init->sys_regs; in ccu_div_hw_register()
553 div->flags = div_init->flags; in ccu_div_hw_register()
554 div->features = div_init->features; in ccu_div_hw_register()
557 hw_init.name = div_init->name; in ccu_div_hw_register()
558 hw_init.flags = div_init->flags; in ccu_div_hw_register()
560 if (div_init->type == CCU_DIV_VAR) { in ccu_div_hw_register()
[all …]
/Linux-v5.10/drivers/clk/bcm/
Dclk-kona.c647 static bool div_init(struct ccu_data *ccu, struct bcm_clk_gate *gate, in div_init() function
1216 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()