Searched refs:ion_device (Results 1 – 2 of 2) sorted by relevance
| /rockchip-linux_mpp/osal/allocator/ |
| H A D | allocator_ion.c | 264 RK_S32 ion_device; member 337 p->ion_device = fd; in allocator_ion_open() 359 ret = ion_alloc(p->ion_device, info->size, p->alignment, ion_heap_mask, in allocator_ion_alloc() 364 ret = ion_map_fd(p->ion_device, hnd, &fd); in allocator_ion_alloc() 384 ctx, p->ion_device, data->fd, data->size); in allocator_ion_import() 387 ret = ion_ioctl(p->ion_device, ION_IOC_IMPORT, &fd_data); in allocator_ion_import() 394 ret = ion_map_fd(p->ion_device, fd_data.handle, &data->fd); in allocator_ion_import() 443 ion_free(p->ion_device, (ion_user_handle_t)((intptr_t)data->hnd)); in allocator_ion_free() 464 ret = close(p->ion_device); in allocator_ion_close()
|
| H A D | ion.h | 62 struct ion_device; 111 struct ion_client *ion_client_create(struct ion_device *dev,
|