Lines Matching defs:pcictl
343 u_int32_t pcictl;
392 pcictl = pci_conf_read(pa->pa_pc, pa->pa_tag, PCI_COMMAND_STATUS_REG);
393 pcictl |= PCI_COMMAND_INVALIDATE_ENABLE |
395 pci_conf_write(pa->pa_pc, pa->pa_tag, PCI_COMMAND_STATUS_REG, pcictl);
397 pcictl = pci_conf_read(pa->pa_pc, pa->pa_tag, PCI_BHLC_REG);
398 pcictl &= ~(PCI_LATTIMER_MASK << PCI_LATTIMER_SHIFT);
399 pcictl &= ~(PCI_CACHELINE_MASK << PCI_CACHELINE_SHIFT);
400 pcictl |= (0x80 << PCI_LATTIMER_SHIFT);
401 pcictl |= (0x10 << PCI_CACHELINE_SHIFT);
402 pci_conf_write(pa->pa_pc, pa->pa_tag, PCI_BHLC_REG, pcictl);
404 pcictl = pci_conf_read(pa->pa_pc, pa->pa_tag, PCI_ROM_REG);
405 pcictl &= ~1;
406 pci_conf_write(pa->pa_pc, pa->pa_tag, PCI_ROM_REG, pcictl);