Home
last modified time | relevance | path

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

/linux-4.19.296/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.c975 struct kona_clk *bcm_clk = to_kona_clk(hw); in kona_peri_clk_enable() local
976 struct bcm_clk_gate *gate = &bcm_clk->u.peri->gate; in kona_peri_clk_enable()
978 return clk_gate(bcm_clk->ccu, bcm_clk->init_data.name, gate, true); in kona_peri_clk_enable()
983 struct kona_clk *bcm_clk = to_kona_clk(hw); in kona_peri_clk_disable() local
984 struct bcm_clk_gate *gate = &bcm_clk->u.peri->gate; in kona_peri_clk_disable()
986 (void)clk_gate(bcm_clk->ccu, bcm_clk->init_data.name, gate, false); in kona_peri_clk_disable()
991 struct kona_clk *bcm_clk = to_kona_clk(hw); in kona_peri_clk_is_enabled() local
992 struct bcm_clk_gate *gate = &bcm_clk->u.peri->gate; in kona_peri_clk_is_enabled()
994 return is_clk_gate_enabled(bcm_clk->ccu, gate) ? 1 : 0; in kona_peri_clk_is_enabled()
1000 struct kona_clk *bcm_clk = to_kona_clk(hw); in kona_peri_clk_recalc_rate() local
[all …]