Lines Matching refs:common_header

117         let common_header = (*box_pci_device_structure).common_header();  in get_pci_device_structure_mut()  localVariable
118 if (common_header.class_code == class_code) && (common_header.subclass == subclass) { in get_pci_device_structure_mut()
136 let common_header = (*box_pci_device_structure).common_header(); in get_pci_device_structure() localVariable
137 if (common_header.class_code == class_code) && (common_header.subclass == subclass) { in get_pci_device_structure()
292 fn common_header(&self) -> &PciDeviceStructureHeader; in common_header() method
316 let common_header = self.common_header(); in status_command() localVariable
317 let status = Status::from_bits_truncate(common_header.status); in status_command()
318 let command = Command::from_bits_truncate(common_header.command); in status_command()
323 let common_header = self.common_header_mut(); in set_command() localVariable
325 common_header.command = command; in set_command()
327 &common_header.bus_device_function, in set_command()
402 pub common_header: PciDeviceStructureHeader, field
435 fn common_header(&self) -> &PciDeviceStructureHeader { in common_header() method
436 &self.common_header in common_header()
440 &mut self.common_header in common_header_mut()
444 bus_device_function: self.common_header.bus_device_function, in capabilities()
449 let common_header = &self.common_header; in bar_ioremap() localVariable
450 match pci_bar_init(common_header.bus_device_function) { in bar_ioremap()
474 pub common_header: PciDeviceStructureHeader, field
518 fn common_header(&self) -> &PciDeviceStructureHeader { in common_header() method
519 &self.common_header in common_header()
523 &mut self.common_header in common_header_mut()
537 pub common_header: PciDeviceStructureHeader, field
577 fn common_header(&self) -> &PciDeviceStructureHeader { in common_header() method
578 &self.common_header in common_header()
582 &mut self.common_header in common_header_mut()
818 common_header: PciDeviceStructureHeader, in pci_read_general_device_header()
843 common_header, in pci_read_general_device_header()
868 common_header: PciDeviceStructureHeader, in pci_read_pci_to_pci_bridge_header()
913 common_header, in pci_read_pci_to_pci_bridge_header()
949 common_header: PciDeviceStructureHeader, in pci_read_pci_to_cardbus_bridge_header()
985 common_header, in pci_read_pci_to_cardbus_bridge_header()
1021 let common_header = header.common_header(); in pci_check_all_buses() localVariable
1023 if common_header.header_type & 0x80 != 0 { in pci_check_all_buses()
1043 let common_header = header.common_header(); in pci_check_function() localVariable
1044 if (common_header.class_code == 0x06) in pci_check_function()
1045 && (common_header.subclass == 0x04 || common_header.subclass == 0x09) in pci_check_function()
1076 let common_header = header.common_header(); in pci_check_device() localVariable
1077 if common_header.header_type & 0x80 != 0 { in pci_check_device()
1135 let common_header = box_pci_device.common_header(); in pci_init() localVariable
1137 HeaderType::Standard if common_header.status & 0x10 != 0 => { in pci_init()
1138common_header.class_code, common_header.subclass, common_header.status, box_pci_device.as_standard… in pci_init()
1143 common_header.class_code, in pci_init()
1144 common_header.subclass, in pci_init()
1145 common_header.status in pci_init()
1148 HeaderType::PciPciBridge if common_header.status & 0x10 != 0 => { in pci_init()
1149 …subclass={} status={:#x} cap_pointer={:#x}", common_header.class_code, common_header.subclass, com… in pci_init()
1154 common_header.class_code, in pci_init()
1155 common_header.subclass, in pci_init()
1156 common_header.status in pci_init()
1162 common_header.class_code, in pci_init()
1163 common_header.subclass, in pci_init()
1164 common_header.status in pci_init()