Home
last modified time | relevance | path

Searched refs:add_capability (Results 1 – 4 of 4) sorted by relevance

/external/crosvm/devices/src/virtio/
Dvirtio_pci_device.rs418 .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(&notify_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()
/external/crosvm/devices/src/pci/
Dpci_configuration.rs645 pub fn add_capability(&mut self, cap_data: &dyn PciCapability) -> Result<usize> { in add_capability() method
790 fn add_capability() { in add_capability() function
810 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()
/external/crosvm/devices/src/pci/pcie/
Dpci_bridge.rs101 .add_capability(&msi_cap) in new()
277 .add_capability(&*cap) in register_device_capabilities()
/external/selinux/python/sepolicy/sepolicy/
Dgenerate.py650 def add_capability(self, capability): member in policy