Home
last modified time | relevance | path

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

/openbmc/linux/drivers/clk/bcm/
H A Dclk-kona-setup.c83 peri = bcm_clk->u.peri; in peri_clk_data_offsets_valid()
85 range = bcm_clk->ccu->range; in peri_clk_data_offsets_valid()
414 peri = bcm_clk->u.peri; in peri_clk_data_valid()
486 switch (bcm_clk->type) { in kona_clk_valid()
493 (int)bcm_clk->type); in kona_clk_valid()
675 switch (bcm_clk->type) { in bcm_clk_teardown()
677 peri_clk_teardown(bcm_clk->u.data, &bcm_clk->init_data); in bcm_clk_teardown()
682 bcm_clk->u.data = NULL; in bcm_clk_teardown()
688 struct kona_clk *bcm_clk; in kona_clk_teardown() local
695 bcm_clk = to_kona_clk(hw); in kona_clk_teardown()
[all …]
H A Dclk-kona.c971 return clk_gate(bcm_clk->ccu, bcm_clk->init_data.name, gate, true); in kona_peri_clk_enable()
979 (void)clk_gate(bcm_clk->ccu, bcm_clk->init_data.name, gate, false); in kona_peri_clk_disable()
1010 return round_rate(bcm_clk->ccu, div, &bcm_clk->u.peri->pre_div, in kona_peri_clk_round_rate()
1099 bcm_clk->init_data.name); in kona_peri_clk_set_parent()
1104 bcm_clk->init_data.name); in kona_peri_clk_set_parent()
1164 bcm_clk->init_data.name); in kona_peri_clk_set_rate()
1168 bcm_clk->init_data.name); in kona_peri_clk_set_rate()
1188 struct ccu_data *ccu = bcm_clk->ccu; in __peri_clk_init()
1238 switch (bcm_clk->type) { in __kona_clk_init()
1240 return __peri_clk_init(bcm_clk); in __kona_clk_init()
[all …]