#include <dt-bindings/soc/bcm6318-pm.h>
#include <dt-bindings/soc/bcm6328-pm.h>
#include <dt-bindings/soc/bcm6362-pm.h>
#include <dt-bindings/soc/bcm63268-pm.h>
#include <linux/io.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/pm_domain.h>
#include <linux/of.h>
struct bcm63xx_power_dev { … };
struct bcm63xx_power { … };
struct bcm63xx_power_data { … };
static int bcm63xx_power_get_state(struct bcm63xx_power_dev *pmd, bool *is_on)
{ … }
static int bcm63xx_power_set_state(struct bcm63xx_power_dev *pmd, bool on)
{ … }
static int bcm63xx_power_on(struct generic_pm_domain *genpd)
{ … }
static int bcm63xx_power_off(struct generic_pm_domain *genpd)
{ … }
static int bcm63xx_power_probe(struct platform_device *pdev)
{ … }
static const struct bcm63xx_power_data bcm6318_power_domains[] = …;
static const struct bcm63xx_power_data bcm6328_power_domains[] = …;
static const struct bcm63xx_power_data bcm6362_power_domains[] = …;
static const struct bcm63xx_power_data bcm63268_power_domains[] = …;
static const struct of_device_id bcm63xx_power_of_match[] = …;
static struct platform_driver bcm63xx_power_driver = …;
builtin_platform_driver(…) …;