Searched refs:user_mem (Results 1 – 1 of 1) sorted by relevance
97 struct kgsl_map_user_mem user_mem = {0}; in gpu_map_user_mem() local100 user_mem.fd = -1; in gpu_map_user_mem()101 user_mem.gpuaddr = 0; in gpu_map_user_mem()102 user_mem.len = size; in gpu_map_user_mem()103 user_mem.offset = offset; in gpu_map_user_mem()104 user_mem.hostptr = addr; in gpu_map_user_mem()105 user_mem.flags = flags; in gpu_map_user_mem()106 user_mem.memtype = KGSL_USER_MEM_TYPE_ADDR; in gpu_map_user_mem()108 result = ioctl(fd, IOCTL_KGSL_MAP_USER_MEM, &user_mem); in gpu_map_user_mem()110 *gpu_addr = user_mem.gpuaddr; in gpu_map_user_mem()