Searched refs:enum_set (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.6/tools/net/ynl/lib/ |
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:
|
/Linux-v6.6/tools/net/ynl/ |
D | ynl-gen-c.py | 649 def __init__(self, enum_set, yaml, prev, value_start): argument 650 super().__init__(enum_set, yaml, prev, value_start) 656 self.value_change = self.value_change or self.enum_set['type'] == 'flags' 665 self.c_name = c_upper(self.enum_set.value_pfx + self.name)
|