1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_CRIS_ARCH_ARBITER_H
3 #define _ASM_CRIS_ARCH_ARBITER_H
8 typedef void (watch_callback
)(void);
11 arbiter_all_dmas
= 0x3ff,
13 arbiter_all_clients
= 0x3fff
17 arbiter_all_read
= 0x55,
18 arbiter_all_write
= 0xaa,
19 arbiter_all_accesses
= 0xff
22 int crisv32_arbiter_allocate_bandwidth(int client
, int region
,
23 unsigned long bandwidth
);
24 int crisv32_arbiter_watch(unsigned long start
, unsigned long size
,
25 unsigned long clients
, unsigned long accesses
,
27 int crisv32_arbiter_unwatch(int id
);