Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
core.c File Reference
#include <linux/export.h>
#include <linux/acpi.h>
#include <linux/pnp.h>
#include <linux/slab.h>
#include <linux/mod_devicetable.h>
#include <acpi/acpi_bus.h>
#include "../base.h"
#include "pnpacpi.h"

Go to the source code of this file.

Macros

#define TEST_HEX(c)
 
#define TEST_ALPHA(c)
 

Functions

 EXPORT_SYMBOL (pnpacpi_protocol)
 
 fs_initcall (pnpacpi_init)
 
 __setup ("pnpacpi=", pnpacpi_setup)
 

Variables

struct pnp_protocol pnpacpi_protocol
 

Macro Definition Documentation

#define TEST_ALPHA (   c)
Value:
if (!('@' <= (c) || (c) <= 'Z')) \
return 0

Definition at line 60 of file core.c.

#define TEST_HEX (   c)
Value:
if (!(('0' <= (c) && (c) <= '9') || ('A' <= (c) && (c) <= 'F'))) \
return 0

Definition at line 57 of file core.c.

Function Documentation

__setup ( )
EXPORT_SYMBOL ( pnpacpi_protocol  )
fs_initcall ( pnpacpi_init  )

Variable Documentation

struct pnp_protocol pnpacpi_protocol
Initial value:
= {
.name = "Plug and Play ACPI",
.get = pnpacpi_get_resources,
.set = pnpacpi_set_resources,
.disable = pnpacpi_disable_resources,
}

Definition at line 215 of file core.c.