Searched refs:BAR0_OFFSET (Results 1 – 1 of 1) sorted by relevance
145 const BAR0_OFFSET: u8 = 0x10; constant1382 let bar_orig = PciArch::read_config(&bus_device_function, BAR0_OFFSET + 4 * bar_index); in pci_bar_init()1385 BAR0_OFFSET + 4 * bar_index, in pci_bar_init()1388 let size_mask = PciArch::read_config(&bus_device_function, BAR0_OFFSET + 4 * bar_index); in pci_bar_init()1394 PciArch::write_config(&bus_device_function, BAR0_OFFSET + 4 * bar_index, bar_orig); in pci_bar_init()1412 PciArch::read_config(&bus_device_function, BAR0_OFFSET + 4 * (bar_index + 1)); in pci_bar_init()