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

Go to the source code of this file.

Functions

phandle __prom_getchild (phandle node)
 
phandle prom_getchild (phandle node)
 
 EXPORT_SYMBOL (prom_getchild)
 
phandle prom_getparent (phandle node)
 
phandle __prom_getsibling (phandle node)
 
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, const char *prop)
 
 EXPORT_SYMBOL (prom_getint)
 
int prom_getintdefault (phandle node, const char *property, int deflt)
 
 EXPORT_SYMBOL (prom_getintdefault)
 
int prom_getbool (phandle node, const char *prop)
 
 EXPORT_SYMBOL (prom_getbool)
 
void prom_getstring (phandle node, const char *prop, char *user_buf, int ubuf_size)
 
 EXPORT_SYMBOL (prom_getstring)
 
int prom_nodematch (phandle node, const char *name)
 
phandle prom_searchsiblings (phandle node_start, const char *nodename)
 
 EXPORT_SYMBOL (prom_searchsiblings)
 
charprom_firstprop (phandle node, char *buffer)
 
 EXPORT_SYMBOL (prom_firstprop)
 
charprom_nextprop (phandle node, const char *oprop, char *buffer)
 
 EXPORT_SYMBOL (prom_nextprop)
 
phandle prom_finddevice (const char *name)
 
 EXPORT_SYMBOL (prom_finddevice)
 
int prom_node_has_property (phandle node, const char *prop)
 
 EXPORT_SYMBOL (prom_node_has_property)
 
int prom_setprop (phandle node, const char *pname, char *value, int size)
 
 EXPORT_SYMBOL (prom_setprop)
 
phandle prom_inst2pkg (int inst)
 
int prom_ihandle2path (int handle, char *buffer, int bufsize)
 

Function Documentation

phandle __prom_getchild ( phandle  node)
inline

Definition at line 37 of file tree_64.c.

phandle __prom_getsibling ( phandle  node)
inline

Definition at line 70 of file tree_64.c.

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_firstprop  )
EXPORT_SYMBOL ( prom_nextprop  )
EXPORT_SYMBOL ( prom_finddevice  )
EXPORT_SYMBOL ( prom_node_has_property  )
EXPORT_SYMBOL ( prom_setprop  )
phandle prom_finddevice ( const char name)

Definition at line 292 of file tree_64.c.

char* prom_firstprop ( phandle  node,
char buffer 
)
inline

Definition at line 238 of file tree_64.c.

int prom_getbool ( phandle  node,
const char prop 
)

Definition at line 172 of file tree_64.c.

phandle prom_getchild ( phandle  node)
inline

Definition at line 42 of file tree_64.c.

int prom_getint ( phandle  node,
const char prop 
)
inline

Definition at line 144 of file tree_64.c.

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

Definition at line 159 of file tree_64.c.

phandle prom_getparent ( phandle  node)
inline

Definition at line 55 of file tree_64.c.

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

Definition at line 116 of file tree_64.c.

int prom_getproplen ( phandle  node,
const char prop 
)
inline

Definition at line 92 of file tree_64.c.

phandle prom_getsibling ( phandle  node)
inline

Definition at line 75 of file tree_64.c.

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

Definition at line 187 of file tree_64.c.

int prom_ihandle2path ( int  handle,
char buffer,
int  bufsize 
)

Definition at line 377 of file tree_64.c.

phandle prom_inst2pkg ( int  inst)
inline

Definition at line 358 of file tree_64.c.

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

Definition at line 264 of file tree_64.c.

int prom_node_has_property ( phandle  node,
const char prop 
)

Definition at line 310 of file tree_64.c.

int prom_nodematch ( phandle  node,
const char name 
)

Definition at line 202 of file tree_64.c.

phandle prom_searchsiblings ( phandle  node_start,
const char nodename 
)

Definition at line 214 of file tree_64.c.

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

Definition at line 328 of file tree_64.c.