···11-/* SPDX-License-Identifier: GPL-2.0-or-later */22-/*33- * Copyright (C) 2014 Imagination Technologies44- * Author: Paul Burton <paul.burton@mips.com>55- */66-77-#ifndef __ASM_MIPS_MACH_MALTA_PM_H__88-#define __ASM_MIPS_MACH_MALTA_PM_H__99-1010-#include <asm/mips-boards/piix4.h>1111-1212-#ifdef CONFIG_MIPS_MALTA_PM1313-1414-/**1515- * mips_pm_suspend - enter a suspend state1616- * @state: the state to enter, one of PIIX4_FUNC3IO_PMCNTRL_SUS_TYP_*1717- *1818- * Enters a suspend state via the Malta's PIIX4. If the state to be entered1919- * is one which loses context (eg. SOFF) then this function will never2020- * return.2121- */2222-extern int mips_pm_suspend(unsigned state);2323-2424-#else /* !CONFIG_MIPS_MALTA_PM */2525-2626-static inline int mips_pm_suspend(unsigned state)2727-{2828- return -EINVAL;2929-}3030-3131-#endif /* !CONFIG_MIPS_MALTA_PM */3232-3333-#endif /* __ASM_MIPS_MACH_MALTA_PM_H__ */