xref: /openbmc/linux/arch/x86/include/asm/intel-mid.h (revision ad4455c6)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * Intel MID specific setup code
4  *
5  * (C) Copyright 2009, 2021 Intel Corporation
6  */
7 #ifndef _ASM_X86_INTEL_MID_H
8 #define _ASM_X86_INTEL_MID_H
9 
10 #include <linux/pci.h>
11 
12 extern int intel_mid_pci_init(void);
13 extern int intel_mid_pci_set_power_state(struct pci_dev *pdev, pci_power_t state);
14 extern pci_power_t intel_mid_pci_get_power_state(struct pci_dev *pdev);
15 
16 extern void intel_mid_pwr_power_off(void);
17 
18 #define INTEL_MID_PWR_LSS_OFFSET	4
19 #define INTEL_MID_PWR_LSS_TYPE		(1 << 7)
20 
21 extern int intel_mid_pwr_get_lss_id(struct pci_dev *pdev);
22 
23 #endif /* _ASM_X86_INTEL_MID_H */
24