Home
last modified time | relevance | path

Searched refs:header_type (Results 1 – 2 of 2) sorted by relevance

/DragonOS-0.1.7/kernel/src/driver/pci/
Dpci.c310 int header_type; in pci_checkFunction() local
311 …struct pci_device_structure_header_t *header = pci_read_header(&header_type, bus, device, function… in pci_checkFunction()
313 if (header_type == -EINVAL) in pci_checkFunction()
330 int header_type; in pci_checkDevice() local
332 …struct pci_device_structure_header_t *header = pci_read_header(&header_type, bus, device, 0, false… in pci_checkDevice()
333 if (header_type == -EINVAL) in pci_checkDevice()
338 if (header_type == -ENXIO) in pci_checkDevice()
353 header_type = header->HeaderType; in pci_checkDevice()
354 if ((header_type & 0x80) != 0) in pci_checkDevice()
361 …tmp_header = (struct pci_device_structure_header_t *)pci_read_header(&header_type, bus, device, fu… in pci_checkDevice()
[all …]
Dpci.rs267 fn header_type(&self) -> HeaderType; in header_type() method
356 …pub header_type: u8, // 标头类型 a value of 0x0 specifies a general device, a value of 0x1 specifies a… field
383 fn header_type(&self) -> HeaderType { in header_type() method
446 fn header_type(&self) -> HeaderType { in header_type() method
491 fn header_type(&self) -> HeaderType { in header_type() method
669 let header_type = (result >> 16) as u8; in pci_read_header() localVariable
690 header_type, in pci_read_header()
693 match HeaderType::from(header_type & 0x7f) { in pci_read_header()
933 if common_header.header_type & 0x80 != 0 { in pci_check_all_buses()
987 if common_header.header_type & 0x80 != 0 { in pci_check_device()
[all …]