Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
tree_32.c File Reference
#include <linux/string.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/ctype.h>
#include <linux/module.h>
#include <asm/openprom.h>
#include <asm/oplib.h>

Go to the source code of this file.

Functions

void restore_current (void)
 
phandle prom_getchild (phandle node)
 
 EXPORT_SYMBOL (prom_getchild)
 
phandle prom_getsibling (phandle node)
 
 EXPORT_SYMBOL (prom_getsibling)
 
int prom_getproplen (phandle node, const char *prop)
 
 EXPORT_SYMBOL (prom_getproplen)
 
int prom_getproperty (phandle node, const char *prop, char *buffer, int bufsize)
 
 EXPORT_SYMBOL (prom_getproperty)
 
int prom_getint (phandle node, char *prop)
 
 EXPORT_SYMBOL (prom_getint)
 
int prom_getintdefault (phandle node, char *property, int deflt)
 
 EXPORT_SYMBOL (prom_getintdefault)
 
int prom_getbool (phandle node, char *prop)
 
 EXPORT_SYMBOL (prom_getbool)
 
void prom_getstring (phandle node, char *prop, char *user_buf, int ubuf_size)
 
 EXPORT_SYMBOL (prom_getstring)
 
phandle prom_searchsiblings (phandle node_start, char *nodename)
 
 EXPORT_SYMBOL (prom_searchsiblings)
 
charprom_nextprop (phandle node, char *oprop, char *buffer)
 
 EXPORT_SYMBOL (prom_nextprop)
 
phandle prom_finddevice (char *name)
 
 EXPORT_SYMBOL (prom_finddevice)
 
int prom_setprop (phandle node, const char *pname, char *value, int size)
 
 EXPORT_SYMBOL (prom_setprop)
 
phandle prom_inst2pkg (int inst)
 

Function Documentation

EXPORT_SYMBOL ( prom_getchild  )
EXPORT_SYMBOL ( prom_getsibling  )
EXPORT_SYMBOL ( prom_getproplen  )
EXPORT_SYMBOL ( prom_getproperty  )
EXPORT_SYMBOL ( prom_getint  )
EXPORT_SYMBOL ( prom_getintdefault  )
EXPORT_SYMBOL ( prom_getbool  )
EXPORT_SYMBOL ( prom_getstring  )
EXPORT_SYMBOL ( prom_searchsiblings  )
EXPORT_SYMBOL ( prom_nextprop  )
EXPORT_SYMBOL ( prom_finddevice  )
EXPORT_SYMBOL ( prom_setprop  )
phandle prom_finddevice ( char name)

Definition at line 229 of file tree_32.c.

int prom_getbool ( phandle  node,
char prop 
)

Definition at line 155 of file tree_32.c.

phandle prom_getchild ( phandle  node)

Definition at line 39 of file tree_32.c.

int prom_getint ( phandle  node,
char prop 
)

Definition at line 129 of file tree_32.c.

int prom_getintdefault ( phandle  node,
char property,
int  deflt 
)

Definition at line 143 of file tree_32.c.

int prom_getproperty ( phandle  node,
const char prop,
char buffer,
int  bufsize 
)

Definition at line 109 of file tree_32.c.

int prom_getproplen ( phandle  node,
const char prop 
)

Definition at line 89 of file tree_32.c.

phandle prom_getsibling ( phandle  node)

Definition at line 71 of file tree_32.c.

void prom_getstring ( phandle  node,
char prop,
char user_buf,
int  ubuf_size 
)

Definition at line 169 of file tree_32.c.

phandle prom_inst2pkg ( int  inst)

Definition at line 297 of file tree_32.c.

char* prom_nextprop ( phandle  node,
char oprop,
char buffer 
)

Definition at line 220 of file tree_32.c.

phandle prom_searchsiblings ( phandle  node_start,
char nodename 
)

Definition at line 183 of file tree_32.c.

int prom_setprop ( phandle  node,
const char pname,
char value,
int  size 
)

Definition at line 280 of file tree_32.c.

void restore_current ( void  )