Lines Matching refs:clk_hw
24 static u8 clk_periph_get_parent(struct clk_hw *hw) in clk_periph_get_parent()
28 struct clk_hw *mux_hw = &periph->mux.hw; in clk_periph_get_parent()
35 static int clk_periph_set_parent(struct clk_hw *hw, u8 index) in clk_periph_set_parent()
39 struct clk_hw *mux_hw = &periph->mux.hw; in clk_periph_set_parent()
46 static unsigned long clk_periph_recalc_rate(struct clk_hw *hw, in clk_periph_recalc_rate()
51 struct clk_hw *div_hw = &periph->divider.hw; in clk_periph_recalc_rate()
58 static long clk_periph_round_rate(struct clk_hw *hw, unsigned long rate, in clk_periph_round_rate()
63 struct clk_hw *div_hw = &periph->divider.hw; in clk_periph_round_rate()
70 static int clk_periph_set_rate(struct clk_hw *hw, unsigned long rate, in clk_periph_set_rate()
75 struct clk_hw *div_hw = &periph->divider.hw; in clk_periph_set_rate()
82 static int clk_periph_is_enabled(struct clk_hw *hw) in clk_periph_is_enabled()
86 struct clk_hw *gate_hw = &periph->gate.hw; in clk_periph_is_enabled()
93 static int clk_periph_enable(struct clk_hw *hw) in clk_periph_enable()
97 struct clk_hw *gate_hw = &periph->gate.hw; in clk_periph_enable()
104 static void clk_periph_disable(struct clk_hw *hw) in clk_periph_disable()
108 struct clk_hw *gate_hw = &periph->gate.hw; in clk_periph_disable()