Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
of_device_common.h File Reference

Go to the source code of this file.

Data Structures

struct  of_bus
 

Macros

#define OF_MAX_ADDR_CELLS   4
 

Functions

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)
 

Macro Definition Documentation

#define OF_MAX_ADDR_CELLS   4

Definition at line 23 of file of_device_common.h.

Function Documentation

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.

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.