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

Go to the source code of this file.

Macros

#define EXT_REGION   0
 
#define INT_REGION   1
 

Typedefs

typedef voidwatch_callback )(void)
 

Enumerations

enum  { arbiter_all_dmas = 0x3ff, arbiter_cpu = 0xc00, arbiter_all_clients = 0x3fff }
 
enum  { arbiter_all_read = 0x55, arbiter_all_write = 0xaa, arbiter_all_accesses = 0xff }
 

Functions

int crisv32_arbiter_allocate_bandwidth (int client, int region, unsigned long bandwidth)
 
int crisv32_arbiter_watch (unsigned long start, unsigned long size, unsigned long clients, unsigned long accesses, watch_callback *cb)
 
int crisv32_arbiter_unwatch (int id)
 

Macro Definition Documentation

#define EXT_REGION   0

Definition at line 4 of file arbiter.h.

#define INT_REGION   1

Definition at line 5 of file arbiter.h.

Typedef Documentation

typedef void( watch_callback)(void)

Definition at line 7 of file arbiter.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
arbiter_all_dmas 
arbiter_cpu 
arbiter_all_clients 

Definition at line 9 of file arbiter.h.

anonymous enum
Enumerator:
arbiter_all_read 
arbiter_all_write 
arbiter_all_accesses 

Definition at line 15 of file arbiter.h.

Function Documentation

int crisv32_arbiter_allocate_bandwidth ( int  client,
int  region,
unsigned long  bandwidth 
)

Definition at line 285 of file arbiter.c.

int crisv32_arbiter_unwatch ( int  id)

Definition at line 468 of file arbiter.c.

int crisv32_arbiter_watch ( unsigned long  start,
unsigned long  size,
unsigned long  clients,
unsigned long  accesses,
watch_callback cb 
)

Definition at line 362 of file arbiter.c.