Home
last modified time | relevance | path

Searched refs:reg_rom (Results 1 – 2 of 2) sorted by relevance

/openbsd/sys/dev/pci/
H A Dppb.c580 int reg, reg_start, reg_end, reg_rom; in ppb_alloc_resources() local
612 reg_rom = PCI_ROM_REG; in ppb_alloc_resources()
617 reg_rom = 0; /* 0x38 */ in ppb_alloc_resources()
624 reg_rom = 0; in ppb_alloc_resources()
646 if (reg_rom != 0) { in ppb_alloc_resources()
647 addr = pci_conf_read(pc, tag, reg_rom); in ppb_alloc_resources()
648 pci_conf_write(pc, tag, reg_rom, ~PCI_ROM_ENABLE); in ppb_alloc_resources()
649 mask = pci_conf_read(pc, tag, reg_rom); in ppb_alloc_resources()
650 pci_conf_write(pc, tag, reg_rom, addr); in ppb_alloc_resources()
H A Dpci.c896 int reg, reg_start, reg_end, reg_rom; in pci_reserve_resources() local
909 reg_rom = PCI_ROM_REG; in pci_reserve_resources()
914 reg_rom = 0; /* 0x38 */ in pci_reserve_resources()
919 reg_rom = 0; in pci_reserve_resources()
990 if (reg_rom != 0) { in pci_reserve_resources()