#include <hwregs/reg_map.h>
#include <hwregs/reg_rdwr.h>
#include <hwregs/marb_foo_defs.h>
#include <hwregs/marb_bar_defs.h>
#include <arbiter.h>
#include <hwregs/intr_vect.h>
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/signal.h>
#include <linux/errno.h>
#include <linux/spinlock.h>
#include <asm/io.h>
#include <asm/irq_regs.h>
Go to the source code of this file.
#define INTMEM_BANDWIDTH 400000000 |
#define NBR_OF_CLIENTS 15 |
#define SDRAM_BANDWIDTH 400000000 |
int crisv32_arbiter_allocate_bandwidth |
( |
int |
client, |
|
|
int |
region, |
|
|
unsigned long |
bandwidth |
|
) |
| |
void crisv32_arbiter_deallocate_bandwidth |
( |
int |
client, |
|
|
int |
region |
|
) |
| |
int crisv32_arbiter_unwatch |
( |
int |
id | ) |
|
DEFINE_SPINLOCK |
( |
arbiter_lock |
| ) |
|
Initial value:=
{
{
.nbr_regions = 2,
.nbr_clients = 15
},
{
.nbr_regions = 1,
.nbr_clients = 9
}
}
Definition at line 95 of file arbiter.c.