#include <hwregs/reg_map.h>
#include <hwregs/reg_rdwr.h>
#include <hwregs/marb_defs.h>
#include <arbiter.h>
#include <hwregs/intr_vect.h>
#include <linux/interrupt.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 14 |
#define SDRAM_BANDWIDTH 100000000 /* Some kind of expected value */ |
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 |
| ) |
|