~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

Linux Cross Reference
Linux/drivers/acpi/driver.h

Version: ~ [ 2.4.0 ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /*
  2  *  driver.h - ACPI driver
  3  *
  4  *  Copyright (C) 2000 Andrew Henroid
  5  *
  6  *  This program is free software; you can redistribute it and/or modify
  7  *  it under the terms of the GNU General Public License as published by
  8  *  the Free Software Foundation; either version 2 of the License, or
  9  *  (at your option) any later version.
 10  *
 11  *  This program is distributed in the hope that it will be useful,
 12  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 13  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 14  *  GNU General Public License for more details.
 15  *
 16  *  You should have received a copy of the GNU General Public License
 17  *  along with this program; if not, write to the Free Software
 18  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 19  */
 20 
 21 #ifndef __DRIVER_H
 22 #define __DRIVER_H
 23 
 24 #include <linux/tqueue.h>
 25 #include <linux/wait.h>
 26 #include <linux/pm.h>
 27 #include <linux/acpi.h>
 28 #include <asm/io.h>
 29 
 30 #define ACPI_MAX_THROTTLE 10
 31 #define ACPI_INVALID ~0UL
 32 #define ACPI_INFINITE ~0UL
 33 
 34 /*
 35  * cpu.c
 36  */
 37 int acpi_cpu_init(void);
 38 u32 acpi_read_pm_timer(void);
 39 
 40 extern unsigned long acpi_c2_exit_latency;
 41 extern unsigned long acpi_c3_exit_latency;
 42 extern unsigned long acpi_c2_enter_latency;
 43 extern unsigned long acpi_c3_enter_latency;
 44 
 45 /*
 46  * driver.c
 47  */
 48 int acpi_run(void (*callback)(void*), void *context);
 49 
 50 /*
 51  * ec.c
 52  */
 53 int acpi_ec_init(void);
 54 
 55 /*
 56  * power.c
 57  */
 58 int acpi_power_init(void);
 59 
 60 /*
 61  * sys.c
 62  */
 63 int acpi_sys_init(void);
 64 int acpi_enter_sx(acpi_sstate_t state);
 65 
 66 extern volatile acpi_sstate_t acpi_sleep_state;
 67 
 68 /*
 69  * table.c
 70  */
 71 extern FADT_DESCRIPTOR acpi_fadt;
 72 
 73 int acpi_find_and_load_tables(u64 rsdp);
 74 
 75 #endif /* __DRIVER_H */
 76 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.