x86: local.h fix checkpatch warnings
[linux-2.6/openmoko-kernel/knife-kernel.git] / include / asm-cris / arch-v32 / arbiter.h
blob081a911d7af179dba91e367b548636f767b5e788
1 #ifndef _ASM_CRIS_ARCH_ARBITER_H
2 #define _ASM_CRIS_ARCH_ARBITER_H
4 #define EXT_REGION 0
5 #define INT_REGION 1
7 typedef void (watch_callback)(void);
9 enum
11 arbiter_all_dmas = 0x3ff,
12 arbiter_cpu = 0xc00,
13 arbiter_all_clients = 0x3fff
16 enum
18 arbiter_all_read = 0x55,
19 arbiter_all_write = 0xaa,
20 arbiter_all_accesses = 0xff
23 int crisv32_arbiter_allocate_bandwidth(int client, int region,
24 unsigned long bandwidth);
25 int crisv32_arbiter_watch(unsigned long start, unsigned long size,
26 unsigned long clients, unsigned long accesses,
27 watch_callback* cb);
28 int crisv32_arbiter_unwatch(int id);
30 #endif