Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
of_device_common.c File Reference
#include <linux/string.h>
#include <linux/kernel.h>
#include <linux/of.h>
#include <linux/init.h>
#include <linux/export.h>
#include <linux/mod_devicetable.h>
#include <linux/errno.h>
#include <linux/irq.h>
#include <linux/of_device.h>
#include <linux/of_platform.h>
#include "of_device_common.h"

Go to the source code of this file.

Functions

unsigned int irq_of_parse_and_map (struct device_node *node, int index)
 
 EXPORT_SYMBOL (irq_of_parse_and_map)
 
int of_address_to_resource (struct device_node *node, int index, struct resource *r)
 
 EXPORT_SYMBOL_GPL (of_address_to_resource)
 
void __iomemof_iomap (struct device_node *node, int index)
 
 EXPORT_SYMBOL (of_iomap)
 
void of_propagate_archdata (struct platform_device *bus)
 
void of_bus_default_count_cells (struct device_node *dev, int *addrc, int *sizec)
 
int of_out_of_range (const u32 *addr, const u32 *base, const u32 *size, int na, int ns)
 
int of_bus_default_map (u32 *addr, const u32 *range, int na, int ns, int pna)
 
unsigned long of_bus_default_get_flags (const u32 *addr, unsigned long flags)
 
int of_bus_sbus_match (struct device_node *np)
 
void of_bus_sbus_count_cells (struct device_node *child, int *addrc, int *sizec)
 

Function Documentation

EXPORT_SYMBOL ( irq_of_parse_and_map  )
EXPORT_SYMBOL ( of_iomap  )
EXPORT_SYMBOL_GPL ( of_address_to_resource  )
unsigned int irq_of_parse_and_map ( struct device_node node,
int  index 
)

Definition at line 14 of file of_device_common.c.

int of_address_to_resource ( struct device_node node,
int  index,
struct resource r 
)

Definition at line 25 of file of_device_common.c.

void of_bus_default_count_cells ( struct device_node dev,
int addrc,
int sizec 
)

Definition at line 86 of file of_device_common.c.

unsigned long of_bus_default_get_flags ( const u32 addr,
unsigned long  flags 
)

Definition at line 137 of file of_device_common.c.

int of_bus_default_map ( u32 addr,
const u32 range,
int  na,
int  ns,
int  pna 
)

Definition at line 110 of file of_device_common.c.

void of_bus_sbus_count_cells ( struct device_node child,
int addrc,
int sizec 
)

Definition at line 171 of file of_device_common.c.

int of_bus_sbus_match ( struct device_node np)

Definition at line 148 of file of_device_common.c.

void __iomem* of_iomap ( struct device_node node,
int  index 
)

Definition at line 38 of file of_device_common.c.

int of_out_of_range ( const u32 addr,
const u32 base,
const u32 size,
int  na,
int  ns 
)

Definition at line 94 of file of_device_common.c.

void of_propagate_archdata ( struct platform_device bus)

Definition at line 55 of file of_device_common.c.