Home
last modified time | relevance | path

Searched refs:region_num (Results 1 – 5 of 5) sorted by relevance

/external/stressapptest/src/
Dos.cc257 int32 region_num = addr / regionsize_; in FindRegion() local
258 if (region_num >= regioncount_) { in FindRegion()
261 region_num, regioncount_); in FindRegion()
264 region_num = region_num % regioncount_; in FindRegion()
266 return region_num; in FindRegion()
/external/qemu/hw/
Dpci.h77 typedef void PCIMapIORegionFunc(PCIDevice *pci_dev, int region_num,
169 void pci_register_bar(PCIDevice *pci_dev, int region_num,
Dpci.c325 void pci_register_bar(PCIDevice *pci_dev, int region_num, in pci_register_bar() argument
332 if ((unsigned int)region_num >= PCI_NUM_REGIONS) in pci_register_bar()
341 r = &pci_dev->io_regions[region_num]; in pci_register_bar()
346 if (region_num == PCI_ROM_SLOT) { in pci_register_bar()
349 addr = 0x10 + region_num * 4; in pci_register_bar()
Dne2000.c779 static void ne2000_map(PCIDevice *pci_dev, int region_num, in ne2000_map() argument
/external/qemu-pc-bios/bochs/bios/
Drombios32.c754 static void pci_set_io_region_addr(PCIDevice *d, int region_num, uint32_t addr) in pci_set_io_region_addr() argument
759 if ( region_num == PCI_ROM_SLOT ) { in pci_set_io_region_addr()
762 ofs = 0x10 + region_num * 4; in pci_set_io_region_addr()
768 BX_INFO("region %d: 0x%08x\n", region_num, addr); in pci_set_io_region_addr()
772 if ( region_num == PCI_ROM_SLOT ) in pci_set_io_region_addr()