Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/clk/bcm/
Dclk-kona-setup.c51 static bool clk_requires_trigger(struct kona_clk *bcm_clk) in clk_requires_trigger() argument
53 struct peri_clk_data *peri = bcm_clk->u.peri; in clk_requires_trigger()
57 if (bcm_clk->type != bcm_clk_peri) in clk_requires_trigger()
77 static bool peri_clk_data_offsets_valid(struct kona_clk *bcm_clk) in peri_clk_data_offsets_valid() argument
90 BUG_ON(bcm_clk->type != bcm_clk_peri); in peri_clk_data_offsets_valid()
91 peri = bcm_clk->u.peri; in peri_clk_data_offsets_valid()
92 name = bcm_clk->init_data.name; in peri_clk_data_offsets_valid()
93 range = bcm_clk->ccu->range; in peri_clk_data_offsets_valid()
368 static bool kona_dividers_valid(struct kona_clk *bcm_clk) in kona_dividers_valid() argument
370 struct peri_clk_data *peri = bcm_clk->u.peri; in kona_dividers_valid()
[all …]
Dclk-kona.c976 struct kona_clk *bcm_clk = to_kona_clk(hw); in kona_peri_clk_enable() local
977 struct bcm_clk_gate *gate = &bcm_clk->u.peri->gate; in kona_peri_clk_enable()
979 return clk_gate(bcm_clk->ccu, bcm_clk->init_data.name, gate, true); in kona_peri_clk_enable()
984 struct kona_clk *bcm_clk = to_kona_clk(hw); in kona_peri_clk_disable() local
985 struct bcm_clk_gate *gate = &bcm_clk->u.peri->gate; in kona_peri_clk_disable()
987 (void)clk_gate(bcm_clk->ccu, bcm_clk->init_data.name, gate, false); in kona_peri_clk_disable()
992 struct kona_clk *bcm_clk = to_kona_clk(hw); in kona_peri_clk_is_enabled() local
993 struct bcm_clk_gate *gate = &bcm_clk->u.peri->gate; in kona_peri_clk_is_enabled()
995 return is_clk_gate_enabled(bcm_clk->ccu, gate) ? 1 : 0; in kona_peri_clk_is_enabled()
1001 struct kona_clk *bcm_clk = to_kona_clk(hw); in kona_peri_clk_recalc_rate() local
[all …]