Home
last modified time | relevance | path

Searched refs:regdb (Results 1 – 9 of 9) sorted by relevance

/external/mesa3d/src/amd/registers/
Dcanonicalize.py43 from regdb import RegisterDatabase, deduplicate_enums, deduplicate_register_types
47 def deduce_missing_register_types(regdb): argument
53 for regmap in regdb.register_mappings():
72 regdb = RegisterDatabase.from_json(json.load(filp))
75 for regmap in regdb.register_mappings():
79 deduplicate_enums(regdb)
80 deduplicate_register_types(regdb)
81 deduce_missing_register_types(regdb)
82 regdb.garbage_collect()
84 return regdb.encode_json_pretty()
Dmergedbs.py38 from regdb import RegisterDatabase, deduplicate_enums, deduplicate_register_types
41 regdb = RegisterDatabase()
44 regdb.update(RegisterDatabase.from_json(json.load(filp)))
46 deduplicate_enums(regdb)
47 deduplicate_register_types(regdb)
49 print(regdb.encode_json_pretty())
Dparseheader.py40 from regdb import Object, RegisterDatabase, deduplicate_enums, deduplicate_register_types
50 self.regdb = RegisterDatabase()
60 self.regdb.add_enum(self.__field.enum_ref, Object(
73 self.regdb.add_register_type(self.__regmap.name, Object(
77 self.regdb.add_register_mapping(self.__regmap)
83 regdb = RegisterDatabase()
167 if regdb.register_mappings_by_name(name):
190 deduplicate_enums(parser.regdb)
191 deduplicate_register_types(parser.regdb)
193 print(parser.regdb.encode_json_pretty())
Dmakeregheader.py39 from regdb import Object, RegisterDatabase, deduplicate_enums, deduplicate_register_types
117 def __init__(self, regdb, guard=None): argument
128 for regmap in regdb.register_mappings():
143 regtype = regdb.register_type(type_ref)
163 enum = regdb.enum(enum_ref)
208 for field in regdb.register_type(type_ref).fields:
366 regdb = None
370 if regdb is None:
371 regdb = db
373 regdb.update(db)
[all …]
Dregdb.py838 def deduplicate_enums(regdb): argument
843 for name, enum in regdb.enums():
848 regdb.merge_enums(bucket, bucket[0])
850 def deduplicate_register_types(regdb): argument
861 for name, regtype in regdb.register_types():
899 regdb.merge_register_types(regtypes, regtypes[0])
/external/mesa3d/src/amd/common/
Dsid_tables.py40 from regdb import Object, RegisterDatabase
248 def write(self, regdb, packets, file=sys.stdout): argument
287 for regmap in regdb.register_mappings():
303 regtype = regdb.register_type(regmap.type_ref)
308 enum = regdb.enum(dbfield.enum_ref)
347 regdb = None
352 if regdb is None:
353 regdb = db
355 regdb.update(db)
361 regdb.merge_chips(['gfx8', 'fiji', 'stoney'], 'gfx8')
[all …]
Dmeson.build62 depend_files : ['../registers/regdb.py']
Dgfx10_format_table.py40 from regdb import Object, RegisterDatabase
/external/mesa3d/src/amd/
DAndroid.common.mk86 $(MESA_TOP)/src/amd/registers/regdb.py