Lines Matching defs:Vendor
41 Vendor, //
173 pub const fn from_id(vendor: Vendor, device: u32) -> Self {
205 /// This is more targeted than [`DeviceId::from_class`]: in addition to matching by [`Vendor`],
212 vendor: Vendor,
274 /// pci::DeviceId::from_id(pci::Vendor::REDHAT, bindings::PCI_ANY_ID as u32),
358 /// Returns the PCI vendor ID as [`Vendor`].
363 /// # use kernel::{device::Core, pci::{self, Vendor}, prelude::*};
365 /// // Get an instance of `Vendor`.
369 /// "Device: Vendor={}, Device=0x{:x}\n",
377 pub fn vendor_id(&self) -> Vendor {
380 Vendor::from_raw(vendor_id)