Searched refs:device_bar (Results 1 – 2 of 2) sorted by relevance
514 device_bar: &PciStandardDeviceBar, in get_bar_region()517 let bar_info = device_bar.get_bar(struct_info.bar)?; in get_bar_region()548 device_bar: &PciStandardDeviceBar, in get_bar_region_slice()551 let ptr = get_bar_region::<T>(device_bar, struct_info)?; in get_bar_region_slice()
1348 let mut device_bar: PciStandardDeviceBar = PciStandardDeviceBar::default(); in pci_bar_init() localVariable1415 device_bar.bar0 = bar_info; in pci_bar_init()1418 device_bar.bar1 = bar_info; in pci_bar_init()1421 device_bar.bar2 = bar_info; in pci_bar_init()1424 device_bar.bar3 = bar_info; in pci_bar_init()1427 device_bar.bar4 = bar_info; in pci_bar_init()1430 device_bar.bar5 = bar_info; in pci_bar_init()1436 return Ok(device_bar); in pci_bar_init()