1 // SPDX-License-Identifier: BSD-2-Clause 2 /* 3 * Copyright (c) 2021, Microchip 4 */ 5 6 #include "at91_pm.h" 7 #include <drivers/sam/at91_ddr.h> 8 #include <gen-asm-defines.h> 9 #include <types_ext.h> 10 11 DEFINES 12 { 13 DEFINE(PM_DATA_PMC, offsetof(struct at91_pm_data, pmc)); 14 DEFINE(PM_DATA_RAMC0, offsetof(struct at91_pm_data, ramc)); 15 DEFINE(PM_DATA_MODE, offsetof(struct at91_pm_data, mode)); 16 DEFINE(PM_DATA_SHDWC, offsetof(struct at91_pm_data, shdwc)); 17 DEFINE(PM_DATA_SFRBU, offsetof(struct at91_pm_data, sfrbu)); 18 } 19