Home
last modified time | relevance | path

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

/netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/bios/
H A Dnouveau_nvkm_subdev_bios_image.c38 struct nvbios_pcirT pcir; in nvbios_imagen() local
55 if (!(data = nvbios_pcirTp(bios, image->base, &ver, &hdr, &pcir))) in nvbios_imagen()
57 image->size = pcir.image_size; in nvbios_imagen()
58 image->type = pcir.image_type; in nvbios_imagen()
59 image->last = pcir.last; in nvbios_imagen()
H A Dnouveau_nvkm_subdev_bios_npde.c36 struct nvbios_pcirT pcir; in nvbios_npdeTe() local
38 u32 data = nvbios_pcirTp(bios, base, &ver, &hdr, &pcir); in nvbios_npdeTe()
H A DKbuild19 nvkm-y += nvkm/subdev/bios/pcir.o
/netbsd-src/sys/external/bsd/drm/dist/bsd-core/
H A Ddrm_bufs.c54 if (dev->pcir[resource] != NULL) { in drm_alloc_resource()
60 dev->pcir[resource] = bus_alloc_resource_any(dev->device, in drm_alloc_resource()
64 if (dev->pcir[resource] == NULL) { in drm_alloc_resource()
82 return rman_get_start(dev->pcir[resource]); in drm_get_resource_start()
95 return rman_get_size(dev->pcir[resource]); in drm_get_resource_len()
H A Ddrm_drv.c723 if (dev->pcir[i] == NULL) in drm_unload()
726 dev->pcirid[i], dev->pcir[i]); in drm_unload()
727 dev->pcir[i] = NULL; in drm_unload()
H A DdrmP.h827 struct resource *pcir[DRM_MAX_PCI_RESOURCE]; member