Searched refs:enum_name (Results 1 – 2 of 2) sorted by relevance
1772 #define DECLARE_ENUM2STR_LOOKUP(routine, enum_name, enum_init) \ argument1774 enum enum_name value; \1776 } fc_##enum_name##_e2str_names[] = enum_init; \1777 static const char *routine(enum enum_name table_key) \1782 for (i = 0; i < ARRAY_SIZE(fc_##enum_name##_e2str_names); i++) {\1783 if (fc_##enum_name##_e2str_names[i].value == table_key) {\1784 name = fc_##enum_name##_e2str_names[i].name; \
162 def get_enum(self, enum_name): argument