Home
last modified time | relevance | path

Searched refs:heap_id (Results 1 – 25 of 41) sorted by relevance

12

/hardware/qcom/msm8x27/original-kernel-headers/linux/
Dmsm_ion.h194 int msm_ion_secure_heap(int heap_id);
204 int msm_ion_unsecure_heap(int heap_id);
216 int msm_ion_secure_heap_2_0(int heap_id, enum cp_mem_usage usage);
228 int msm_ion_unsecure_heap_2_0(int heap_id, enum cp_mem_usage usage);
230 static inline int msm_ion_secure_heap(int heap_id) in msm_ion_secure_heap() argument
236 static inline int msm_ion_unsecure_heap(int heap_id) in msm_ion_unsecure_heap() argument
241 static inline int msm_ion_secure_heap_2_0(int heap_id, enum cp_mem_usage usage) in msm_ion_secure_heap_2_0() argument
246 static inline int msm_ion_unsecure_heap_2_0(int heap_id, in msm_ion_unsecure_heap_2_0() argument
/hardware/qcom/msm8960/original-kernel-headers/linux/
Dmsm_ion.h194 int msm_ion_secure_heap(int heap_id);
204 int msm_ion_unsecure_heap(int heap_id);
216 int msm_ion_secure_heap_2_0(int heap_id, enum cp_mem_usage usage);
228 int msm_ion_unsecure_heap_2_0(int heap_id, enum cp_mem_usage usage);
230 static inline int msm_ion_secure_heap(int heap_id) in msm_ion_secure_heap() argument
236 static inline int msm_ion_unsecure_heap(int heap_id) in msm_ion_unsecure_heap() argument
241 static inline int msm_ion_secure_heap_2_0(int heap_id, enum cp_mem_usage usage) in msm_ion_secure_heap_2_0() argument
246 static inline int msm_ion_unsecure_heap_2_0(int heap_id, in msm_ion_unsecure_heap_2_0() argument
Dion.h350 int ion_secure_heap(struct ion_device *dev, int heap_id, int version,
364 int ion_unsecure_heap(struct ion_device *dev, int heap_id, int version,
471 static inline int ion_secure_heap(struct ion_device *dev, int heap_id, in ion_secure_heap() argument
478 static inline int ion_unsecure_heap(struct ion_device *dev, int heap_id, in ion_unsecure_heap() argument
/hardware/qcom/sm8150/display/gralloc/
Dgr_allocator.cpp127 GetIonHeapInfo(usage, &alloc_data->heap_id, &alloc_data->alloc_type, &alloc_data->flags); in AllocateMem()
134 alloc_data->heap_id, alloc_data->flags); in AllocateMem()
212 unsigned int heap_id = 0; in GetIonHeapInfo() local
217 heap_id = ION_HEAP(SD_HEAP_ID); in GetIonHeapInfo()
224 heap_id = ION_HEAP(SD_HEAP_ID); in GetIonHeapInfo()
234 heap_id = ION_HEAP(ION_SECURE_CARVEOUT_HEAP_ID); in GetIonHeapInfo()
237 heap_id = ION_HEAP(CP_HEAP_ID); in GetIonHeapInfo()
245 heap_id |= ION_HEAP(ION_SYSTEM_HEAP_ID); in GetIonHeapInfo()
248 heap_id |= ION_HEAP(ION_ADSP_HEAP_ID); in GetIonHeapInfo()
257 if (!heap_id) { in GetIonHeapInfo()
[all …]
Dgr_ion_alloc.cpp95 err = ion_alloc_fd(ion_dev_fd_, data->size, data->align, data->heap_id, flags, &fd); in AllocBuffer()
99 ion_dev_fd_, data->size, data->align, data->heap_id, flags); in AllocBuffer()
185 ion_alloc_data.heap_id_mask = data->heap_id; in AllocBuffer()
Dgr_ion_alloc.h56 unsigned int heap_id = 0x0; member
/hardware/qcom/display/msm8909w_3100/libgralloc1/
Dgr_allocator.cpp102 GetIonHeapInfo(prod_usage, cons_usage, &alloc_data->heap_id, &alloc_data->alloc_type, in AllocateMem()
110 alloc_data->heap_id, alloc_data->flags); in AllocateMem()
259 unsigned int heap_id = 0; in GetIonHeapInfo() local
264 heap_id = ION_HEAP(SD_HEAP_ID); in GetIonHeapInfo()
271 heap_id = ION_HEAP(SD_HEAP_ID); in GetIonHeapInfo()
278 heap_id = ION_HEAP(CP_HEAP_ID); in GetIonHeapInfo()
285 heap_id |= ION_HEAP(ION_SYSTEM_HEAP_ID); in GetIonHeapInfo()
289 heap_id |= ION_HEAP(ION_CAMERA_HEAP_ID); in GetIonHeapInfo()
294 heap_id |= ION_HEAP(ION_ADSP_HEAP_ID); in GetIonHeapInfo()
302 if (!heap_id) { in GetIonHeapInfo()
[all …]
Dgr_ion_alloc.h55 unsigned int heap_id = 0x0; member
/hardware/qcom/display/msm8909/gralloc/
Dgr_allocator.cpp102 GetIonHeapInfo(prod_usage, cons_usage, &alloc_data->heap_id, &alloc_data->alloc_type, in AllocateMem()
110 alloc_data->heap_id, alloc_data->flags); in AllocateMem()
259 unsigned int heap_id = 0; in GetIonHeapInfo() local
264 heap_id = ION_HEAP(SD_HEAP_ID); in GetIonHeapInfo()
271 heap_id = ION_HEAP(SD_HEAP_ID); in GetIonHeapInfo()
278 heap_id = ION_HEAP(CP_HEAP_ID); in GetIonHeapInfo()
285 heap_id |= ION_HEAP(ION_SYSTEM_HEAP_ID); in GetIonHeapInfo()
289 heap_id |= ION_HEAP(ION_CAMERA_HEAP_ID); in GetIonHeapInfo()
294 heap_id |= ION_HEAP(ION_ADSP_HEAP_ID); in GetIonHeapInfo()
302 if (!heap_id) { in GetIonHeapInfo()
[all …]
Dgr_ion_alloc.h55 unsigned int heap_id = 0x0; member
/hardware/qcom/sdm845/display/gralloc/
Dgr_allocator.cpp100 GetIonHeapInfo(usage, &alloc_data->heap_id, &alloc_data->alloc_type, &alloc_data->flags); in AllocateMem()
107 alloc_data->heap_id, alloc_data->flags); in AllocateMem()
262 unsigned int heap_id = 0; in GetIonHeapInfo() local
267 heap_id = ION_HEAP(SD_HEAP_ID); in GetIonHeapInfo()
274 heap_id = ION_HEAP(SD_HEAP_ID); in GetIonHeapInfo()
281 heap_id = ION_HEAP(CP_HEAP_ID); in GetIonHeapInfo()
287 heap_id |= ION_HEAP(ION_ADSP_HEAP_ID); in GetIonHeapInfo()
295 if (!heap_id) { in GetIonHeapInfo()
296 heap_id = ION_HEAP(ION_SYSTEM_HEAP_ID); in GetIonHeapInfo()
301 *ion_heap_id = heap_id; in GetIonHeapInfo()
Dgr_ion_alloc.h55 unsigned int heap_id = 0x0; member
/hardware/qcom/display/msm8998/libgralloc1/
Dgr_allocator.cpp111 GetIonHeapInfo(prod_usage, cons_usage, &alloc_data->heap_id, &alloc_data->alloc_type, in AllocateMem()
119 alloc_data->heap_id, alloc_data->flags); in AllocateMem()
565 unsigned int heap_id = 0; in GetIonHeapInfo() local
570 heap_id = ION_HEAP(SD_HEAP_ID); in GetIonHeapInfo()
577 heap_id = ION_HEAP(SD_HEAP_ID); in GetIonHeapInfo()
584 heap_id = ION_HEAP(CP_HEAP_ID); in GetIonHeapInfo()
591 heap_id |= ION_HEAP(ION_SYSTEM_HEAP_ID); in GetIonHeapInfo()
595 heap_id |= ION_HEAP(ION_CAMERA_HEAP_ID); in GetIonHeapInfo()
600 heap_id |= ION_HEAP(ION_ADSP_HEAP_ID); in GetIonHeapInfo()
608 if (!heap_id) { in GetIonHeapInfo()
[all …]
Dgr_ion_alloc.h55 unsigned int heap_id = 0x0; member
/hardware/qcom/display/msm8996/libgralloc1/
Dgr_allocator.cpp110 GetIonHeapInfo(prod_usage, cons_usage, &alloc_data->heap_id, &alloc_data->alloc_type, in AllocateMem()
118 alloc_data->heap_id, alloc_data->flags); in AllocateMem()
563 unsigned int heap_id = 0; in GetIonHeapInfo() local
568 heap_id = ION_HEAP(SD_HEAP_ID); in GetIonHeapInfo()
575 heap_id = ION_HEAP(SD_HEAP_ID); in GetIonHeapInfo()
582 heap_id = ION_HEAP(CP_HEAP_ID); in GetIonHeapInfo()
589 heap_id |= ION_HEAP(ION_SYSTEM_HEAP_ID); in GetIonHeapInfo()
593 heap_id |= ION_HEAP(ION_CAMERA_HEAP_ID); in GetIonHeapInfo()
598 heap_id |= ION_HEAP(ION_ADSP_HEAP_ID); in GetIonHeapInfo()
606 if (!heap_id) { in GetIonHeapInfo()
[all …]
Dgr_ion_alloc.h55 unsigned int heap_id = 0x0; member
/hardware/qcom/camera/msm8998/QCamera2/HAL/
DQCameraMem.h144 unsigned int heap_id; member
147 int alloc(int count, size_t size, unsigned int heap_id);
150 unsigned int heap_id, size_t size, bool cached, bool is_secure);
170 unsigned int heap_id, size_t size, bool cached,
179 unsigned int heap_id, size_t size, bool cached,
DQCameraMem.cpp380 int QCameraMemory::alloc(int count, size_t size, unsigned int heap_id) in alloc() argument
398 rc = allocOneBuffer(mMemInfo[i], heap_id, size, m_bCached, in alloc()
408 heap_id, in alloc()
464 unsigned int heap_id, size_t size, bool cached, bool secure_mode) in allocOneBuffer() argument
486 alloc.heap_id_mask = heap_id; in allocOneBuffer()
514 memInfo.heap_id = heap_id; in allocOneBuffer()
655 struct QCameraMemory::QCameraMemInfo &memInfo, unsigned int heap_id, in findBufferLocked() argument
668 ((*it).heap_id == heap_id) && in findBufferLocked()
681 ((*it).heap_id == heap_id) && in findBufferLocked()
715 struct QCameraMemory::QCameraMemInfo &memInfo, unsigned int heap_id, in allocateBuffer() argument
[all …]
/hardware/qcom/msm8994/original-kernel-headers/linux/
Dion.h142 __u32 heap_id; member
/hardware/qcom/msm8994/kernel-headers/linux/
Dion.h57 __u32 heap_id; member
Dmsm_ion.h112 int heap_id; member
/hardware/qcom/msm8x26/kernel-headers/linux/
Dmsm_ion.h111 int heap_id; member
/hardware/qcom/msm8x26/original-kernel-headers/linux/
Dmsm_ion.h141 int heap_id; member
/hardware/qcom/msm8x84/kernel-headers/linux/
Dmsm_ion.h114 int heap_id; member
/hardware/qcom/msm8x84/original-kernel-headers/linux/
Dmsm_ion.h144 int heap_id; member

12