Lines Matching refs:virtual
200 void **virtual) in ttm_mem_reg_ioremap() argument
206 *virtual = NULL; in ttm_mem_reg_ioremap()
227 *virtual = addr; in ttm_mem_reg_ioremap()
232 void *virtual) in ttm_mem_reg_iounmap() argument
238 if (virtual && mem->bus.addr == NULL) in ttm_mem_reg_iounmap()
239 iounmap(virtual); in ttm_mem_reg_iounmap()
529 map->virtual = (void *)(((u8 *)bo->mem.bus.addr) + offset); in ttm_bo_ioremap()
533 map->virtual = ioremap_wc(bo->mem.bus.base + bo->mem.bus.offset + offset, in ttm_bo_ioremap()
536 map->virtual = ioremap_nocache(bo->mem.bus.base + bo->mem.bus.offset + offset, in ttm_bo_ioremap()
539 return (!map->virtual) ? -ENOMEM : 0; in ttm_bo_ioremap()
567 map->virtual = kmap(map->page); in ttm_bo_kmap_ttm()
575 map->virtual = vmap(ttm->pages + start_page, num_pages, in ttm_bo_kmap_ttm()
578 return (!map->virtual) ? -ENOMEM : 0; in ttm_bo_kmap_ttm()
591 map->virtual = NULL; in ttm_bo_kmap()
622 if (!map->virtual) in ttm_bo_kunmap()
626 iounmap(map->virtual); in ttm_bo_kunmap()
629 vunmap(map->virtual); in ttm_bo_kunmap()
642 map->virtual = NULL; in ttm_bo_kunmap()