Lines Matching defs:vend
213 * \param vend Vendor node that is to be filled from the pci.ids file.
222 populate_vendor( struct pci_id_leaf * vend, int fill_device_data )
232 if (vend->num_devices != 0) {
277 if ( vend->vendor == vendor ) {
281 if (vend->vendor_name == NULL) {
282 vend->vendor_name = strdup( & buf[ num_tabs + 6 ] );
294 else if ( vendor == vend->vendor ) {
301 d = realloc( vend->devices, (vend->num_devices + 1)
307 last_dev = & d[ vend->num_devices - 1 ];
308 dev = & d[ vend->num_devices ];
309 vend->num_devices++;
310 vend->devices = d;
313 dev->id.vendor_id = vend->vendor;
352 struct pci_id_leaf * vend;
361 vend = insert( m->vendor_id );
362 if ( vend == NULL ) {
366 if ( vend->num_devices == 0 ) {
367 populate_vendor( vend, 1 );
371 for ( i = 0 ; i < vend->num_devices ; i++ ) {
372 struct pci_device_leaf * d = & vend->devices[ i ];
396 struct pci_id_leaf * vend;
404 vend = insert( m->vendor_id );
405 if ( vend == NULL ) {
409 if ( vend->vendor_name == NULL ) {
410 populate_vendor( vend, 0 );
414 return vend->vendor_name;