Searched refs:enum_name (Results 1 – 3 of 3) sorted by relevance
64 self.enum_name = None69 enum_name = f"{self.attr['name-prefix']}{self.name}"71 enum_name = f"{self.attr_set.name_prefix}{self.name}"72 self.enum_name = c_upper(enum_name)279 if maybe_enum and self.family.consts[self.attr['enum']].enum_name:674 self.enum_name = 'enum ' + c_lower(yaml['enum-name'])676 self.enum_name = None678 self.enum_name = 'enum ' + self.render_name765 self.enum_name = None772 self.enum_name = self.family.op_prefix + c_upper(self.name)[all …]
1761 #define DECLARE_ENUM2STR_LOOKUP(routine, enum_name, enum_init) \ argument1763 enum enum_name value; \1765 } fc_##enum_name##_e2str_names[] = enum_init; \1766 static const char *routine(enum enum_name table_key) \1771 for (i = 0; i < ARRAY_SIZE(fc_##enum_name##_e2str_names); i++) {\1772 if (fc_##enum_name##_e2str_names[i].value == table_key) {\1773 name = fc_##enum_name##_e2str_names[i].name; \
162 def get_enum(self, enum_name): argument