Lines Matching refs:clk_hw
25 static u8 clk_periph_get_parent(struct clk_hw *hw) in clk_periph_get_parent()
29 struct clk_hw *mux_hw = &periph->mux.hw; in clk_periph_get_parent()
36 static int clk_periph_set_parent(struct clk_hw *hw, u8 index) in clk_periph_set_parent()
40 struct clk_hw *mux_hw = &periph->mux.hw; in clk_periph_set_parent()
47 static unsigned long clk_periph_recalc_rate(struct clk_hw *hw, in clk_periph_recalc_rate()
52 struct clk_hw *div_hw = &periph->divider.hw; in clk_periph_recalc_rate()
59 static long clk_periph_round_rate(struct clk_hw *hw, unsigned long rate, in clk_periph_round_rate()
64 struct clk_hw *div_hw = &periph->divider.hw; in clk_periph_round_rate()
71 static int clk_periph_set_rate(struct clk_hw *hw, unsigned long rate, in clk_periph_set_rate()
76 struct clk_hw *div_hw = &periph->divider.hw; in clk_periph_set_rate()
83 static int clk_periph_is_enabled(struct clk_hw *hw) in clk_periph_is_enabled()
87 struct clk_hw *gate_hw = &periph->gate.hw; in clk_periph_is_enabled()
94 static int clk_periph_enable(struct clk_hw *hw) in clk_periph_enable()
98 struct clk_hw *gate_hw = &periph->gate.hw; in clk_periph_enable()
105 static void clk_periph_disable(struct clk_hw *hw) in clk_periph_disable()
109 struct clk_hw *gate_hw = &periph->gate.hw; in clk_periph_disable()