Home
last modified time | relevance | path

Searched refs:HeaderType (Results 1 – 4 of 4) sorted by relevance

/DragonOS-0.1.7/kernel/src/driver/pci/
Dpci.rs213 pub enum HeaderType { enum
224 impl From<u8> for HeaderType { implementation
267 fn header_type(&self) -> HeaderType; in header_type() argument
383 fn header_type(&self) -> HeaderType { in header_type() argument
384 HeaderType::Standard in header_type()
446 fn header_type(&self) -> HeaderType { in header_type() argument
447 HeaderType::PciPciBridge in header_type()
491 fn header_type(&self) -> HeaderType { in header_type() argument
492 HeaderType::PciCardbusBridge in header_type()
693 match HeaderType::from(header_type & 0x7f) { in pci_read_header()
[all …]
Dpci.c256 common_header->HeaderType = (tmp32 >> 16) & 0xff; in pci_read_header()
268 switch (common_header->HeaderType) in pci_read_header()
353 header_type = header->HeaderType; in pci_checkDevice()
400 header_type = header->HeaderType; in pci_checkAllBuses()
438 if (ptr->HeaderType == 0x0) in pci_init()
452 else if (ptr->HeaderType == 0x1) in pci_init()
464 else if (ptr->HeaderType == 0x2) in pci_init()
511 switch (pci_dev->HeaderType) in pci_enumerate_capability_list()
Dpci.h47 …uint8_t HeaderType; // 标头类型 a value of 0x0 specifies a general device, a value of 0x1 specifies… member
Dmsi.c237 switch (ptr->HeaderType) in pci_start_msi()
295 switch (ptr->HeaderType) in pci_disable_msi()