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()
218 struct ofw_pci_register pcir; in cpcht_configure_htbridge() local225 if (OF_getencprop(child, "reg", (pcell_t *)&pcir, sizeof(pcir)) == -1) in cpcht_configure_htbridge()228 b = OFW_PCI_PHYS_HI_BUS(pcir.phys_hi); in cpcht_configure_htbridge()229 s = OFW_PCI_PHYS_HI_DEVICE(pcir.phys_hi); in cpcht_configure_htbridge()230 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()
58 if (dev->pcir[resource] != NULL) { in drm_alloc_resource()70 if (dev->pcir[resource] == NULL) { in drm_alloc_resource()72 dev->pcir[resource] = res; in drm_alloc_resource()88 start = rman_get_start(dev->pcir[resource]); in drm_get_resource_start()105 len = rman_get_size(dev->pcir[resource]); in drm_get_resource_len()
1110 struct resource *pcir[DRM_MAX_PCI_RESOURCE]; member