Lines Matching refs:clk_hw
24 struct clk_hw hw;
45 static int flexgen_enable(struct clk_hw *hw) in flexgen_enable()
48 struct clk_hw *pgate_hw = &flexgen->pgate.hw; in flexgen_enable()
49 struct clk_hw *fgate_hw = &flexgen->fgate.hw; in flexgen_enable()
62 static void flexgen_disable(struct clk_hw *hw) in flexgen_disable()
65 struct clk_hw *fgate_hw = &flexgen->fgate.hw; in flexgen_disable()
75 static int flexgen_is_enabled(struct clk_hw *hw) in flexgen_is_enabled()
78 struct clk_hw *fgate_hw = &flexgen->fgate.hw; in flexgen_is_enabled()
88 static u8 flexgen_get_parent(struct clk_hw *hw) in flexgen_get_parent()
91 struct clk_hw *mux_hw = &flexgen->mux.hw; in flexgen_get_parent()
98 static int flexgen_set_parent(struct clk_hw *hw, u8 index) in flexgen_set_parent()
101 struct clk_hw *mux_hw = &flexgen->mux.hw; in flexgen_set_parent()
114 static long flexgen_round_rate(struct clk_hw *hw, unsigned long rate, in flexgen_round_rate()
130 static unsigned long flexgen_recalc_rate(struct clk_hw *hw, in flexgen_recalc_rate()
134 struct clk_hw *pdiv_hw = &flexgen->pdiv.hw; in flexgen_recalc_rate()
135 struct clk_hw *fdiv_hw = &flexgen->fdiv.hw; in flexgen_recalc_rate()
146 static int flexgen_set_rate(struct clk_hw *hw, unsigned long rate, in flexgen_set_rate()
150 struct clk_hw *pdiv_hw = &flexgen->pdiv.hw; in flexgen_set_rate()
151 struct clk_hw *fdiv_hw = &flexgen->fdiv.hw; in flexgen_set_rate()
152 struct clk_hw *sync_hw = &flexgen->sync.hw; in flexgen_set_rate()