Lines Matching refs:clk_hw

18 	struct clk_hw	hw;
26 static inline struct mtk_clk_gate *to_mtk_clk_gate(struct clk_hw *hw) in to_mtk_clk_gate()
31 static u32 mtk_get_clockgating(struct clk_hw *hw) in mtk_get_clockgating()
41 static int mtk_cg_bit_is_cleared(struct clk_hw *hw) in mtk_cg_bit_is_cleared()
46 static int mtk_cg_bit_is_set(struct clk_hw *hw) in mtk_cg_bit_is_set()
51 static void mtk_cg_set_bit(struct clk_hw *hw) in mtk_cg_set_bit()
58 static void mtk_cg_clr_bit(struct clk_hw *hw) in mtk_cg_clr_bit()
65 static void mtk_cg_set_bit_no_setclr(struct clk_hw *hw) in mtk_cg_set_bit_no_setclr()
72 static void mtk_cg_clr_bit_no_setclr(struct clk_hw *hw) in mtk_cg_clr_bit_no_setclr()
79 static int mtk_cg_enable(struct clk_hw *hw) in mtk_cg_enable()
86 static void mtk_cg_disable(struct clk_hw *hw) in mtk_cg_disable()
91 static int mtk_cg_enable_inv(struct clk_hw *hw) in mtk_cg_enable_inv()
98 static void mtk_cg_disable_inv(struct clk_hw *hw) in mtk_cg_disable_inv()
103 static int mtk_cg_enable_no_setclr(struct clk_hw *hw) in mtk_cg_enable_no_setclr()
110 static void mtk_cg_disable_no_setclr(struct clk_hw *hw) in mtk_cg_disable_no_setclr()
115 static int mtk_cg_enable_inv_no_setclr(struct clk_hw *hw) in mtk_cg_enable_inv_no_setclr()
122 static void mtk_cg_disable_inv_no_setclr(struct clk_hw *hw) in mtk_cg_disable_inv_no_setclr()
155 static struct clk_hw *mtk_clk_register_gate(struct device *dev, const char *name, in mtk_clk_register_gate()
193 static void mtk_clk_unregister_gate(struct clk_hw *hw) in mtk_clk_unregister_gate()
210 struct clk_hw *hw; in mtk_clk_register_gates()