Home
last modified time | relevance | path

Searched refs:enum_name (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/tools/net/ynl/
Dynl-gen-c.py64 self.enum_name = None
69 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 = None
678 self.enum_name = 'enum ' + self.render_name
765 self.enum_name = None
772 self.enum_name = self.family.op_prefix + c_upper(self.name)
[all …]
/linux-6.6.21/drivers/scsi/lpfc/
Dlpfc.h1761 #define DECLARE_ENUM2STR_LOOKUP(routine, enum_name, enum_init) \ argument
1763 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; \
/linux-6.6.21/tools/testing/selftests/bpf/
Dtest_bpftool_synctypes.py162 def get_enum(self, enum_name): argument