mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-17 16:14:25 +08:00
0be298a939
This will be used to differentiate b/w different PLLs settings to be applied in the final/first steps of the suspend/resume process by doing PLL specific configurations. Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com> Acked-by: Stephen Boyd <sboyd@kernel.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Link: https://lore.kernel.org/r/1579522208-19523-5-git-send-email-claudiu.beznea@microchip.com
22 lines
748 B
C
22 lines
748 B
C
// SPDX-License-Identifier: GPL-2.0
|
|
#include <linux/stddef.h>
|
|
#include <linux/kbuild.h>
|
|
#include "pm.h"
|
|
|
|
int main(void)
|
|
{
|
|
DEFINE(PM_DATA_PMC, offsetof(struct at91_pm_data, pmc));
|
|
DEFINE(PM_DATA_RAMC0, offsetof(struct at91_pm_data, ramc[0]));
|
|
DEFINE(PM_DATA_RAMC1, offsetof(struct at91_pm_data, ramc[1]));
|
|
DEFINE(PM_DATA_MEMCTRL, offsetof(struct at91_pm_data, memctrl));
|
|
DEFINE(PM_DATA_MODE, offsetof(struct at91_pm_data, mode));
|
|
DEFINE(PM_DATA_SHDWC, offsetof(struct at91_pm_data, shdwc));
|
|
DEFINE(PM_DATA_SFRBU, offsetof(struct at91_pm_data, sfrbu));
|
|
DEFINE(PM_DATA_PMC_MCKR_OFFSET, offsetof(struct at91_pm_data,
|
|
pmc_mckr_offset));
|
|
DEFINE(PM_DATA_PMC_VERSION, offsetof(struct at91_pm_data,
|
|
pmc_version));
|
|
|
|
return 0;
|
|
}
|