Home
last modified time | relevance | path

Searched refs:ion_device (Results 1 – 8 of 8) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/staging/android/ion/
H A Dion_private.h28 struct ion_device { struct
38 extern struct ion_buffer *ion_buffer_alloc(struct ion_device *dev, size_t len, argument
42 extern int ion_buffer_destroy(struct ion_device *dev,
48 extern struct dma_buf *ion_dmabuf_alloc(struct ion_device *dev, size_t len,
H A Dion.c32 static struct ion_device *internal_dev;
67 struct ion_device *dev = internal_dev; in ion_query_heaps_kernel()
99 struct ion_device *dev = internal_dev; in ion_query_heaps()
262 static int ion_assign_heap_id(struct ion_heap *heap, struct ion_device *dev) in ion_assign_heap_id()
314 struct ion_device *dev = internal_dev; in __ion_device_add_heap()
403 struct ion_device *dev = internal_dev; in ion_device_remove_heap()
437 struct ion_device *dev = internal_dev; in total_pools_kb_show()
462 ATTRIBUTE_GROUPS(ion_device);
484 struct ion_device *idev; in ion_device_create()
H A Dion_buffer.c36 struct ion_device *dev, in ion_buffer_create()
131 struct ion_buffer *ion_buffer_alloc(struct ion_device *dev, size_t len, in ion_buffer_alloc()
227 int ion_buffer_destroy(struct ion_device *dev, struct ion_buffer *buffer) in ion_buffer_destroy()
H A Dion_dma_buf.c334 struct dma_buf *ion_dmabuf_alloc(struct ion_device *dev, size_t len, in ion_dmabuf_alloc()
/OK3568_Linux_fs/external/mpp/osal/allocator/
H A Dallocator_ion.c276 RK_S32 ion_device; member
347 p->ion_device = fd; in allocator_ion_open()
369 ret = ion_alloc(p->ion_device, info->size, p->alignment, ion_heap_mask, in allocator_ion_alloc()
374 ret = ion_map_fd(p->ion_device, hnd, &fd); in allocator_ion_alloc()
394 ctx, p->ion_device, data->fd, data->size); in allocator_ion_import()
397 ret = ion_ioctl(p->ion_device, ION_IOC_IMPORT, &fd_data); in allocator_ion_import()
404 ret = ion_map_fd(p->ion_device, fd_data.handle, &data->fd); in allocator_ion_import()
453 ion_free(p->ion_device, (ion_user_handle_t)((intptr_t)data->hnd)); in allocator_ion_free()
474 ret = close(p->ion_device); in allocator_ion_close()
H A Dion.h62 struct ion_device;
111 struct ion_client *ion_client_create(struct ion_device *dev,
/OK3568_Linux_fs/kernel/drivers/staging/android/ion/rockchip/
H A Drockchip_ion.c28 struct ion_device *rockchip_ion_dev;
119 struct ion_device *idev; in rk_ion_probe()
171 struct ion_device *idev = platform_get_drvdata(pdev); in rk_ion_remove()
/OK3568_Linux_fs/kernel/include/linux/
H A Drockchip_ion.h37 extern struct ion_device *rockchip_ion_dev;