/device/linaro/hikey/gralloc960/ |
D | mali_gralloc_ion.cpp | 66 static void mali_gralloc_ion_free_internal(buffer_handle_t *pHandle, uint32_t num_hnds); 486 … uint32_t numDescriptors, buffer_handle_t *pHandle, bool *shared_backend) in mali_gralloc_ion_allocate() argument 549 mali_gralloc_ion_free_internal(pHandle, numDescriptors); in mali_gralloc_ion_allocate() 567 mali_gralloc_ion_free_internal(pHandle, numDescriptors); in mali_gralloc_ion_allocate() 571 pHandle[i] = hnd; in mali_gralloc_ion_allocate() 586 mali_gralloc_ion_free_internal(pHandle, numDescriptors); in mali_gralloc_ion_allocate() 599 mali_gralloc_ion_free_internal(pHandle, numDescriptors); in mali_gralloc_ion_allocate() 613 mali_gralloc_ion_free_internal(pHandle, numDescriptors); in mali_gralloc_ion_allocate() 617 pHandle[i] = hnd; in mali_gralloc_ion_allocate() 624 private_handle_t *hnd = (private_handle_t *)(pHandle[i]); in mali_gralloc_ion_allocate() [all …]
|
D | framebuffer_device.cpp | 423 uint64_t producer_usage, buffer_handle_t *pHandle) in fb_alloc_from_ion_module() argument 435 err = mali_gralloc_ion_allocate(m, gralloc_buffer_descriptor, 1, pHandle, &shared); in fb_alloc_from_ion_module() 441 buffer_handle_t *pHandle, int *stride, int *byte_stride) in fb_alloc_framebuffer_locked() argument 475 …n fb_alloc_from_ion_module(m, alignedFramebufferSize, newConsumerUsage, newProducerUsage, pHandle); in fb_alloc_framebuffer_locked() 515 …n fb_alloc_from_ion_module(m, alignedFramebufferSize, newConsumerUsage, newProducerUsage, pHandle); in fb_alloc_framebuffer_locked() 518 *pHandle = hnd; in fb_alloc_framebuffer_locked() 525 buffer_handle_t *pHandle, int *stride, int *byte_stride) in fb_alloc_framebuffer() argument 528 …int err = fb_alloc_framebuffer_locked(m, consumer_usage, producer_usage, pHandle, stride, byte_str… in fb_alloc_framebuffer()
|
D | mali_gralloc_bufferallocation.cpp | 79 static int mali_gralloc_buffer_free_internal(buffer_handle_t *pHandle, uint32_t num_hnds); 884 … uint32_t numDescriptors, buffer_handle_t *pHandle, bool *shared_backend) in mali_gralloc_buffer_allocate() argument 1135 err = mali_gralloc_ion_allocate(m, descriptors, numDescriptors, pHandle, &shared); in mali_gralloc_buffer_allocate() 1151 private_handle_t *hnd = (private_handle_t *)pHandle[i]; in mali_gralloc_buffer_allocate() 1160 mali_gralloc_buffer_free_internal(pHandle, numDescriptors); in mali_gralloc_buffer_allocate() 1211 int mali_gralloc_buffer_free(buffer_handle_t pHandle) in mali_gralloc_buffer_free() argument 1214 private_handle_t *hnd = (private_handle_t *)(pHandle); in mali_gralloc_buffer_free() 1225 static int mali_gralloc_buffer_free_internal(buffer_handle_t *pHandle, uint32_t num_hnds) in mali_gralloc_buffer_free_internal() argument 1232 private_handle_t *hnd = (private_handle_t *)(pHandle[i]); in mali_gralloc_buffer_free_internal()
|
D | mali_gralloc_bufferallocation.h | 28 … uint32_t numDescriptors, buffer_handle_t *pHandle, bool *shared_backend); 29 int mali_gralloc_buffer_free(buffer_handle_t pHandle);
|
D | framebuffer_device.h | 30 buffer_handle_t *pHandle, int *stride, int *byte_stride);
|
D | mali_gralloc_ion.h | 26 … uint32_t numDescriptors, buffer_handle_t *pHandle, bool *alloc_from_backing_store);
|
/device/amlogic/yukawa/hal/gralloc/ |
D | mali_gralloc_ion.cpp | 66 static void mali_gralloc_ion_free_internal(buffer_handle_t *pHandle, uint32_t num_hnds); 486 … uint32_t numDescriptors, buffer_handle_t *pHandle, bool *shared_backend) in mali_gralloc_ion_allocate() argument 549 mali_gralloc_ion_free_internal(pHandle, numDescriptors); in mali_gralloc_ion_allocate() 567 mali_gralloc_ion_free_internal(pHandle, numDescriptors); in mali_gralloc_ion_allocate() 571 pHandle[i] = hnd; in mali_gralloc_ion_allocate() 586 mali_gralloc_ion_free_internal(pHandle, numDescriptors); in mali_gralloc_ion_allocate() 599 mali_gralloc_ion_free_internal(pHandle, numDescriptors); in mali_gralloc_ion_allocate() 613 mali_gralloc_ion_free_internal(pHandle, numDescriptors); in mali_gralloc_ion_allocate() 617 pHandle[i] = hnd; in mali_gralloc_ion_allocate() 624 private_handle_t *hnd = (private_handle_t *)(pHandle[i]); in mali_gralloc_ion_allocate() [all …]
|
D | framebuffer_device.cpp | 423 uint64_t producer_usage, buffer_handle_t *pHandle) in fb_alloc_from_ion_module() argument 435 err = mali_gralloc_ion_allocate(m, gralloc_buffer_descriptor, 1, pHandle, &shared); in fb_alloc_from_ion_module() 441 buffer_handle_t *pHandle, int *stride, int *byte_stride) in fb_alloc_framebuffer_locked() argument 475 …n fb_alloc_from_ion_module(m, alignedFramebufferSize, newConsumerUsage, newProducerUsage, pHandle); in fb_alloc_framebuffer_locked() 515 …n fb_alloc_from_ion_module(m, alignedFramebufferSize, newConsumerUsage, newProducerUsage, pHandle); in fb_alloc_framebuffer_locked() 518 *pHandle = hnd; in fb_alloc_framebuffer_locked() 525 buffer_handle_t *pHandle, int *stride, int *byte_stride) in fb_alloc_framebuffer() argument 528 …int err = fb_alloc_framebuffer_locked(m, consumer_usage, producer_usage, pHandle, stride, byte_str… in fb_alloc_framebuffer()
|
D | mali_gralloc_bufferallocation.cpp | 79 static int mali_gralloc_buffer_free_internal(buffer_handle_t *pHandle, uint32_t num_hnds); 884 … uint32_t numDescriptors, buffer_handle_t *pHandle, bool *shared_backend) in mali_gralloc_buffer_allocate() argument 1178 err = mali_gralloc_ion_allocate(m, descriptors, numDescriptors, pHandle, &shared); in mali_gralloc_buffer_allocate() 1196 private_handle_t *hnd = (private_handle_t *)pHandle[i]; in mali_gralloc_buffer_allocate() 1206 mali_gralloc_buffer_free_internal(pHandle, numDescriptors); in mali_gralloc_buffer_allocate() 1262 int mali_gralloc_buffer_free(buffer_handle_t pHandle) in mali_gralloc_buffer_free() argument 1265 private_handle_t *hnd = (private_handle_t *)(pHandle); in mali_gralloc_buffer_free() 1276 static int mali_gralloc_buffer_free_internal(buffer_handle_t *pHandle, uint32_t num_hnds) in mali_gralloc_buffer_free_internal() argument 1283 private_handle_t *hnd = (private_handle_t *)(pHandle[i]); in mali_gralloc_buffer_free_internal()
|
D | mali_gralloc_bufferallocation.h | 28 … uint32_t numDescriptors, buffer_handle_t *pHandle, bool *shared_backend); 29 int mali_gralloc_buffer_free(buffer_handle_t pHandle);
|
D | framebuffer_device.h | 30 buffer_handle_t *pHandle, int *stride, int *byte_stride);
|
D | mali_gralloc_ion.h | 26 … uint32_t numDescriptors, buffer_handle_t *pHandle, bool *alloc_from_backing_store);
|
/device/linaro/hikey/gralloc/ |
D | alloc_device.cpp | 199 …tic int gralloc_alloc_buffer(alloc_device_t *dev, size_t size, int usage, buffer_handle_t *pHandle) in gralloc_alloc_buffer() argument 258 *pHandle = hnd; in gralloc_alloc_buffer() 331 *pHandle = hnd; in gralloc_alloc_buffer() 367 …loc_alloc_framebuffer_locked(alloc_device_t *dev, size_t size, int usage, buffer_handle_t *pHandle) in gralloc_alloc_framebuffer_locked() argument 394 return gralloc_alloc_buffer(dev, bufferSize, newUsage, pHandle); in gralloc_alloc_framebuffer_locked() 450 return gralloc_alloc_buffer(dev, bufferSize, newUsage, pHandle); in gralloc_alloc_framebuffer_locked() 463 *pHandle = hnd; in gralloc_alloc_framebuffer_locked() 468 …nt gralloc_alloc_framebuffer(alloc_device_t *dev, size_t size, int usage, buffer_handle_t *pHandle) in gralloc_alloc_framebuffer() argument 472 int err = gralloc_alloc_framebuffer_locked(dev, size, usage, pHandle); in gralloc_alloc_framebuffer() 478 …c(alloc_device_t *dev, int w, int h, int format, int usage, buffer_handle_t *pHandle, int *pStride) in alloc_device_alloc() argument [all …]
|
/device/amlogic/yukawa/hal/gralloc/legacy/ |
D | alloc_device.cpp | 43 …oc_device_alloc(alloc_device_t *dev, int w, int h, int format, int usage, buffer_handle_t *pHandle, in alloc_device_alloc() argument 49 if (!dev || !pHandle || !pStride) in alloc_device_alloc() 77 err = fb_alloc_framebuffer(m, usage, usage, pHandle, &pixel_stride, &byte_stride); in alloc_device_alloc() 81 private_handle_t *hnd = (private_handle_t *)*pHandle; in alloc_device_alloc() 118 if (mali_gralloc_buffer_allocate(m, gralloc_buffer_descriptor, 1, pHandle, NULL) < 0) in alloc_device_alloc() 125 mali_gralloc_query_getstride(*pHandle, pStride); in alloc_device_alloc()
|
/device/linaro/hikey/gralloc960/legacy/ |
D | alloc_device.cpp | 43 …oc_device_alloc(alloc_device_t *dev, int w, int h, int format, int usage, buffer_handle_t *pHandle, in alloc_device_alloc() argument 49 if (!dev || !pHandle || !pStride) in alloc_device_alloc() 77 err = fb_alloc_framebuffer(m, usage, usage, pHandle, &pixel_stride, &byte_stride); in alloc_device_alloc() 81 private_handle_t *hnd = (private_handle_t *)*pHandle; in alloc_device_alloc() 117 if (mali_gralloc_buffer_allocate(m, gralloc_buffer_descriptor, 1, pHandle, NULL) < 0) in alloc_device_alloc() 124 mali_gralloc_query_getstride(*pHandle, pStride); in alloc_device_alloc()
|
/device/google/contexthub/firmware/os/core/ |
D | nanohub_chre.c | 244 static bool osChreSensorFindDefault(uint8_t sensorType, uint32_t *pHandle) in osChreSensorFindDefault() argument 246 if (!pHandle) in osChreSensorFindDefault() 249 const struct SensorInfo *info = sensorFind(sensorType, 0, pHandle); in osChreSensorFindDefault() 257 uint32_t *pHandle = va_arg(args, uint32_t *); in osChreApiSensorFindDefault() local 258 *retValP = osChreSensorFindDefault(sensorType, pHandle); in osChreApiSensorFindDefault()
|
/device/generic/goldfish-opengl/system/gralloc/ |
D | gralloc_old.cpp | 627 buffer_handle_t* pHandle, int* pStride) in gralloc_alloc() argument 632 if (!grdev || !pHandle || !pStride) { in gralloc_alloc() 634 grdev, pHandle, pStride); in gralloc_alloc() 925 *pHandle = cb; in gralloc_alloc()
|