Searched refs:bcm_clk (Results 1 – 2 of 2) sorted by relevance
51 static bool clk_requires_trigger(struct kona_clk *bcm_clk) in clk_requires_trigger() argument53 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() argument90 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() argument370 struct peri_clk_data *peri = bcm_clk->u.peri; in kona_dividers_valid()[all …]
975 struct kona_clk *bcm_clk = to_kona_clk(hw); in kona_peri_clk_enable() local976 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() local984 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() local992 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 …]