Home
last modified time | relevance | path

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

/Linux-v6.6/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-v6.6/drivers/scsi/lpfc/
Dlpfc.h1760 #define DECLARE_ENUM2STR_LOOKUP(routine, enum_name, enum_init) \ argument
1762 enum enum_name value; \
1764 } fc_##enum_name##_e2str_names[] = enum_init; \
1765 static const char *routine(enum enum_name table_key) \
1770 for (i = 0; i < ARRAY_SIZE(fc_##enum_name##_e2str_names); i++) {\
1771 if (fc_##enum_name##_e2str_names[i].value == table_key) {\
1772 name = fc_##enum_name##_e2str_names[i].name; \
/Linux-v6.6/tools/testing/selftests/bpf/
Dtest_bpftool_synctypes.py162 def get_enum(self, enum_name): argument