Lines Matching defs:iomem
227 struct drm_iomem *iomem;
243 iomem = kmem_zalloc(sizeof(*iomem), KM_NOSLEEP);
244 if(!iomem){
248 iomem->addr = addr;
249 iomem->size = size;
251 INIT_LIST_HEAD(&iomem->head);
252 list_add(&iomem->head, &drm_iomem_list, (caddr_t)iomem);
260 struct drm_iomem *iomem;
262 list_for_each_entry(iomem, struct drm_iomem, &drm_iomem_list, head) {
263 if (iomem->addr == addr) {
264 gfxp_unmap_kernel_space(addr, iomem->size);
265 list_del(&iomem->head);
266 kmem_free(iomem, sizeof(*iomem));