Home
last modified time | relevance | path

Searched refs:heap_data (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/drivers/staging/android/ion/
Dion_chunk_heap.c111 struct ion_heap *ion_chunk_heap_create(struct ion_platform_heap *heap_data) in ion_chunk_heap_create() argument
118 page = pfn_to_page(PFN_DOWN(heap_data->base)); in ion_chunk_heap_create()
119 size = heap_data->size; in ion_chunk_heap_create()
129 chunk_heap->chunk_size = (unsigned long)heap_data->priv; in ion_chunk_heap_create()
136 chunk_heap->base = heap_data->base; in ion_chunk_heap_create()
137 chunk_heap->size = heap_data->size; in ion_chunk_heap_create()
140 gen_pool_add(chunk_heap->pool, chunk_heap->base, heap_data->size, -1); in ion_chunk_heap_create()
145 &chunk_heap->base, heap_data->size); in ion_chunk_heap_create()
Dion_carveout_heap.c106 struct ion_heap *ion_carveout_heap_create(struct ion_platform_heap *heap_data) in ion_carveout_heap_create() argument
114 page = pfn_to_page(PFN_DOWN(heap_data->base)); in ion_carveout_heap_create()
115 size = heap_data->size; in ion_carveout_heap_create()
130 carveout_heap->base = heap_data->base; in ion_carveout_heap_create()
131 gen_pool_add(carveout_heap->pool, carveout_heap->base, heap_data->size, in ion_carveout_heap_create()
/Linux-v4.19/drivers/video/fbdev/i810/
Di810.h224 struct heap_data { struct
259 struct heap_data aperture;
260 struct heap_data fb;
261 struct heap_data iring;
262 struct heap_data cursor_heap;
/Linux-v4.19/tools/testing/selftests/android/ion/
Dionutils.c54 struct ion_heap_data heap_data[MAX_HEAP_COUNT]; in ion_export_buffer_fd() local
71 query.heaps = (unsigned long int)&heap_data[0]; in ion_export_buffer_fd()
82 if (heap_data[i].type == ion_info->heap_type) { in ion_export_buffer_fd()
83 heap_id = heap_data[i].heap_id; in ion_export_buffer_fd()