1 #ifndef _ASM_CRIS_ARCH_ARBITER_H
2 #define _ASM_CRIS_ARCH_ARBITER_H
7 typedef void (watch_callback
)(void);
10 arbiter_all_dmas
= 0x7fe,
12 arbiter_all_clients
= 0x7fff
16 arbiter_bar_all_clients
= 0x1ff
20 arbiter_all_read
= 0x55,
21 arbiter_all_write
= 0xaa,
22 arbiter_all_accesses
= 0xff
25 #define MARB_CLIENTS(foo_cli, bar_cli) (((bar_cli) << 16) | (foo_cli))
27 int crisv32_arbiter_allocate_bandwidth(int client
, int region
,
28 unsigned long bandwidth
);
29 int crisv32_arbiter_watch(unsigned long start
, unsigned long size
,
30 unsigned long clients
, unsigned long accesses
,
32 int crisv32_arbiter_unwatch(int id
);