Home
last modified time | relevance | path

Searched refs:to_clk_gate (Results 1 – 5 of 5) sorted by relevance

/drivers/clk/mediatek/
Dclk-gate.c28 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()
Dclk-gate.h32 static inline struct mtk_clk_gate *to_clk_gate(struct clk_hw *hw) in to_clk_gate() function
/drivers/clk/
Dclk-gate.c29 #define to_clk_gate(_hw) container_of(_hw, struct clk_gate, hw) macro
46 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()
/drivers/clk/nxp/
Dclk-lpc18xx-ccu.c31 #define to_clk_gate(_hw) container_of(_hw, struct clk_gate, hw) macro
140 struct clk_gate *gate = to_clk_gate(hw); in lpc18xx_ccu_gate_endisable()
/drivers/clk/mvebu/
Dcommon.c202 #define to_clk_gate(_hw) container_of(_hw, struct clk_gate, hw) macro
216 to_clk_gate(__clk_get_hw(ctrl->gates[n])); in clk_gating_get_src()