Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
pm.c File Reference
#include <linux/suspend.h>
#include <linux/interrupt.h>
#include <linux/pm.h>
#include <linux/i8042.h>
#include <linux/module.h>
#include <asm/i8259.h>
#include <asm/mipsregs.h>
#include <asm/bootinfo.h>
#include <loongson.h>
#include <cs5536/cs5536_mfgpt.h>
#include "ec_kb3310b.h"

Go to the source code of this file.

Macros

#define I8042_KBD_IRQ   1
 
#define I8042_CTR_KBDINT   0x01
 
#define I8042_CTR_KBDDIS   0x10
 

Functions

void setup_wakeup_events (void)
 
 EXPORT_SYMBOL (yeeloong_report_lid_status)
 
int wakeup_loongson (void)
 
void __weak mach_suspend (void)
 
void __weak mach_resume (void)
 

Variables

sci_handler yeeloong_report_lid_status
 

Macro Definition Documentation

#define I8042_CTR_KBDDIS   0x10

Definition at line 30 of file pm.c.

#define I8042_CTR_KBDINT   0x01

Definition at line 29 of file pm.c.

#define I8042_KBD_IRQ   1

Definition at line 28 of file pm.c.

Function Documentation

EXPORT_SYMBOL ( yeeloong_report_lid_status  )
void __weak mach_resume ( void  )

Definition at line 146 of file pm.c.

void __weak mach_suspend ( void  )

Definition at line 141 of file pm.c.

void setup_wakeup_events ( void  )

Definition at line 56 of file pm.c.

int wakeup_loongson ( void  )

Definition at line 94 of file pm.c.

Variable Documentation

sci_handler yeeloong_report_lid_status

Definition at line 86 of file pm.c.