Home
last modified time | relevance | path

Searched refs:vendor_id (Results 1 – 3 of 3) sorted by relevance

/DragonOS-0.1.8/kernel/src/driver/virtio/
Dtransport_pci.rs102 if header.vendor_id != VIRTIO_VENDOR_ID { in new()
103 return Err(VirtioPciError::InvalidVendorId(header.vendor_id)); in new()
412 Self::InvalidVendorId(vendor_id) => write!( in fmt()
415 vendor_id, VIRTIO_VENDOR_ID in fmt()
Dvirtio.rs96 if header.vendor_id == 0x1AF4 in get_virtio_net_device()
/DragonOS-0.1.8/kernel/src/driver/pci/
Dpci.rs381 pub vendor_id: u16, // 供应商ID 0xffff是一个无效值,在读取访问不存在的设备的配置空间寄存器时返回 field
743 let vendor_id = result as u16; in pci_read_header() localVariable
761 if vendor_id == 0xffff { in pci_read_header()
766 vendor_id, in pci_read_header()
1138 …device.as_standard_device().unwrap().capabilities_pointer,common_header.vendor_id, common_header.d… in pci_init()