Lines Matching refs:clk_hw
19 struct clk_hw hw;
35 static int flexgen_enable(struct clk_hw *hw) in flexgen_enable()
38 struct clk_hw *pgate_hw = &flexgen->pgate.hw; in flexgen_enable()
39 struct clk_hw *fgate_hw = &flexgen->fgate.hw; in flexgen_enable()
52 static void flexgen_disable(struct clk_hw *hw) in flexgen_disable()
55 struct clk_hw *fgate_hw = &flexgen->fgate.hw; in flexgen_disable()
65 static int flexgen_is_enabled(struct clk_hw *hw) in flexgen_is_enabled()
68 struct clk_hw *fgate_hw = &flexgen->fgate.hw; in flexgen_is_enabled()
78 static u8 flexgen_get_parent(struct clk_hw *hw) in flexgen_get_parent()
81 struct clk_hw *mux_hw = &flexgen->mux.hw; in flexgen_get_parent()
88 static int flexgen_set_parent(struct clk_hw *hw, u8 index) in flexgen_set_parent()
91 struct clk_hw *mux_hw = &flexgen->mux.hw; in flexgen_set_parent()
104 static long flexgen_round_rate(struct clk_hw *hw, unsigned long rate, in flexgen_round_rate()
120 static unsigned long flexgen_recalc_rate(struct clk_hw *hw, in flexgen_recalc_rate()
124 struct clk_hw *pdiv_hw = &flexgen->pdiv.hw; in flexgen_recalc_rate()
125 struct clk_hw *fdiv_hw = &flexgen->fdiv.hw; in flexgen_recalc_rate()
136 static int flexgen_set_rate(struct clk_hw *hw, unsigned long rate, in flexgen_set_rate()
140 struct clk_hw *pdiv_hw = &flexgen->pdiv.hw; in flexgen_set_rate()
141 struct clk_hw *fdiv_hw = &flexgen->fdiv.hw; in flexgen_set_rate()