Searched refs:header_type (Results 1 – 2 of 2) sorted by relevance
/DragonOS-0.1.8/kernel/src/driver/pci/ |
D | pci.c | 310 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 …]
|
D | pci.rs | 274 fn header_type(&self) -> HeaderType; in header_type() method 391 …pub header_type: u8, // 标头类型 a value of 0x0 specifies a general device, a value of 0x1 specifies a… field 423 fn header_type(&self) -> HeaderType { in header_type() method 506 fn header_type(&self) -> HeaderType { in header_type() method 563 fn header_type(&self) -> HeaderType { in header_type() method 759 let header_type = (result >> 16) as u8; in pci_read_header() localVariable 776 header_type, in pci_read_header() 779 match HeaderType::from(header_type & 0x7f) { in pci_read_header() 1023 if common_header.header_type & 0x80 != 0 { in pci_check_all_buses() 1077 if common_header.header_type & 0x80 != 0 { in pci_check_device() [all …]
|