Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
core.c File Reference
#include <linux/pnp.h>
#include <linux/types.h>
#include <linux/list.h>
#include <linux/device.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/string.h>
#include <linux/slab.h>
#include <linux/errno.h>
#include <linux/dma-mapping.h>
#include "base.h"

Go to the source code of this file.

Functions

 LIST_HEAD (pnp_global)
 
 DEFINE_SPINLOCK (pnp_lock)
 
 EXPORT_SYMBOL (pnp_platform_devices)
 
voidpnp_alloc (long size)
 
int pnp_register_protocol (struct pnp_protocol *protocol)
 
void pnp_unregister_protocol (struct pnp_protocol *protocol)
 
void pnp_free_resource (struct pnp_resource *pnp_res)
 
void pnp_free_resources (struct pnp_dev *dev)
 
struct pnp_devpnp_alloc_dev (struct pnp_protocol *protocol, int id, const char *pnpid)
 
int __pnp_add_device (struct pnp_dev *dev)
 
int pnp_add_device (struct pnp_dev *dev)
 
void __pnp_remove_device (struct pnp_dev *dev)
 
 subsys_initcall (pnp_init)
 

Variables

int pnp_platform_devices
 
int pnp_debug
 

Function Documentation

int __pnp_add_device ( struct pnp_dev dev)

Definition at line 160 of file core.c.

void __pnp_remove_device ( struct pnp_dev dev)

Definition at line 204 of file core.c.

DEFINE_SPINLOCK ( pnp_lock  )
EXPORT_SYMBOL ( pnp_platform_devices  )
LIST_HEAD ( pnp_global  )
int pnp_add_device ( struct pnp_dev dev)

Definition at line 180 of file core.c.

void* pnp_alloc ( long  size)

Definition at line 32 of file core.c.

struct pnp_dev* pnp_alloc_dev ( struct pnp_protocol protocol,
int  id,
const char pnpid 
)
read

Definition at line 127 of file core.c.

void pnp_free_resource ( struct pnp_resource pnp_res)

Definition at line 102 of file core.c.

void pnp_free_resources ( struct pnp_dev dev)

Definition at line 108 of file core.c.

int pnp_register_protocol ( struct pnp_protocol protocol)

Definition at line 50 of file core.c.

void pnp_unregister_protocol ( struct pnp_protocol protocol)

Definition at line 81 of file core.c.

subsys_initcall ( pnp_init  )

Variable Documentation

int pnp_debug

Definition at line 220 of file core.c.

int pnp_platform_devices

Definition at line 29 of file core.c.