Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/clk/bcm/
Dclk-kona-setup.c43 static bool clk_requires_trigger(struct kona_clk *bcm_clk) in clk_requires_trigger() argument
45 struct peri_clk_data *peri = bcm_clk->u.peri; in clk_requires_trigger()
49 if (bcm_clk->type != bcm_clk_peri) in clk_requires_trigger()
69 static bool peri_clk_data_offsets_valid(struct kona_clk *bcm_clk) in peri_clk_data_offsets_valid() argument
82 BUG_ON(bcm_clk->type != bcm_clk_peri); in peri_clk_data_offsets_valid()
83 peri = bcm_clk->u.peri; in peri_clk_data_offsets_valid()
84 name = bcm_clk->init_data.name; in peri_clk_data_offsets_valid()
85 range = bcm_clk->ccu->range; in peri_clk_data_offsets_valid()
360 static bool kona_dividers_valid(struct kona_clk *bcm_clk) in kona_dividers_valid() argument
362 struct peri_clk_data *peri = bcm_clk->u.peri; in kona_dividers_valid()
[all …]
Dclk-kona.c968 struct kona_clk *bcm_clk = to_kona_clk(hw); in kona_peri_clk_enable() local
969 struct bcm_clk_gate *gate = &bcm_clk->u.peri->gate; in kona_peri_clk_enable()
971 return clk_gate(bcm_clk->ccu, bcm_clk->init_data.name, gate, true); in kona_peri_clk_enable()
976 struct kona_clk *bcm_clk = to_kona_clk(hw); in kona_peri_clk_disable() local
977 struct bcm_clk_gate *gate = &bcm_clk->u.peri->gate; in kona_peri_clk_disable()
979 (void)clk_gate(bcm_clk->ccu, bcm_clk->init_data.name, gate, false); in kona_peri_clk_disable()
984 struct kona_clk *bcm_clk = to_kona_clk(hw); in kona_peri_clk_is_enabled() local
985 struct bcm_clk_gate *gate = &bcm_clk->u.peri->gate; in kona_peri_clk_is_enabled()
987 return is_clk_gate_enabled(bcm_clk->ccu, gate) ? 1 : 0; in kona_peri_clk_is_enabled()
993 struct kona_clk *bcm_clk = to_kona_clk(hw); in kona_peri_clk_recalc_rate() local
[all …]