1 /* 2 * Intel Core SoC Power Management Controller Header File 3 * 4 * Copyright (c) 2016, Intel Corporation. 5 * All Rights Reserved. 6 * 7 * Authors: Rajneesh Bhardwaj <rajneesh.bhardwaj@intel.com> 8 * Vishwanath Somayaji <vishwanath.somayaji@intel.com> 9 * 10 * This program is free software; you can redistribute it and/or modify it 11 * under the terms and conditions of the GNU General Public License, 12 * version 2, as published by the Free Software Foundation. 13 * 14 * This program is distributed in the hope it will be useful, but WITHOUT 15 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 16 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 17 * more details. 18 * 19 */ 20 21 #ifndef _ASM_PMC_CORE_H 22 #define _ASM_PMC_CORE_H 23 24 /* API to read SLP_S0_RESIDENCY counter */ 25 int intel_pmc_slp_s0_counter_read(u32 *data); 26 27 #endif /* _ASM_PMC_CORE_H */ 28