Home
last modified time | relevance | path

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

/freebsd-14.2/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-14.2/sys/powerpc/powermac/
H A Dcpcht.c218 struct ofw_pci_register pcir; in cpcht_configure_htbridge() local
225 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()
/freebsd-14.2/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.c58 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()
H A DdrmP.h1110 struct resource *pcir[DRM_MAX_PCI_RESOURCE]; member