Lines Matching refs:alloc
2347 p_camera_memory->alloc[cnt].len = p_camera_memory->size; in allocate_ion_memory()
2349 p_camera_memory->alloc[cnt].len = (p_camera_memory->alloc[cnt].len + 4095) & (~4095); in allocate_ion_memory()
2350 p_camera_memory->alloc[cnt].align = 4096; in allocate_ion_memory()
2351 p_camera_memory->alloc[cnt].flags = ION_FLAG_CACHED; in allocate_ion_memory()
2352 p_camera_memory->alloc[cnt].heap_id_mask = ion_type; in allocate_ion_memory()
2354 rc = ioctl(p_camera_memory->main_ion_fd[cnt], ION_IOC_ALLOC, &p_camera_memory->alloc[cnt]); in allocate_ion_memory()
2360 p_camera_memory->ion_info_fd[cnt].handle = p_camera_memory->alloc[cnt].handle; in allocate_ion_memory()
2404 p_camera_memory->alloc[cnt].len = p_camera_memory->size; in allocate_ion_memory()
2406 p_camera_memory->alloc[cnt].len = (p_camera_memory->alloc[cnt].len + 4095) & (~4095); in allocate_ion_memory()
2407 p_camera_memory->alloc[cnt].align = 4096; in allocate_ion_memory()
2408 p_camera_memory->alloc[cnt].flags = ION_FLAG_CACHED; in allocate_ion_memory()
2409 p_camera_memory->alloc[cnt].heap_id_mask = (0x1 << ion_type | 0x1 << ION_IOMMU_HEAP_ID); in allocate_ion_memory()
2411 rc = ioctl(p_camera_memory->main_ion_fd[cnt], ION_IOC_ALLOC, &p_camera_memory->alloc[cnt]); in allocate_ion_memory()
2417 p_camera_memory->ion_info_fd[cnt].handle = p_camera_memory->alloc[cnt].handle; in allocate_ion_memory()
2560 cache_inv_data.length = heap->alloc[i].len; in initHeapMem()
2580 frame->ion_alloc = heap->alloc[i]; in initHeapMem()