Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
cm_sbs.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/acpi.h>
#include <linux/types.h>
#include <linux/proc_fs.h>
#include <linux/seq_file.h>
#include <acpi/acpi_bus.h>
#include <acpi/acpi_drivers.h>

Go to the source code of this file.

Macros

#define PREFIX   "ACPI: "
 
#define ACPI_AC_CLASS   "ac_adapter"
 
#define ACPI_BATTERY_CLASS   "battery"
 
#define _COMPONENT   ACPI_SBS_COMPONENT
 

Functions

 ACPI_MODULE_NAME ("cm_sbs")
 
struct proc_dir_entryacpi_lock_ac_dir (void)
 
 EXPORT_SYMBOL (acpi_lock_ac_dir)
 
void acpi_unlock_ac_dir (struct proc_dir_entry *acpi_ac_dir_param)
 
 EXPORT_SYMBOL (acpi_unlock_ac_dir)
 
struct proc_dir_entryacpi_lock_battery_dir (void)
 
 EXPORT_SYMBOL (acpi_lock_battery_dir)
 
void acpi_unlock_battery_dir (struct proc_dir_entry *acpi_battery_dir_param)
 
 EXPORT_SYMBOL (acpi_unlock_battery_dir)
 

Macro Definition Documentation

#define _COMPONENT   ACPI_SBS_COMPONENT

Definition at line 36 of file cm_sbs.c.

#define ACPI_AC_CLASS   "ac_adapter"

Definition at line 34 of file cm_sbs.c.

#define ACPI_BATTERY_CLASS   "battery"

Definition at line 35 of file cm_sbs.c.

#define PREFIX   "ACPI: "

Definition at line 31 of file cm_sbs.c.

Function Documentation

struct proc_dir_entry* acpi_lock_ac_dir ( void  )
read

Definition at line 45 of file cm_sbs.c.

struct proc_dir_entry* acpi_lock_battery_dir ( void  )
read

Definition at line 74 of file cm_sbs.c.

ACPI_MODULE_NAME ( "cm_sbs"  )
void acpi_unlock_ac_dir ( struct proc_dir_entry acpi_ac_dir_param)

Definition at line 61 of file cm_sbs.c.

void acpi_unlock_battery_dir ( struct proc_dir_entry acpi_battery_dir_param)

Definition at line 92 of file cm_sbs.c.

EXPORT_SYMBOL ( acpi_lock_ac_dir  )
EXPORT_SYMBOL ( acpi_unlock_ac_dir  )
EXPORT_SYMBOL ( acpi_lock_battery_dir  )
EXPORT_SYMBOL ( acpi_unlock_battery_dir  )