summaryrefslogtreecommitdiff
path: root/drivers/staging/nmf-cm/inc/nmf-limits.h
blob: 374795f91e04b97980e320c183695b9b5cd4b224 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
/*
 * Copyright (C) ST-Ericsson SA 2010
 * Author: Jean-Philippe FASSINO <jean-philippe.fassino@stericsson.com> for ST-Ericsson.
 * License terms:  GNU General Public License (GPL), version 2, with
 * user space exemption described in the top-level COPYING file in
 * the Linux kernel source tree.
 */
/*!
 * \brief Common Nomadik Multiprocessing Framework limits definition
 *
 * This file contains the limit definitions used into NMF.
 *
 * \warning Don't modify it since it is also hardcoded in tools
 *
 * \defgroup NMF_LIMITS NMF limits definition
 * \ingroup COMMON
 */
#ifndef __INC_NMF_LIMITS_H
#define __INC_NMF_LIMITS_H

/*!
 * \brief Maximum interface name length
 *
 * Define the maximum interface name length allowed by NMF.
 *
 * \ingroup NMF_LIMITS
 */
#define MAX_INTERFACE_NAME_LENGTH               32

/*!
 * \brief Maximum interface method name length
 *
 * Define the maximum interface method name length allowed by NMF.
 *
 * \ingroup NMF_LIMITS
 */
#define MAX_INTERFACE_METHOD_NAME_LENGTH        64

/*!
 * \brief Maximum interface type name length
 *
 * Define the maximum interface type name length allowed by NMF.
 *
 * \ingroup NMF_LIMITS
 */
#define MAX_INTERFACE_TYPE_NAME_LENGTH          128


/*!
 * \brief Maximum template name length
 *
 * Define the maximum template name length allowed by NMF.
 *
 * \ingroup NMF_LIMITS
 */
#define MAX_TEMPLATE_NAME_LENGTH                128

/*!
 * \brief Maximum component local name length
 *
 * Define the maximum component local name length inside a composite component allowed by NMF.
 *
 * \ingroup NMF_LIMITS
 */
#define MAX_COMPONENT_NAME_LENGTH               32

/*!
 * \brief Maximum property name length
 *
 * Define the maximum property name length allowed by NMF.
 *
 * \ingroup NMF_LIMITS
 */
#define MAX_PROPERTY_NAME_LENGTH                32

/*!
 * \brief Maximum property value length
 *
 * Define the maximum property value length allowed by NMF.
 *
 * \ingroup NMF_LIMITS
 */
#define MAX_PROPERTY_VALUE_LENGTH               128

/*!
 * \brief Maximum attribute name length
 *
 * Define the maximum attribute name length allowed by NMF.
 *
 * \ingroup NMF_LIMITS
 */
#define MAX_ATTRIBUTE_NAME_LENGTH               32

/*!
 * \brief Maximum fifo size allowed for binding component
 *
 * Define the maximum fifo size allowed for binding component allowed by NMF when calling
 * CM_BindComponentFromHost and CM_BindComponentAsynchronous.
 *
 * \ingroup NMF_LIMITS
 */
#define MAX_COMMUNICATION_FIFO_SIZE             256

#define MAX_COMPONENT_FILE_PATH_LENGTH          1024

#endif /* __INC_NMF_LIMITS_H */