]> Git Repo - linux.git/blob - include/linux/soc/dove/pmu.h
HID: hid-sensor-custom: Fix big on-stack allocation in hid_sensor_custom_get_known()
[linux.git] / include / linux / soc / dove / pmu.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef LINUX_SOC_DOVE_PMU_H
3 #define LINUX_SOC_DOVE_PMU_H
4
5 #include <linux/types.h>
6
7 struct dove_pmu_domain_initdata {
8         u32 pwr_mask;
9         u32 rst_mask;
10         u32 iso_mask;
11         const char *name;
12 };
13
14 struct dove_pmu_initdata {
15         void __iomem *pmc_base;
16         void __iomem *pmu_base;
17         int irq;
18         int irq_domain_start;
19         const struct dove_pmu_domain_initdata *domains;
20 };
21
22 int dove_init_pmu_legacy(const struct dove_pmu_initdata *);
23
24 int dove_init_pmu(void);
25
26 #endif
This page took 0.03649 seconds and 4 git commands to generate.