1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2014-2021 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 module and submodule type to
75 * Module specific subtype
78 * Pointer to a char string holding the string for the EM type
80 const char *tf_module_subtype_2_str(enum tf_module_type module,
84 * Helper function converting module type to text string
90 * Pointer to a char string holding the string for the EM type
92 const char *tf_module_2_str(enum tf_module_type module);
94 #endif /* _TF_UTIL_H_ */