Searched refs:BAR0_OFFSET (Results 1 – 1 of 1) sorted by relevance
144 const BAR0_OFFSET: u8 = 0x10; constant1289 let bar_orig = PciArch::read_config(&bus_device_function, BAR0_OFFSET + 4 * bar_index); in pci_bar_init()1292 BAR0_OFFSET + 4 * bar_index, in pci_bar_init()1295 let size_mask = PciArch::read_config(&bus_device_function, BAR0_OFFSET + 4 * bar_index); in pci_bar_init()1301 PciArch::write_config(&bus_device_function, BAR0_OFFSET + 4 * bar_index, bar_orig); in pci_bar_init()1319 PciArch::read_config(&bus_device_function, BAR0_OFFSET + 4 * (bar_index + 1)); in pci_bar_init()