Files
linux/rust/kernel
John Hubbard 5e20962a9f rust: pci: provide access to PCI Vendor values
This allows callers to write Vendor::SOME_COMPANY instead of
bindings::PCI_VENDOR_ID_SOME_COMPANY.

New APIs:
    Vendor::SOME_COMPANY
    Vendor::from_raw() -- Only accessible from the pci (parent) module.
    Vendor::as_raw()
    Vendor: fmt::Display for Vendor

Cc: Danilo Krummrich <dakr@kernel.org>
Cc: Elle Rhumsaa <elle@weathered-steel.dev>
Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: John Hubbard <jhubbard@nvidia.com>
Link: https://lore.kernel.org/r/20250829223632.144030-3-jhubbard@nvidia.com
[ Minor doc-comment improvements, align Debug and Display. - Danilo ]
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
2025-09-01 20:05:22 +02:00
..
2025-06-22 23:09:32 +02:00
2025-08-21 21:09:48 +02:00
2025-07-23 02:05:58 +02:00
2025-07-23 02:05:58 +02:00
2025-08-25 09:18:23 +02:00
2025-08-25 09:18:23 +02:00
2025-08-13 17:40:28 +02:00
2025-07-21 01:16:35 +02:00
2025-08-21 21:09:48 +02:00
2025-08-21 16:58:07 +02:00
2025-07-19 23:18:18 +02:00
2024-10-08 15:44:36 +02:00
2025-07-21 01:16:35 +02:00
2025-08-21 16:58:07 +02:00
2024-11-04 16:21:44 -05:00