Lines Matching refs:gdsc
52 #define domain_to_gdsc(domain) container_of(domain, struct gdsc, pd)
60 static int gdsc_check_status(struct gdsc *sc, enum gdsc_status status) in gdsc_check_status()
96 static int gdsc_hwctrl(struct gdsc *sc, bool en) in gdsc_hwctrl()
103 static int gdsc_poll_status(struct gdsc *sc, enum gdsc_status status) in gdsc_poll_status()
119 static int gdsc_update_collapse_bit(struct gdsc *sc, bool val) in gdsc_update_collapse_bit()
139 static int gdsc_toggle_logic(struct gdsc *sc, enum gdsc_status status, in gdsc_toggle_logic()
189 static inline int gdsc_deassert_reset(struct gdsc *sc) in gdsc_deassert_reset()
198 static inline int gdsc_assert_reset(struct gdsc *sc) in gdsc_assert_reset()
207 static inline void gdsc_force_mem_on(struct gdsc *sc) in gdsc_force_mem_on()
219 static inline void gdsc_clear_mem_on(struct gdsc *sc) in gdsc_clear_mem_on()
231 static inline void gdsc_deassert_clamp_io(struct gdsc *sc) in gdsc_deassert_clamp_io()
237 static inline void gdsc_assert_clamp_io(struct gdsc *sc) in gdsc_assert_clamp_io()
243 static inline void gdsc_assert_reset_aon(struct gdsc *sc) in gdsc_assert_reset_aon()
252 static void gdsc_retain_ff_on(struct gdsc *sc) in gdsc_retain_ff_on()
261 struct gdsc *sc = domain_to_gdsc(domain); in gdsc_enable()
319 struct gdsc *sc = domain_to_gdsc(domain); in gdsc_disable()
366 static int gdsc_init(struct gdsc *sc) in gdsc_init()
474 struct gdsc **scs = desc->scs; in gdsc_register()
524 struct gdsc **scs = desc->scs; in gdsc_unregister()