Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/clk/baikal-t1/
Dccu-div.c573 struct ccu_div *ccu_div_hw_register(const struct ccu_div_init_data *div_init) in ccu_div_hw_register() argument
580 if (!div_init) in ccu_div_hw_register()
593 div->id = div_init->id; in ccu_div_hw_register()
594 div->reg_ctl = div_init->base + CCU_DIV_CTL; in ccu_div_hw_register()
595 div->sys_regs = div_init->sys_regs; in ccu_div_hw_register()
596 div->flags = div_init->flags; in ccu_div_hw_register()
597 div->features = div_init->features; in ccu_div_hw_register()
600 hw_init.name = div_init->name; in ccu_div_hw_register()
601 hw_init.flags = div_init->flags; in ccu_div_hw_register()
603 if (div_init->type == CCU_DIV_VAR) { in ccu_div_hw_register()
[all …]
/Linux-v6.1/drivers/clk/bcm/
Dclk-kona.c639 static bool div_init(struct ccu_data *ccu, struct bcm_clk_gate *gate, in div_init() function
1208 if (!div_init(ccu, &peri->gate, &peri->div, &peri->trig)) { in __peri_clk_init()
1221 if (!div_init(ccu, &peri->gate, &peri->pre_div, trig)) { in __peri_clk_init()