Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
rpaphp_slot.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/sysfs.h>
#include <linux/pci.h>
#include <linux/string.h>
#include <linux/slab.h>
#include <asm/rtas.h>
#include "rpaphp.h"

Go to the source code of this file.

Functions

void dealloc_slot_struct (struct slot *slot)
 
struct slotalloc_slot_struct (struct device_node *dn, int drc_index, char *drc_name, int power_domain)
 
int rpaphp_deregister_slot (struct slot *slot)
 
 EXPORT_SYMBOL_GPL (rpaphp_deregister_slot)
 
int rpaphp_register_slot (struct slot *slot)
 

Function Documentation

struct slot* alloc_slot_struct ( struct device_node dn,
int  drc_index,
char drc_name,
int  power_domain 
)
read

Definition at line 50 of file rpaphp_slot.c.

void dealloc_slot_struct ( struct slot slot)

Definition at line 42 of file rpaphp_slot.c.

EXPORT_SYMBOL_GPL ( rpaphp_deregister_slot  )
int rpaphp_deregister_slot ( struct slot slot)

Definition at line 98 of file rpaphp_slot.c.

int rpaphp_register_slot ( struct slot slot)

Definition at line 117 of file rpaphp_slot.c.