Skip to content
Snippets Groups Projects
Select Git revision
  • ac1f7c159996e98779d36c9ad0989e3b6ef540ab
  • master default protected
  • android-msm-bullhead-3.10-nougat_kgdb_less_changes
  • android-msm-bullhead-3.10-nougat_kgdb
  • android-msm-bullhead-3.10-nougat_klist
  • android-4.4
  • android-msm-vega-4.4-oreo-daydream
  • android-msm-wahoo-4.4-p-preview-5
  • android-msm-wahoo-4.4-pie
  • android-msm-marlin-3.18-p-preview-5
  • android-msm-marlin-3.18-pie
  • android-msm-wahoo-2018.07-oreo-m2
  • android-msm-wahoo-2018.07-oreo-m4
  • android-msm-wahoo-4.4-p-preview-4
  • android-msm-bullhead-3.10-oreo-m6
  • android-msm-angler-3.10-oreo-m6
  • android-msm-marlin-3.18-p-preview-4
  • android-msm-stargazer-3.18-oreo-wear-dr
  • android-msm-catshark-3.18-oreo-wear-dr
  • android-msm-wahoo-4.4-oreo-m2
  • android-msm-wahoo-4.4-oreo-m4
  • android-daydreamos-8.0.0_r0.5
  • android-8.1.0_r0.92
  • android-8.1.0_r0.91
  • android-daydreamos-8.0.0_r0.4
  • android-p-preview-5_r0.2
  • android-p-preview-5_r0.1
  • android-9.0.0_r0.5
  • android-9.0.0_r0.4
  • android-9.0.0_r0.2
  • android-9.0.0_r0.1
  • android-8.1.0_r0.81
  • android-8.1.0_r0.80
  • android-8.1.0_r0.78
  • android-8.1.0_r0.76
  • android-8.1.0_r0.75
  • android-8.1.0_r0.72
  • android-8.1.0_r0.70
  • android-p-preview-4_r0.2
  • android-p-preview-4_r0.1
  • android-wear-8.0.0_r0.30
41 results

acpi.h

Blame
  • acpi.h 17.38 KiB
    /*
     * acpi.h - ACPI Interface
     *
     * Copyright (C) 2001 Paul Diefenbaugh <paul.s.diefenbaugh@intel.com>
     *
     * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     *
     * This program is free software; you can redistribute it and/or modify
     * it under the terms of the GNU General Public License as published by
     * the Free Software Foundation; either version 2 of the License, or
     * (at your option) any later version.
     *
     * This program is distributed in the hope that it will be useful,
     * but WITHOUT ANY WARRANTY; without even the implied warranty of
     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     * GNU General Public License for more details.
     *
     * You should have received a copy of the GNU General Public License
     * along with this program; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     *
     * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     */
    
    #ifndef _LINUX_ACPI_H
    #define _LINUX_ACPI_H
    
    #include <linux/errno.h>
    #include <linux/ioport.h>	/* for struct resource */
    #include <linux/device.h>
    
    #ifdef	CONFIG_ACPI
    
    #ifndef _LINUX
    #define _LINUX
    #endif
    
    #include <linux/list.h>
    #include <linux/mod_devicetable.h>
    
    #include <acpi/acpi.h>
    #include <acpi/acpi_bus.h>
    #include <acpi/acpi_drivers.h>
    #include <acpi/acpi_numa.h>
    #include <asm/acpi.h>
    
    enum acpi_irq_model_id {
    	ACPI_IRQ_MODEL_PIC = 0,
    	ACPI_IRQ_MODEL_IOAPIC,
    	ACPI_IRQ_MODEL_IOSAPIC,
    	ACPI_IRQ_MODEL_PLATFORM,
    	ACPI_IRQ_MODEL_COUNT
    };
    
    extern enum acpi_irq_model_id	acpi_irq_model;
    
    enum acpi_interrupt_id {
    	ACPI_INTERRUPT_PMI	= 1,
    	ACPI_INTERRUPT_INIT,
    	ACPI_INTERRUPT_CPEI,
    	ACPI_INTERRUPT_COUNT
    };
    
    #define	ACPI_SPACE_MEM		0
    
    enum acpi_address_range_id {
    	ACPI_ADDRESS_RANGE_MEMORY = 1,
    	ACPI_ADDRESS_RANGE_RESERVED = 2,
    	ACPI_ADDRESS_RANGE_ACPI = 3,
    	ACPI_ADDRESS_RANGE_NVS	= 4,