Lines Matching refs:clk_hw
25 struct clk_hw hw;
46 static int flexgen_enable(struct clk_hw *hw) in flexgen_enable()
49 struct clk_hw *pgate_hw = &flexgen->pgate.hw; in flexgen_enable()
50 struct clk_hw *fgate_hw = &flexgen->fgate.hw; in flexgen_enable()
63 static void flexgen_disable(struct clk_hw *hw) in flexgen_disable()
66 struct clk_hw *fgate_hw = &flexgen->fgate.hw; in flexgen_disable()
76 static int flexgen_is_enabled(struct clk_hw *hw) in flexgen_is_enabled()
79 struct clk_hw *fgate_hw = &flexgen->fgate.hw; in flexgen_is_enabled()
89 static u8 flexgen_get_parent(struct clk_hw *hw) in flexgen_get_parent()
92 struct clk_hw *mux_hw = &flexgen->mux.hw; in flexgen_get_parent()
99 static int flexgen_set_parent(struct clk_hw *hw, u8 index) in flexgen_set_parent()
102 struct clk_hw *mux_hw = &flexgen->mux.hw; in flexgen_set_parent()
115 static long flexgen_round_rate(struct clk_hw *hw, unsigned long rate, in flexgen_round_rate()
131 static unsigned long flexgen_recalc_rate(struct clk_hw *hw, in flexgen_recalc_rate()
135 struct clk_hw *pdiv_hw = &flexgen->pdiv.hw; in flexgen_recalc_rate()
136 struct clk_hw *fdiv_hw = &flexgen->fdiv.hw; in flexgen_recalc_rate()
147 static int flexgen_set_rate(struct clk_hw *hw, unsigned long rate, in flexgen_set_rate()
151 struct clk_hw *pdiv_hw = &flexgen->pdiv.hw; in flexgen_set_rate()
152 struct clk_hw *fdiv_hw = &flexgen->fdiv.hw; in flexgen_set_rate()
153 struct clk_hw *sync_hw = &flexgen->sync.hw; in flexgen_set_rate()