Home
last modified time | relevance | path

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

/linux/drivers/clk/
H A Dclk-gate.c58 struct clk_gate *gate = to_clk_gate(hw); in clk_gate_endisable()
106 struct clk_gate *gate = to_clk_gate(hw); in clk_gate_is_enabled()
209 gate = to_clk_gate(hw); in clk_unregister_gate()
220 gate = to_clk_gate(hw); in clk_hw_unregister_gate()
H A Dclk-stm32f4.c638 struct clk_gate *gate = to_clk_gate(hw); in stm32f4_pll_enable()
664 struct clk_gate *gate = to_clk_gate(hw); in stm32f4_pll_recalc()
678 struct clk_gate *gate = to_clk_gate(hw); in stm32f4_pll_determine_rate()
697 struct clk_gate *gate = to_clk_gate(hw); in stm32f4_pll_set_ssc()
723 struct clk_gate *gate = to_clk_gate(hw); in stm32f4_pll_set_rate()
853 struct clk_gate *gate = to_clk_gate(hw); in stm32f4_pll_init_ssc()
1060 struct clk_gate *gate = to_clk_gate(hw); in rgclk_enable()
H A Dclk-stm32h7.c162 struct clk_gate *gate = to_clk_gate(hw); in ready_gate_clk_enable()
190 struct clk_gate *gate = to_clk_gate(hw); in ready_gate_clk_disable()
/linux/drivers/clk/imx/
H A Dclk-gate-exclusive.c31 struct clk_gate *gate = to_clk_gate(hw); in clk_gate_exclusive_enable()
H A Dclk-composite-7ulp.c31 struct clk_gate *gate = to_clk_gate(hw); in pcc_gate_enable()
H A Dclk-composite-93.c48 struct clk_gate *gate = to_clk_gate(hw); in imx93_clk_composite_gate_endisable()
H A Dclk-composite-8m.c193 struct clk_gate *gate = to_clk_gate(hw); in imx8m_clk_composite_gate_enable()
/linux/Documentation/driver-api/
H A Dclk.rst138 [resolves struct clk gate with to_clk_gate(hw)]
152 Note that to_clk_gate is defined as::
154 #define to_clk_gate(_hw) container_of(_hw, struct clk_gate, hw)
/linux/drivers/clk/st/
H A Dclk-flexgen.c51 #define to_clk_gate(_hw) container_of(_hw, struct clk_gate, hw) macro
162 struct clk_gate *config = to_clk_gate(sync_hw); in flexgen_set_rate()
/linux/drivers/clk/nxp/
H A Dclk-lpc18xx-ccu.c136 struct clk_gate *gate = to_clk_gate(hw); in lpc18xx_ccu_gate_endisable()
/linux/drivers/clk/mvebu/
H A Dcommon.c210 to_clk_gate(__clk_get_hw(ctrl->gates[n])); in clk_gating_get_src()
H A Darmada-37xx-periph.c641 gate = to_clk_gate(gate_hw); in armada_3700_add_composite_clk()
/linux/drivers/clk/aspeed/
H A Dclk-ast2700.c778 struct clk_gate *gate = to_clk_gate(hw); in ast2700_clk_is_enabled()
789 struct clk_gate *gate = to_clk_gate(hw); in ast2700_clk_enable()
800 struct clk_gate *gate = to_clk_gate(hw); in ast2700_clk_disable()
/linux/drivers/clk/samsung/
H A Dclk.c268 struct clk_gate *gate = to_clk_gate(hw); in samsung_auto_clk_gate_is_en()
/linux/drivers/clk/mediatek/
H A Dclk-mtk.c319 gate = to_clk_gate(composite->gate_hw); in mtk_clk_unregister_composite()
/linux/drivers/clk/stm32/
H A Dclk-stm32mp1.c468 struct clk_gate *gate = to_clk_gate(hw); in mp1_gate_clk_disable()
684 struct clk_gate *gate = to_clk_gate(hw); in mp1_mgate_clk_enable()
696 struct clk_gate *gate = to_clk_gate(hw); in mp1_mgate_clk_disable()