Lines Matching defs:pba
176 struct pcibus_attach_args pba;
180 memset(&pba, 0, sizeof(pba));
181 pba.pba_busname = "pci";
182 pba.pba_iot = sc->sc_iot;
183 pba.pba_memt = sc->sc_memt;
184 pba.pba_dmat = sc->sc_dmat;
185 pba.pba_busex = sc->sc_busex;
186 pba.pba_ioex = sc->sc_ioex;
187 pba.pba_memex = sc->sc_memex;
188 pba.pba_pmemex = sc->sc_memex;
189 pba.pba_domain = pci_ndomains++;
190 pba.pba_bus = sc->sc_bus;
195 pba.pba_flags |= PCI_FLAGS_MSI_ENABLED;
198 tag = pci_make_tag(pba.pba_pc, sc->sc_bus, 0, 0);
199 id = pci_conf_read(pba.pba_pc, tag, PCI_SUBSYS_ID_REG);
202 pba.pba_flags |= PCI_FLAGS_MSI_ENABLED;
209 id = pci_conf_read(pba.pba_pc, tag, PCI_ID_REG);
210 class = pci_conf_read(pba.pba_pc, tag, PCI_CLASS_REG);
216 pba.pba_flags &= ~PCI_FLAGS_MSI_ENABLED;
226 tag = pci_make_tag(pba.pba_pc, sc->sc_bus, 24, 0);
227 if (pci_get_capability(pba.pba_pc, tag, PCI_CAP_HT, NULL, NULL))
228 pba.pba_flags &= ~PCI_FLAGS_MSI_ENABLED;
230 config_found(parent, &pba, acpipci_print);
247 struct pcibus_attach_args *pba = aux;
250 printf("%s at %s", pba->pba_busname, pnp);
251 printf(" bus %d", pba->pba_bus);