Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
acpi_pm.c File Reference
#include <linux/acpi_pmtmr.h>
#include <linux/clocksource.h>
#include <linux/timex.h>
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/pci.h>
#include <linux/delay.h>
#include <asm/io.h>
#include <asm/mach_timer.h>

Go to the source code of this file.

Macros

#define PMTMR_EXPECTED_RATE   ((CALIBRATE_LATCH * (PMTMR_TICKS_PER_SEC >> 10)) / (PIT_TICK_RATE>>10))
 
#define ACPI_PM_MONOTONICITY_CHECKS   10
 
#define ACPI_PM_READ_CHECKS   10000
 

Functions

u32 acpi_pm_read_verified (void)
 
 fs_initcall (init_acpi_pm_clocksource)
 
 __setup ("pmtmr=", parse_pmtmr)
 

Variables

u32 pmtmr_ioport __read_mostly
 

Macro Definition Documentation

#define ACPI_PM_MONOTONICITY_CHECKS   10

Definition at line 178 of file acpi_pm.c.

#define ACPI_PM_READ_CHECKS   10000

Definition at line 180 of file acpi_pm.c.

#define PMTMR_EXPECTED_RATE   ((CALIBRATE_LATCH * (PMTMR_TICKS_PER_SEC >> 10)) / (PIT_TICK_RATE>>10))

Definition at line 145 of file acpi_pm.c.

Function Documentation

__setup ( )
u32 acpi_pm_read_verified ( void  )

Definition at line 41 of file acpi_pm.c.

fs_initcall ( init_acpi_pm_clocksource  )

Variable Documentation

u32 pmtmr_ioport __read_mostly

Definition at line 33 of file acpi_pm.c.