Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
prom_common.c File Reference
#include <linux/kernel.h>
#include <linux/export.h>
#include <linux/errno.h>
#include <linux/mutex.h>
#include <linux/slab.h>
#include <linux/of.h>
#include <linux/of_pdt.h>
#include <asm/prom.h>
#include <asm/oplib.h>
#include "prom.h"

Go to the source code of this file.


 EXPORT_SYMBOL (of_console_device)
 EXPORT_SYMBOL (of_console_path)
 EXPORT_SYMBOL (of_console_options)
int of_getintprop_default (struct device_node *np, const char *name, int def)
 EXPORT_SYMBOL (of_getintprop_default)
 DEFINE_MUTEX (of_set_property_mutex)
 EXPORT_SYMBOL (of_set_property_mutex)
int of_set_property (struct device_node *dp, const char *name, void *val, int len)
 EXPORT_SYMBOL (of_set_property)
int of_find_in_proplist (const char *list, const char *match, int len)
 EXPORT_SYMBOL (of_find_in_proplist)
void __init prom_build_devicetree (void)


struct device_nodeof_console_device
unsigned int prom_early_allocated __initdata

Function Documentation

DEFINE_MUTEX ( of_set_property_mutex  )
EXPORT_SYMBOL ( of_console_device  )
EXPORT_SYMBOL ( of_console_path  )
EXPORT_SYMBOL ( of_console_options  )
EXPORT_SYMBOL ( of_getintprop_default  )
EXPORT_SYMBOL ( of_set_property_mutex  )
EXPORT_SYMBOL ( of_set_property  )
EXPORT_SYMBOL ( of_find_in_proplist  )
int of_find_in_proplist ( const char list,
const char match,
int  len 

Definition at line 103 of file prom_common.c.

int of_getintprop_default ( struct device_node np,
const char name,
int  def 

Definition at line 38 of file prom_common.c.

int of_set_property ( struct device_node dp,
const char name,
void val,
int  len 

Definition at line 54 of file prom_common.c.

void __init prom_build_devicetree ( void  )

Definition at line 154 of file prom_common.c.

Variable Documentation

struct of_pdt_ops prom_sparc_ops __initdata
Initial value:
= {
.nextprop = prom_common_nextprop,
.getproplen = prom_getproplen,
.getproperty = prom_getproperty,
.getchild = prom_getchild,
.getsibling = prom_getsibling,

Definition at line 144 of file prom_common.c.

struct device_node* of_console_device

Definition at line 29 of file prom_common.c.

char* of_console_options

Definition at line 35 of file prom_common.c.

char* of_console_path

Definition at line 32 of file prom_common.c.