Lines Matching refs:pcictl
89 u_int32_t pcictl; in qla_pci_attach() local
135 pcictl = pci_conf_read(pa->pa_pc, pa->pa_tag, PCI_COMMAND_STATUS_REG); in qla_pci_attach()
136 pcictl |= PCI_COMMAND_INVALIDATE_ENABLE | in qla_pci_attach()
141 pci_conf_write(pa->pa_pc, pa->pa_tag, PCI_COMMAND_STATUS_REG, pcictl); in qla_pci_attach()
143 pcictl = pci_conf_read(pa->pa_pc, pa->pa_tag, PCI_BHLC_REG); in qla_pci_attach()
144 pcictl &= ~(PCI_LATTIMER_MASK << PCI_LATTIMER_SHIFT); in qla_pci_attach()
145 pcictl &= ~(PCI_CACHELINE_MASK << PCI_CACHELINE_SHIFT); in qla_pci_attach()
146 pcictl |= (0x80 << PCI_LATTIMER_SHIFT); in qla_pci_attach()
147 pcictl |= (0x10 << PCI_CACHELINE_SHIFT); in qla_pci_attach()
148 pci_conf_write(pa->pa_pc, pa->pa_tag, PCI_BHLC_REG, pcictl); in qla_pci_attach()
150 pcictl = pci_conf_read(pa->pa_pc, pa->pa_tag, PCI_ROM_REG); in qla_pci_attach()
151 pcictl &= ~1; in qla_pci_attach()
152 pci_conf_write(pa->pa_pc, pa->pa_tag, PCI_ROM_REG, pcictl); in qla_pci_attach()