File Index
Files and directories
Sign in
FILE

intel-mid.h

File preview with syntax highlighting.

linux-6.19.14/arch/x86/include/asm/intel-mid.h C
 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
12extern int intel_mid_pci_init(void);
13extern int intel_mid_pci_set_power_state(struct pci_dev *pdev, pci_power_t state);
14extern pci_power_t intel_mid_pci_get_power_state(struct pci_dev *pdev);
15
16extern 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
21extern int intel_mid_pwr_get_lss_id(struct pci_dev *pdev);
22
23#endif /* _ASM_X86_INTEL_MID_H */
~/ Read-only file preview.