Searched refs:sprd_gate (Results 1 – 2 of 2) sorted by relevance
13 static void clk_gate_toggle(const struct sprd_gate *sg, bool en) in clk_gate_toggle()31 static void clk_sc_gate_toggle(const struct sprd_gate *sg, bool en) in clk_sc_gate_toggle()53 struct sprd_gate *sg = hw_to_sprd_gate(hw); in sprd_gate_disable()60 struct sprd_gate *sg = hw_to_sprd_gate(hw); in sprd_gate_enable()69 struct sprd_gate *sg = hw_to_sprd_gate(hw); in sprd_sc_gate_disable()76 struct sprd_gate *sg = hw_to_sprd_gate(hw); in sprd_sc_gate_enable()84 struct sprd_gate *sg = hw_to_sprd_gate(hw); in sprd_gate_is_enabled()
13 struct sprd_gate { struct23 struct sprd_gate _struct = { \ argument49 static inline struct sprd_gate *hw_to_sprd_gate(const struct clk_hw *hw) in hw_to_sprd_gate()53 return container_of(common, struct sprd_gate, common); in hw_to_sprd_gate()