Searched refs:pcir (Results 1 – 5 of 5) sorted by relevance
165 struct ofw_pci_register pcir; in ofw_pcibus_enum_devtree() local175 if (OF_getencprop(child, "reg", (pcell_t *)&pcir, in ofw_pcibus_enum_devtree()176 sizeof(pcir)) == -1) in ofw_pcibus_enum_devtree()178 slot = OFW_PCI_PHYS_HI_DEVICE(pcir.phys_hi); in ofw_pcibus_enum_devtree()179 func = OFW_PCI_PHYS_HI_FUNCTION(pcir.phys_hi); in ofw_pcibus_enum_devtree()
217 struct ofw_pci_register pcir; in cpcht_configure_htbridge() local224 if (OF_getencprop(child, "reg", (pcell_t *)&pcir, sizeof(pcir)) == -1) in cpcht_configure_htbridge()227 b = OFW_PCI_PHYS_HI_BUS(pcir.phys_hi); in cpcht_configure_htbridge()228 s = OFW_PCI_PHYS_HI_DEVICE(pcir.phys_hi); in cpcht_configure_htbridge()229 f = OFW_PCI_PHYS_HI_FUNCTION(pcir.phys_hi); in cpcht_configure_htbridge()
222 if (dev->pcir[i] == NULL) in drm_generic_detach()225 dev->pcirid[i], dev->pcir[i]); in drm_generic_detach()226 dev->pcir[i] = NULL; in drm_generic_detach()
57 if (dev->pcir[resource] != NULL) { in drm_alloc_resource()69 if (dev->pcir[resource] == NULL) { in drm_alloc_resource()71 dev->pcir[resource] = res; in drm_alloc_resource()87 start = rman_get_start(dev->pcir[resource]); in drm_get_resource_start()104 len = rman_get_size(dev->pcir[resource]); in drm_get_resource_len()
1110 struct resource *pcir[DRM_MAX_PCI_RESOURCE]; member