Home
last modified time | relevance | path

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

/external/crosvm/devices/src/pci/
Dac97.rs372 let bar0 = self.config_regs.get_bar_addr(0); in read_bar()
373 let bar1 = self.config_regs.get_bar_addr(1); in read_bar()
384 let bar0 = self.config_regs.get_bar_addr(0); in write_bar()
385 let bar1 = self.config_regs.get_bar_addr(1); in write_bar()
Dpci_configuration.rs511 config.addr = self.get_bar_addr(bar_num); in get_bar_configuration()
524 pub fn get_bar_addr(&self, bar_num: usize) -> u64 { in get_bar_addr() method
794 assert_eq!(cfg.get_bar_addr(0), 0); in query_unused_bar()
829 assert_eq!(cfg.get_bar_addr(0), 0x01234567_89ABCDE0); in add_pci_bar_mem_64bit()
876 assert_eq!(cfg.get_bar_addr(0), 0x12345670); in add_pci_bar_mem_32bit()
919 assert_eq!(cfg.get_bar_addr(0), 0x1230); in add_pci_bar_io()
/external/crosvm/devices/src/usb/xhci/
Dxhci_controller.rs261 let bar0 = self.config_regs.get_bar_addr(0); in read_bar()
277 let bar0 = self.config_regs.get_bar_addr(0); in write_bar()
/external/crosvm/devices/src/virtio/
Dvirtio_pci_device.rs529 let bar0 = self.config_regs.get_bar_addr(self.settings_bar as usize); in ioevents()
572 let bar0 = self.config_regs.get_bar_addr(self.settings_bar as usize); in read_bar()
620 let bar0 = self.config_regs.get_bar_addr(self.settings_bar as usize); in write_bar()