Lines Matching defs:pcictl
103 u_int32_t pcictl;
148 pcictl = pci_conf_read(pa->pa_pc, pa->pa_tag, PCI_COMMAND_STATUS_REG);
149 pcictl |= PCI_COMMAND_INVALIDATE_ENABLE |
151 pci_conf_write(pa->pa_pc, pa->pa_tag, PCI_COMMAND_STATUS_REG, pcictl);
153 pcictl = pci_conf_read(pa->pa_pc, pa->pa_tag, PCI_BHLC_REG);
154 pcictl &= ~(PCI_LATTIMER_MASK << PCI_LATTIMER_SHIFT);
155 pcictl &= ~(PCI_CACHELINE_MASK << PCI_CACHELINE_SHIFT);
156 pcictl |= (0x80 << PCI_LATTIMER_SHIFT);
157 pcictl |= (0x10 << PCI_CACHELINE_SHIFT);
158 pci_conf_write(pa->pa_pc, pa->pa_tag, PCI_BHLC_REG, pcictl);
160 pcictl = pci_conf_read(pa->pa_pc, pa->pa_tag, PCI_ROM_REG);
161 pcictl &= ~1;
162 pci_conf_write(pa->pa_pc, pa->pa_tag, PCI_ROM_REG, pcictl);