Lines Matching refs:entry

117       LIBMTP_device_entry_t * entry = &entries[i];  in main()  local
122 printf("# %s %s\n", entry->vendor, entry->product); in main()
126 …printf("ATTR{idVendor}==\"%04x\", ATTR{idProduct}==\"%04x\", %s\n", entry->vendor_id, entry->produ… in main()
130 printf("# %s %s\n", entry->vendor, entry->product); in main()
131 … 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000\n", entry->vendor_id, entry->product_… in main()
134 printf(" <!-- %s %s -->\n", entry->vendor, entry->product); in main()
135 printf(" <match key=\"usb.vendor_id\" int=\"0x%04x\">\n", entry->vendor_id); in main()
136 printf(" <match key=\"usb.product_id\" int=\"0x%04x\">\n", entry->product_id); in main()
141 … printf(" <merge key=\"info.vendor\" type=\"string\">%s</merge>\n", entry->vendor); in main()
142 … printf(" <merge key=\"info.product\" type=\"string\">%s</merge>\n", entry->product); in main()
157 if (entry->vendor_id == 0x4102 || // iriver in main()
158 entry->vendor_id == 0x066f || // TrekStor in main()
159 entry->vendor_id == 0x1703) { // NormSoft, Inc. in main()
169 if (last_vendor != entry->vendor_id) { in main()
170 printf("%04x\n", entry->vendor_id); in main()
172 printf("\t%04x %s %s\n", entry->product_id, entry->vendor, entry->product); in main()
175 last_vendor = entry->vendor_id; in main()
188 LIBMTP_device_entry_t * entry = &entries[i]; in main() local
190 printf("# %s %s\n", entry->vendor, entry->product); in main()
191 …printf("ATTRS{idVendor}==\"%04x\", ATTRS{idProduct}==\"%04x\", %s\n", entry->vendor_id, entry->pro… in main()