1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2014-2019 Broadcom
10 #include "tf_device.h"
13 * Helper function converting direction to text string
16 * Receive or transmit direction identifier
19 * Pointer to a char string holding the string for the direction
21 const char *tf_dir_2_str(enum tf_dir dir);
24 * Helper function converting identifier to text string
30 * Pointer to a char string holding the string for the identifier
32 const char *tf_ident_2_str(enum tf_identifier_type id_type);
35 * Helper function converting tcam type to text string
41 * Pointer to a char string holding the string for the tcam
43 const char *tf_tcam_tbl_2_str(enum tf_tcam_tbl_type tcam_type);
46 * Helper function converting tbl type to text string
52 * Pointer to a char string holding the string for the table type
54 const char *tf_tbl_type_2_str(enum tf_tbl_type tbl_type);
57 * Helper function converting em tbl type to text string
63 * Pointer to a char string holding the string for the EM type
65 const char *tf_em_tbl_type_2_str(enum tf_em_tbl_type em_type);
68 * Helper function converting device module type and module type to
75 * Module specific type
78 * Pointer to a char string holding the string for the EM type
80 const char *tf_device_module_type_subtype_2_str
81 (enum tf_device_module_type dm_type,
85 * Helper function converting device module type to text string
91 * Module specific type
94 * Pointer to a char string holding the string for the EM type
96 const char *tf_device_module_type_2_str(enum tf_device_module_type dm_type);
98 #endif /* _TF_UTIL_H_ */