Lines Matching refs:filp
259 def print(self, filp, sort='address'): argument
289 print('/* Automatically generated by amd/registers/makeregheader.py */\n', file=filp)
290 print(file=filp)
291 print(COPYRIGHT.strip(), file=filp)
292 print(file=filp)
295 print('#ifndef {self.guard}'.format(**locals()), file=filp)
296 print('#define {self.guard}\n'.format(**locals()), file=filp)
306 print('#define {define_name} 0x{address}{comment}'.format(**locals()), file=filp)
325 .format(**locals()), file=filp)
327 .format(**locals()), file=filp)
332 .format(**locals()), file=filp)
349 .format(**locals()), file=filp)
352 print('\n#endif // {self.guard}'.format(**locals()), file=filp)
368 with open(filename, 'r') as filp:
369 db = RegisterDatabase.from_json(json.load(filp))