Searched refs:enum_set (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/tools/net/ynl/lib/ |
H A D | nlspec.py | 72 def __init__(self, enum_set, yaml, prev, value_start): argument 75 super().__init__(enum_set.family, yaml) 78 self.enum_set = enum_set 94 if self.enum_set['type'] == 'flags' or as_flags:
|
/openbmc/linux/tools/net/ynl/ |
H A D | ynl-gen-c.py | 652 def __init__(self, enum_set, yaml, prev, value_start): argument 653 super().__init__(enum_set, yaml, prev, value_start) 659 self.value_change = self.value_change or self.enum_set['type'] == 'flags' 668 self.c_name = c_upper(self.enum_set.value_pfx + self.name)
|