Lines Matching refs:pbi
191 genofw_setup_pciintr_map(void *v, struct genppc_pci_chipset_businfo *pbi,
227 prop_dictionary_set(pbi->pbi_properties, "ofw-pci-intrmap", dict);
255 aprint_debug("%s\n", prop_dictionary_externalize(pbi->pbi_properties));
268 prop_dictionary_set(pbi->pbi_properties, "ofw-pci-intrmap", dict);
342 aprint_debug("%s\n", prop_dictionary_externalize(pbi->pbi_properties));
374 struct genppc_pci_chipset_businfo *pbi;
388 pbi = SIMPLEQ_FIRST(&pa->pa_pc->pc_pbi);
390 pbi = SIMPLEQ_NEXT(pbi, next);
391 KASSERT(pbi != NULL);
393 dict = prop_dictionary_get(pbi->pbi_properties, "ofw-pci-intrmap");
400 pbus = prop_dictionary_get(pbi->pbi_properties,
405 pbus = prop_dictionary_get(pbi->pbi_properties,
409 /* now that we know the parent bus, we need to find its pbi */
410 pbi = SIMPLEQ_FIRST(&pa->pa_pc->pc_pbi);
412 pbi = SIMPLEQ_NEXT(pbi, next);
413 KASSERT(pbi != NULL);
418 /* now we have the pbi, ask for dict again */
419 dict = prop_dictionary_get(pbi->pbi_properties,
460 struct genppc_pci_chipset_businfo *pbi;
520 pbi = kmem_alloc(sizeof(*pbi), KM_SLEEP);
521 pbi->pbi_properties = prop_dictionary_create();
522 KASSERT(pbi->pbi_properties != NULL);
528 prop_object_release(pbi->pbi_properties);
529 kmem_free(pbi, sizeof(*pbi));
532 genofw_setup_pciintr_map((void *)pct, pbi, node);
536 prop_dictionary_set(pbi->pbi_properties, "ofw-pcibus-parent",
540 prop_dictionary_set(pbi->pbi_properties, "ofw-pcibus-rawdevnum",
544 SIMPLEQ_INSERT_TAIL(&pct->pc_pbi, pbi, next);