Lines Matching refs:Vendor
42 Vendor, //
179 pub const fn from_id(vendor: Vendor, device: u32) -> Self {
211 /// This is more targeted than [`DeviceId::from_class`]: in addition to matching by [`Vendor`],
218 vendor: Vendor,
269 /// pci::DeviceId::from_id(pci::Vendor::REDHAT, bindings::PCI_ANY_ID as u32),
353 /// Returns the PCI vendor ID as [`Vendor`].
358 /// # use kernel::{device::Core, pci::{self, Vendor}, prelude::*};
360 /// // Get an instance of `Vendor`.
364 /// "Device: Vendor={}, Device=0x{:x}\n",
372 pub fn vendor_id(&self) -> Vendor {
375 Vendor::from_raw(vendor_id)