1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
2 /* Copyright (c) 2010-2014 Broadcom. All rights reserved. */
7 #define VCHIQ_MAGIC VCHIQ_MAKE_FOURCC('V', 'C', 'H', 'I')
8 /* The version of VCHIQ - change with any non-trivial change */
9 #define VCHIQ_VERSION 8
10 /* The minimum compatible version - update to match VCHIQ_VERSION with any
11 ** incompatible change */
12 #define VCHIQ_VERSION_MIN 3
14 /* The version that introduced the VCHIQ_IOC_LIB_VERSION ioctl */
15 #define VCHIQ_VERSION_LIB_VERSION 7
17 /* The version that introduced the VCHIQ_IOC_CLOSE_DELIVERED ioctl */
18 #define VCHIQ_VERSION_CLOSE_DELIVERED 7
20 /* The version that made it safe to use SYNCHRONOUS mode */
21 #define VCHIQ_VERSION_SYNCHRONOUS_MODE 8
23 #define VCHIQ_MAX_STATES 1
24 #define VCHIQ_MAX_SERVICES 4096
25 #define VCHIQ_MAX_SLOTS 128
26 #define VCHIQ_MAX_SLOTS_PER_SIDE 64
28 #define VCHIQ_NUM_CURRENT_BULKS 32
29 #define VCHIQ_NUM_SERVICE_BULKS 4
31 #ifndef VCHIQ_ENABLE_DEBUG
32 #define VCHIQ_ENABLE_DEBUG 1
35 #ifndef VCHIQ_ENABLE_STATS
36 #define VCHIQ_ENABLE_STATS 1
39 #endif /* VCHIQ_CFG_H */