Searched refs:enum_name (Results 1 – 1 of 1) sorted by relevance
1770 #define DECLARE_ENUM2STR_LOOKUP(routine, enum_name, enum_init) \ argument1772 enum enum_name value; \1774 } fc_##enum_name##_e2str_names[] = enum_init; \1775 static const char *routine(enum enum_name table_key) \1780 for (i = 0; i < ARRAY_SIZE(fc_##enum_name##_e2str_names); i++) {\1781 if (fc_##enum_name##_e2str_names[i].value == table_key) {\1782 name = fc_##enum_name##_e2str_names[i].name; \