#include <linux/mod_devicetable.h>
#include <linux/of_address.h>
#include <linux/platform_device.h>
#include <linux/property.h>
#include <linux/pm_domain.h>
#include <linux/soc/actions/owl-sps.h>
#include <dt-bindings/power/owl-s500-powergate.h>
#include <dt-bindings/power/owl-s700-powergate.h>
#include <dt-bindings/power/owl-s900-powergate.h>
struct owl_sps_domain_info { … };
struct owl_sps_info { … };
struct owl_sps { … };
#define to_owl_pd(gpd) …
struct owl_sps_domain { … };
static int owl_sps_set_power(struct owl_sps_domain *pd, bool enable)
{ … }
static int owl_sps_power_on(struct generic_pm_domain *domain)
{ … }
static int owl_sps_power_off(struct generic_pm_domain *domain)
{ … }
static int owl_sps_init_domain(struct owl_sps *sps, int index)
{ … }
static int owl_sps_probe(struct platform_device *pdev)
{ … }
static const struct owl_sps_domain_info s500_sps_domains[] = …;
static const struct owl_sps_info s500_sps_info = …;
static const struct owl_sps_domain_info s700_sps_domains[] = …;
static const struct owl_sps_info s700_sps_info = …;
static const struct owl_sps_domain_info s900_sps_domains[] = …;
static const struct owl_sps_info s900_sps_info = …;
static const struct of_device_id owl_sps_of_matches[] = …;
static struct platform_driver owl_sps_platform_driver = …;
static int __init owl_sps_init(void)
{ … }
postcore_initcall(owl_sps_init);