Lines Matching refs:sr
15 static int sr_class3_enable(struct omap_sr *sr) in sr_class3_enable() argument
17 unsigned long volt = voltdm_get_voltage(sr->voltdm); in sr_class3_enable()
21 __func__, sr->name); in sr_class3_enable()
25 omap_vp_enable(sr->voltdm); in sr_class3_enable()
26 return sr_enable(sr, volt); in sr_class3_enable()
29 static int sr_class3_disable(struct omap_sr *sr, int is_volt_reset) in sr_class3_disable() argument
31 sr_disable_errgen(sr); in sr_class3_disable()
32 omap_vp_disable(sr->voltdm); in sr_class3_disable()
33 sr_disable(sr); in sr_class3_disable()
35 voltdm_reset(sr->voltdm); in sr_class3_disable()
40 static int sr_class3_configure(struct omap_sr *sr) in sr_class3_configure() argument
42 return sr_configure_errgen(sr); in sr_class3_configure()