Searched refs:common_header (Results 1 – 4 of 4) sorted by relevance
116 let common_header = (*box_pci_device_structure).common_header(); in get_pci_device_structure_mut() localVariable117 if (common_header.class_code == class_code) && (common_header.subclass == subclass) { in get_pci_device_structure_mut()135 let common_header = (*box_pci_device_structure).common_header(); in get_pci_device_structure() localVariable136 if (common_header.class_code == class_code) && (common_header.subclass == subclass) { in get_pci_device_structure()282 fn common_header(&self) -> &PciDeviceStructureHeader; in common_header() method303 let common_header = self.common_header(); in status_command() localVariable304 let status = Status::from_bits_truncate(common_header.status); in status_command()305 let command = Command::from_bits_truncate(common_header.command); in status_command()310 let common_header = self.common_header_mut(); in set_command() localVariable312 common_header.command = command; in set_command()[all …]
232 …struct pci_device_structure_header_t *common_header = (struct pci_device_structure_header_t *)kmal… in pci_read_header() local233 common_header->bus = bus; in pci_read_header()234 common_header->device = slot; in pci_read_header()235 common_header->func = func; in pci_read_header()240 common_header->Vendor_ID = tmp32 & 0xffff; in pci_read_header()241 common_header->Device_ID = (tmp32 >> 16) & 0xffff; in pci_read_header()244 common_header->Command = tmp32 & 0xffff; in pci_read_header()245 common_header->Status = (tmp32 >> 16) & 0xffff; in pci_read_header()248 common_header->RevisionID = tmp32 & 0xff; in pci_read_header()249 common_header->ProgIF = (tmp32 >> 8) & 0xff; in pci_read_header()[all …]
95 let header = &standard_device.common_header; in get_virtio_net_device()
100 let header = &device.common_header; in new()