Lines Matching refs:attr_set
45 def __init__(self, family, attr_set, attr, value): argument
46 super().__init__(family, attr_set, attr, value)
49 self.attr_set = attr_set
297 def __init__(self, family, attr_set, attr, value): argument
298 super().__init__(family, attr_set, attr, value)
566 def __init__(self, family, attr_set, attr, value, base_type): argument
567 super().__init__(family, attr_set, attr, value)
689 self.attr_set = family.attr_sets[space_name]
714 self.attr_list.append((t, self.attr_set[t]),)
716 for t in self.attr_set:
717 self.attr_list.append((t, self.attr_set[t]),)
1077 for attr_set, struct in reversed(self.pure_nested_structs.items()):
1078 for _, spec in self.attr_sets[attr_set].items():
1088 if attr_set in struct.child_nests:
1151 def __init__(self, cw, family, ku_space, op, op_mode, attr_set=None): argument
1173 self.attr_set = attr_set
1174 if not self.attr_set:
1175 self.attr_set = op['attribute-set']
1181 self.type_name = c_lower(attr_set)
1182 if attr_set in family.consts:
1195 self.struct[op_dir] = Struct(family, self.attr_set, type_list=type_list)
1197 … self.struct['reply'] = Struct(family, self.attr_set, type_list=op['event']['attributes'])
1514 type_max = struct.attr_set.max_name
1965 attr.setter(ri, ri.attr_set, direction, deref=deref)
2145 for _, attr_set in family.attr_sets.items():
2146 if attr_set.subset_of:
2149 for _, attr in attr_set.items():
2463 for _, attr_set in family.attr_sets.items():
2464 if attr_set.subset_of:
2470 uapi_enum_start(family, cw, attr_set.yaml, 'enum-name')
2471 for _, attr in attr_set.items():
2479 cw.p(attr_set.cnt_name + ('' if max_by_define else ','))
2589 for _, attr_set in family.attr_sets.items():
2590 if attr_set.subset_of:
2592 for _, attr in attr_set.items():
2719 for attr_set, struct in sorted(parsed.pure_nested_structs.items()):
2748 for attr_set, struct in sorted(parsed.pure_nested_structs.items()):
2784 for attr_set, struct in parsed.pure_nested_structs.items():
2785 ri = RenderInfo(cw, parsed, args.mode, "", "", attr_set)
2855 for attr_set, struct in parsed.pure_nested_structs.items():
2856 ri = RenderInfo(cw, parsed, args.mode, "", "", attr_set)
2863 for attr_set, struct in parsed.pure_nested_structs.items():
2864 ri = RenderInfo(cw, parsed, args.mode, "", "", attr_set)