Lines Matching refs:tag

19 	pcitag_t tag;
24 tag = pci_make_tag(pba->pba_pc, pba->pba_bus, 9, 0);
25 pci_conf_write(pba->pba_pc, tag,
30 intreg = pci_conf_read(pba->pba_pc, tag, PCI_INTERRUPT_REG);
36 pci_conf_write(pba->pba_pc, tag, PCI_INTERRUPT_REG, intreg);
37 pci_conf_write(pba->pba_pc, tag, 0x10, 0x400 | PCI_MAPREG_TYPE_IO);
38 pci_conf_write(pba->pba_pc, tag, 0x14, 0x00800000);
43 tag = pci_make_tag(pba->pba_pc, pba->pba_bus, 12, 0);
44 pci_conf_write(pba->pba_pc, tag,
48 intreg = pci_conf_read(pba->pba_pc, tag, PCI_INTERRUPT_REG);
54 pci_conf_write(pba->pba_pc, tag, PCI_INTERRUPT_REG, intreg);
55 pci_conf_write(pba->pba_pc, tag, 0x10, 0x300 | PCI_MAPREG_TYPE_IO);
61 tag = pci_make_tag(pba->pba_pc, pba->pba_bus, 11, 0);
62 pci_conf_write(pba->pba_pc, tag,
67 pci_conf_write(pba->pba_pc, tag, 0x10, 0);
68 pci_conf_write(pba->pba_pc, tag, 0x48,
69 pci_conf_read(pba->pba_pc, tag, 0x48)|0xff);
71 regval = pci_conf_read(pba->pba_pc, tag, 0x40);
74 pci_conf_write(pba->pba_pc, tag, 0x40, regval);
76 regval = pci_conf_read(pba->pba_pc, tag, 0x80);
79 pci_conf_write(pba->pba_pc, tag, 0x80, regval);
85 tag = pci_make_tag(pba->pba_pc, pba->pba_bus, 11, 1);
86 pci_conf_write(pba->pba_pc, tag,
91 regval = pci_conf_read(pba->pba_pc, tag, PCI_CLASS_REG);
93 pci_conf_write(pba->pba_pc, tag, PCI_CLASS_REG, regval);
95 regval = pci_conf_read(pba->pba_pc, tag, 0x40);
97 pci_conf_write(pba->pba_pc, tag, 0x40, regval);
99 pci_conf_write(pba->pba_pc, tag, 0x10, 0x01f0 | PCI_MAPREG_TYPE_IO);
100 pci_conf_write(pba->pba_pc, tag, 0x14, 0x03f4 | PCI_MAPREG_TYPE_IO);
101 pci_conf_write(pba->pba_pc, tag, 0x18, 0x0170 | PCI_MAPREG_TYPE_IO);
102 pci_conf_write(pba->pba_pc, tag, 0x1c, 0x0374 | PCI_MAPREG_TYPE_IO);
103 pci_conf_write(pba->pba_pc, tag, 0x20, 0xe800 | PCI_MAPREG_TYPE_IO);
104 intreg = pci_conf_read(pba->pba_pc, tag, PCI_INTERRUPT_REG);
110 pci_conf_write(pba->pba_pc, tag, PCI_INTERRUPT_REG, intreg);
115 regval = pci_conf_read(pba->pba_pc, tag, 0x40);
117 pci_conf_write(pba->pba_pc, tag, 0x40, regval);