brintos

brintos / linux-shallow public Read only

0
0
Text · 872 B · 8695889 Raw
39 lines · c
1/* SPDX-License-Identifier: MIT */2/*3 * Copyright(c) 2020, Intel Corporation. All rights reserved.4 */5 6#ifndef __INTEL_PXP_PM_H__7#define __INTEL_PXP_PM_H__8 9struct intel_pxp;10 11#ifdef CONFIG_DRM_I915_PXP12void intel_pxp_suspend_prepare(struct intel_pxp *pxp);13void intel_pxp_suspend(struct intel_pxp *pxp);14void intel_pxp_resume_complete(struct intel_pxp *pxp);15void intel_pxp_runtime_suspend(struct intel_pxp *pxp);16void intel_pxp_runtime_resume(struct intel_pxp *pxp);17#else18static inline void intel_pxp_suspend_prepare(struct intel_pxp *pxp)19{20}21 22static inline void intel_pxp_suspend(struct intel_pxp *pxp)23{24}25 26static inline void intel_pxp_resume_complete(struct intel_pxp *pxp)27{28}29 30static inline void intel_pxp_runtime_suspend(struct intel_pxp *pxp)31{32}33 34static inline void intel_pxp_runtime_resume(struct intel_pxp *pxp)35{36}37#endif38#endif /* __INTEL_PXP_PM_H__ */39