Lines Matching defs:vendor
27 * Support routines used to determine the vendor or device names associated
28 * with a particular device or vendor.
101 * Node for sorting vendor IDs.
104 * \c pci_id_node::bits number of bits from the vendor ID. Starting from the
105 * root of the tree, a slice of the low-order bits of the vendor ID are
108 * At the leaf nodes (i.e., the node entered when all 16 bits of the vendor ID
128 uint16_t vendor;
141 * Root of the PCI vendor ID search tree.
146 * Get a pointer to the leaf node for a vendor ID.
148 * If the vendor ID does not exist in the tree, it is added.
151 insert( uint16_t vendor )
169 const unsigned idx = (vendor & (mask << bits)) >> bits;
197 leaf->vendor = vendor;
211 * Populate a vendor node with all the devices associated with that vendor
226 unsigned vendor = PCI_MATCH_ANY;
229 /* If the device tree for this vendor is already populated, don't do
276 vendor = (unsigned) strtoul( & buf[ num_tabs ], NULL, 16 );
277 if ( vend->vendor == vendor ) {
294 else if ( vendor == vend->vendor ) {
313 dev->id.vendor_id = vend->vendor;
387 * Find the vendor name of the specified device.
389 * Finds the actual vendor name of the specified device. If a subvendor ID
500 * Get the name associated with the device's primary vendor ID.