Searched refs:ionAllocData (Results 1 – 7 of 7) sorted by relevance
/hardware/qcom/display/msm8994/libgralloc/ |
D | ionalloc.cpp | 76 struct ion_allocation_data ionAllocData; in alloc_buffer() local 79 ionAllocData.len = data.size; in alloc_buffer() 80 ionAllocData.align = data.align; in alloc_buffer() 81 ionAllocData.heap_id_mask = data.flags & ~ION_SECURE; in alloc_buffer() 83 ionAllocData.heap_id_mask &= (data.flags & ~ION_FLAG_ALLOW_NON_CONTIG); in alloc_buffer() 85 ionAllocData.flags = data.uncached ? 0 : ION_FLAG_CACHED; in alloc_buffer() 89 ionAllocData.flags |= ION_SECURE; in alloc_buffer() 92 ionAllocData.flags |= ION_FLAG_ALLOW_NON_CONTIG; in alloc_buffer() 97 if(ioctl(mIonFd, ION_IOC_ALLOC, &ionAllocData)) { in alloc_buffer() 103 fd_data.handle = ionAllocData.handle; in alloc_buffer() [all …]
|
/hardware/qcom/display/msm8960/libgralloc/ |
D | ionalloc.cpp | 71 struct ion_allocation_data ionAllocData; in alloc_buffer() local 74 ionAllocData.len = data.size; in alloc_buffer() 75 ionAllocData.align = data.align; in alloc_buffer() 76 ionAllocData.heap_id_mask = data.flags & ~ION_SECURE; in alloc_buffer() 77 ionAllocData.flags = data.uncached ? 0 : ION_FLAG_CACHED; in alloc_buffer() 81 ionAllocData.flags |= ION_SECURE; in alloc_buffer() 86 if(ioctl(mIonFd, ION_IOC_ALLOC, &ionAllocData)) { in alloc_buffer() 92 fd_data.handle = ionAllocData.handle; in alloc_buffer() 93 handle_data.handle = ionAllocData.handle; in alloc_buffer() 103 base = mmap(0, ionAllocData.len, PROT_READ|PROT_WRITE, in alloc_buffer() [all …]
|
/hardware/qcom/display/msm8084/libgralloc/ |
D | ionalloc.cpp | 71 struct ion_allocation_data ionAllocData; in alloc_buffer() local 74 ionAllocData.len = data.size; in alloc_buffer() 75 ionAllocData.align = data.align; in alloc_buffer() 76 ionAllocData.heap_mask = data.flags & ~ION_SECURE; in alloc_buffer() 77 ionAllocData.flags = data.uncached ? 0 : ION_FLAG_CACHED; in alloc_buffer() 81 ionAllocData.flags |= ION_SECURE; in alloc_buffer() 86 if(ioctl(mIonFd, ION_IOC_ALLOC, &ionAllocData)) { in alloc_buffer() 92 fd_data.handle = ionAllocData.handle; in alloc_buffer() 93 handle_data.handle = ionAllocData.handle; in alloc_buffer() 103 base = mmap(0, ionAllocData.len, PROT_READ|PROT_WRITE, in alloc_buffer() [all …]
|
/hardware/qcom/display/msm8909w_3100/libgralloc/ |
D | ionalloc.cpp | 75 struct ion_allocation_data ionAllocData; in alloc_buffer() local 78 ionAllocData.len = data.size; in alloc_buffer() 79 ionAllocData.align = data.align; in alloc_buffer() 80 ionAllocData.heap_id_mask = data.heapId; in alloc_buffer() 81 ionAllocData.flags = data.flags; in alloc_buffer() 82 ionAllocData.flags |= data.uncached ? 0 : ION_FLAG_CACHED; in alloc_buffer() 86 if(ioctl(mIonFd, ION_IOC_ALLOC, &ionAllocData)) { in alloc_buffer() 92 fd_data.handle = ionAllocData.handle; in alloc_buffer() 93 handle_data.handle = ionAllocData.handle; in alloc_buffer() 103 base = mmap(0, ionAllocData.len, PROT_READ|PROT_WRITE, in alloc_buffer() [all …]
|
/hardware/qcom/display/msm8996/libgralloc/ |
D | ionalloc.cpp | 80 struct ion_allocation_data ionAllocData; in alloc_buffer() local 83 ionAllocData.len = data.size; in alloc_buffer() 84 ionAllocData.align = data.align; in alloc_buffer() 85 ionAllocData.heap_id_mask = data.heapId; in alloc_buffer() 86 ionAllocData.flags = data.flags; in alloc_buffer() 87 ionAllocData.flags |= data.uncached ? 0 : ION_FLAG_CACHED; in alloc_buffer() 91 if(ioctl(mIonFd, ION_IOC_ALLOC, &ionAllocData)) { in alloc_buffer() 97 fd_data.handle = ionAllocData.handle; in alloc_buffer() 98 handle_data.handle = ionAllocData.handle; in alloc_buffer() 108 base = mmap(0, ionAllocData.len, PROT_READ|PROT_WRITE, in alloc_buffer() [all …]
|
/hardware/qcom/display/msm8226/libgralloc/ |
D | ionalloc.cpp | 71 struct ion_allocation_data ionAllocData; in alloc_buffer() local 74 ionAllocData.len = data.size; in alloc_buffer() 75 ionAllocData.align = data.align; in alloc_buffer() 76 ionAllocData.heap_id_mask = data.flags & ~ION_SECURE; in alloc_buffer() 77 ionAllocData.flags = data.uncached ? 0 : ION_FLAG_CACHED; in alloc_buffer() 81 ionAllocData.flags |= ION_SECURE; in alloc_buffer() 86 if(ioctl(mIonFd, ION_IOC_ALLOC, &ionAllocData)) { in alloc_buffer() 92 fd_data.handle = ionAllocData.handle; in alloc_buffer() 93 handle_data.handle = ionAllocData.handle; in alloc_buffer() 103 base = mmap(0, ionAllocData.len, PROT_READ|PROT_WRITE, in alloc_buffer() [all …]
|
/hardware/qcom/display/msm8909/libgralloc/ |
D | ionalloc.cpp | 75 struct ion_allocation_data ionAllocData; in alloc_buffer() local 78 ionAllocData.len = data.size; in alloc_buffer() 79 ionAllocData.align = data.align; in alloc_buffer() 80 ionAllocData.heap_id_mask = data.heapId; in alloc_buffer() 81 ionAllocData.flags = data.flags; in alloc_buffer() 82 ionAllocData.flags |= data.uncached ? 0 : ION_FLAG_CACHED; in alloc_buffer() 86 if(ioctl(mIonFd, ION_IOC_ALLOC, &ionAllocData)) { in alloc_buffer() 92 fd_data.handle = ionAllocData.handle; in alloc_buffer() 93 handle_data.handle = ionAllocData.handle; in alloc_buffer() 103 base = mmap(0, ionAllocData.len, PROT_READ|PROT_WRITE, in alloc_buffer() [all …]
|