Home
last modified time | relevance | path

Searched refs:pcir (Results 1 – 5 of 5) sorted by relevance

/freebsd/sys/powerpc/ofw/
H A Dofw_pcibus.c165 struct ofw_pci_register pcir; in ofw_pcibus_enum_devtree() local
175 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()
/freebsd/sys/powerpc/powermac/
H A Dcpcht.c217 struct ofw_pci_register pcir; in cpcht_configure_htbridge() local
224 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()
/freebsd/sys/dev/drm2/
H A Ddrm_os_freebsd.c222 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()
H A Ddrm_bufs.c57 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()
H A DdrmP.h1110 struct resource *pcir[DRM_MAX_PCI_RESOURCE]; member