Searched refs:to_clk_gate (Results 1 – 5 of 5) sorted by relevance
28 struct mtk_clk_gate *cg = to_clk_gate(hw); in mtk_cg_bit_is_cleared()40 struct mtk_clk_gate *cg = to_clk_gate(hw); in mtk_cg_bit_is_set()52 struct mtk_clk_gate *cg = to_clk_gate(hw); in mtk_cg_set_bit()59 struct mtk_clk_gate *cg = to_clk_gate(hw); in mtk_cg_clr_bit()
32 static inline struct mtk_clk_gate *to_clk_gate(struct clk_hw *hw) in to_clk_gate() function
29 #define to_clk_gate(_hw) container_of(_hw, struct clk_gate, hw) macro46 struct clk_gate *gate = to_clk_gate(hw); in clk_gate_endisable()94 struct clk_gate *gate = to_clk_gate(hw); in clk_gate_is_enabled()177 gate = to_clk_gate(hw); in clk_unregister_gate()
31 #define to_clk_gate(_hw) container_of(_hw, struct clk_gate, hw) macro140 struct clk_gate *gate = to_clk_gate(hw); in lpc18xx_ccu_gate_endisable()
202 #define to_clk_gate(_hw) container_of(_hw, struct clk_gate, hw) macro216 to_clk_gate(__clk_get_hw(ctrl->gates[n])); in clk_gating_get_src()