Lines Matching refs:dhp

78 	devmap_handle_t *dhp;
100 dhp = (devmap_handle_t *)dhc;
101 cp = (struct ddi_umem_cookie *)dhp->dh_cookie;
116 devmap_handle_t *dhp;
120 dhp = (devmap_handle_t *)dhc;
121 cp = (struct ddi_umem_cookie *)dhp->dh_cookie;
137 devmap_handle_t *dhp;
142 dhp = (devmap_handle_t *)dhc;
147 cp = (struct ddi_umem_cookie *)dhp->dh_cookie;
168 gfxp_umem_cookie_destroy(dhp->dh_cookie);
169 dhp->dh_cookie = NULL;
197 drm_gem_map(devmap_cookie_t dhp, dev_t dev, uint_t flags, offset_t off,
200 _NOTE(ARGUNUSED(dhp, flags, len))
231 drm_gem_map_access(devmap_cookie_t dhp, void *pvt, offset_t offset, size_t len,
248 if (devmap_load(dhp, offset, len, type, rw)) {
255 seg->dhp = dhp;
266 drm_gem_unmap(devmap_cookie_t dhp, void *pvtp, offset_t off, size_t len,
274 _NOTE(ARGUNUSED(dhp, pvtp, off, len, new_dhp1, newpvtp1))
291 (void) devmap_unload(entry->dhp, entry->mapoffset,
309 __devmap_general(struct drm_device *dev, devmap_cookie_t dhp,
322 ret = devmap_devmem_setup(dhp, dev->devinfo, NULL,
335 __devmap_shm(struct drm_device *dev, devmap_cookie_t dhp,
345 ret = devmap_umem_setup(dhp, dev->devinfo,
358 __devmap_agp(struct drm_device *dev, devmap_cookie_t dhp,
371 ret = devmap_umem_setup(dhp, dev->devinfo,
384 __devmap_sg(struct drm_device *dev, devmap_cookie_t dhp,
397 ret = devmap_umem_setup(dhp, dev->devinfo,
410 __devmap_gem(struct drm_device *dev, devmap_cookie_t dhp,
423 ret = gfxp_devmap_umem_setup(dhp, dev->devinfo, callbackops,
591 drm_sun_devmap(dev_t dev_id, devmap_cookie_t dhp, offset_t offset,
610 return (gfxp_vgatext_devmap(dev_id, dhp, offset, len,
635 return (__devmap_general(dev, dhp, map, len, maplen));
638 return (__devmap_shm(dev, dhp, map, len, maplen));
641 return (__devmap_agp(dev, dhp, map, len, maplen));
644 return (__devmap_sg(dev, dhp, map, len, maplen));
647 return (__devmap_gem(dev, dhp, map, maplen));