Searched refs:heap_data (Results 1 – 6 of 6) sorted by relevance
/drivers/staging/android/ion/ |
D | ion_heap.c | 320 struct ion_heap *ion_heap_create(struct ion_platform_heap *heap_data) in ion_heap_create() argument 324 switch (heap_data->type) { in ion_heap_create() 326 heap = ion_system_contig_heap_create(heap_data); in ion_heap_create() 329 heap = ion_system_heap_create(heap_data); in ion_heap_create() 332 heap = ion_carveout_heap_create(heap_data); in ion_heap_create() 335 heap = ion_chunk_heap_create(heap_data); in ion_heap_create() 338 heap = ion_cma_heap_create(heap_data); in ion_heap_create() 342 heap_data->type); in ion_heap_create() 348 __func__, heap_data->name, heap_data->type, in ion_heap_create() 349 heap_data->base, heap_data->size); in ion_heap_create() [all …]
|
D | ion_chunk_heap.c | 141 struct ion_heap *ion_chunk_heap_create(struct ion_platform_heap *heap_data) in ion_chunk_heap_create() argument 148 page = pfn_to_page(PFN_DOWN(heap_data->base)); in ion_chunk_heap_create() 149 size = heap_data->size; in ion_chunk_heap_create() 161 chunk_heap->chunk_size = (unsigned long)heap_data->priv; in ion_chunk_heap_create() 168 chunk_heap->base = heap_data->base; in ion_chunk_heap_create() 169 chunk_heap->size = heap_data->size; in ion_chunk_heap_create() 172 gen_pool_add(chunk_heap->pool, chunk_heap->base, heap_data->size, -1); in ion_chunk_heap_create() 177 heap_data->size, heap_data->align); in ion_chunk_heap_create()
|
D | ion_dummy_driver.c | 97 struct ion_platform_heap *heap_data = &dummy_ion_pdata.heaps[i]; in ion_dummy_init() local 99 if (heap_data->type == ION_HEAP_TYPE_CARVEOUT && in ion_dummy_init() 100 !heap_data->base) in ion_dummy_init() 103 if (heap_data->type == ION_HEAP_TYPE_CHUNK && !heap_data->base) in ion_dummy_init() 106 heaps[i] = ion_heap_create(heap_data); in ion_dummy_init()
|
D | ion_carveout_heap.c | 149 struct ion_heap *ion_carveout_heap_create(struct ion_platform_heap *heap_data) in ion_carveout_heap_create() argument 157 page = pfn_to_page(PFN_DOWN(heap_data->base)); in ion_carveout_heap_create() 158 size = heap_data->size; in ion_carveout_heap_create() 175 carveout_heap->base = heap_data->base; in ion_carveout_heap_create() 176 gen_pool_add(carveout_heap->pool, carveout_heap->base, heap_data->size, in ion_carveout_heap_create()
|
/drivers/video/fbdev/i810/ |
D | i810.h | 225 struct heap_data { struct 260 struct heap_data aperture; 261 struct heap_data fb; 262 struct heap_data iring; 263 struct heap_data cursor_heap;
|
/drivers/staging/android/ion/tegra/ |
D | tegra_ion.c | 45 struct ion_platform_heap *heap_data = &pdata->heaps[i]; in tegra_ion_probe() local 47 heaps[i] = ion_heap_create(heap_data); in tegra_ion_probe()
|