xref: /kernel/linux/linux-6.6/arch/arm/mach-at91/pm_data-offsets.c
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-6.6/arch/arm/mach-at91/
162306a36Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0
262306a36Sopenharmony_ci#include <linux/stddef.h>
362306a36Sopenharmony_ci#include <linux/kbuild.h>
462306a36Sopenharmony_ci#include "pm.h"
562306a36Sopenharmony_ci
662306a36Sopenharmony_ciint main(void)
762306a36Sopenharmony_ci{
862306a36Sopenharmony_ci	DEFINE(PM_DATA_PMC,		offsetof(struct at91_pm_data, pmc));
962306a36Sopenharmony_ci	DEFINE(PM_DATA_RAMC0,		offsetof(struct at91_pm_data, ramc[0]));
1062306a36Sopenharmony_ci	DEFINE(PM_DATA_RAMC1,		offsetof(struct at91_pm_data, ramc[1]));
1162306a36Sopenharmony_ci	DEFINE(PM_DATA_RAMC_PHY,	offsetof(struct at91_pm_data,
1262306a36Sopenharmony_ci						 ramc_phy));
1362306a36Sopenharmony_ci	DEFINE(PM_DATA_MEMCTRL,	offsetof(struct at91_pm_data, memctrl));
1462306a36Sopenharmony_ci	DEFINE(PM_DATA_MODE,		offsetof(struct at91_pm_data, mode));
1562306a36Sopenharmony_ci	DEFINE(PM_DATA_SHDWC,		offsetof(struct at91_pm_data, shdwc));
1662306a36Sopenharmony_ci	DEFINE(PM_DATA_SFRBU,		offsetof(struct at91_pm_data, sfrbu));
1762306a36Sopenharmony_ci	DEFINE(PM_DATA_PMC_MCKR_OFFSET,	offsetof(struct at91_pm_data,
1862306a36Sopenharmony_ci						 pmc_mckr_offset));
1962306a36Sopenharmony_ci	DEFINE(PM_DATA_PMC_VERSION,	offsetof(struct at91_pm_data,
2062306a36Sopenharmony_ci						 pmc_version));
2162306a36Sopenharmony_ci
2262306a36Sopenharmony_ci	return 0;
2362306a36Sopenharmony_ci}
24

Indexes created Thu Nov 07 10:32:03 CST 2024