Searched refs:add_capability (Results 1 – 4 of 4) sorted by relevance
418 .add_capability(&common_cap) in add_settings_pci_capabilities()428 .add_capability(&isr_cap) in add_settings_pci_capabilities()439 .add_capability(&device_cap) in add_settings_pci_capabilities()450 .add_capability(¬ify_cap) in add_settings_pci_capabilities()456 .add_capability(&configuration_cap) in add_settings_pci_capabilities()468 .add_capability(&msix_cap) in add_settings_pci_capabilities()737 .add_capability(&*cap) in register_device_capabilities()
645 pub fn add_capability(&mut self, cap_data: &dyn PciCapability) -> Result<usize> { in add_capability() method790 fn add_capability() { in add_capability() function810 let cap1_offset = cfg.add_capability(&cap1).unwrap(); in add_capability()819 let cap2_offset = cfg.add_capability(&cap2).unwrap(); in add_capability()1322 cfg.add_capability(&cap1).unwrap(); in pci_configuration_capability_snapshot_restore()1405 cfg.add_capability(&cap1).unwrap(); in pci_configuration_capability_pci_bar_snapshot_restore()
101 .add_capability(&msi_cap) in new()277 .add_capability(&*cap) in register_device_capabilities()
650 def add_capability(self, capability): member in policy