Searched refs:add_capability (Results 1 – 3 of 3) sorted by relevance
254 .add_capability(&common_cap) in add_settings_pci_capabilities()264 .add_capability(&isr_cap) in add_settings_pci_capabilities()275 .add_capability(&device_cap) in add_settings_pci_capabilities()286 .add_capability(¬ify_cap) in add_settings_pci_capabilities()292 .add_capability(&configuration_cap) in add_settings_pci_capabilities()406 .add_capability(&*cap) in register_device_capabilities()
426 pub fn add_capability(&mut self, cap_data: &dyn PciCapability) -> Result<usize> { in add_capability() method542 fn add_capability() { in add_capability() function561 let cap1_offset = cfg.add_capability(&cap1).unwrap(); in add_capability()570 let cap2_offset = cfg.add_capability(&cap2).unwrap(); in add_capability()
649 def add_capability(self, capability): member in policy