Lines Matching refs:file
18 print ( "// WARNING: This file is generated. DO NOT EDIT.", file=helper_out );
19 print ( "// Look in include/pci/helper_gen.y instead.\n", file=helper_out );
20 print ( "#include <pci/helper.h>\n", file=helper_out );
23 print ( "char* libpci_vendorID_str(int vid) {", file=helper_out );
31 print ( " if (vid == %s) return \"%s\";" % (val, vendor), file=helper_out );
33 print ( " return \"Unknown vendor ID.\"; ", file=helper_out );
34 print ( "}\n", file=helper_out );
37 print ( "char* libpci_deviceID_str(int vid, int did) {", file=helper_out );
50 print ( " if (vid == %s && did == %s) return \"%s\";" % (vval, val, device), file=helper_out );
52 print ( " return \"Unknown device ID.\"; ", file=helper_out );
53 print ( "}\n", file=helper_out );