Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/StdLib/SocketDxe/
DEntryUnload.c89 EFI_HANDLE * pHandle; in DriverUnload() local
96 pHandle = NULL; in DriverUnload()
111 (VOID **) &pHandle in DriverUnload()
127 pHandle ); in DriverUnload()
140 Max = BufferSize / sizeof ( pHandle[ 0 ]); in DriverUnload()
143 pHandle[ Index ], in DriverUnload()
148 … "WARNING - Failed to shutdown the driver on handle %08x\r\n", pHandle[ Index ])); in DriverUnload()
167 if ( NULL != pHandle ) { in DriverUnload()
168 gBS->FreePool ( pHandle ); in DriverUnload()
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/WebServer/
DDhcpOptions.c43 EFI_HANDLE * pHandle; in DhcpOptionsPage() local
91 &pHandle ); in DhcpOptionsPage()
104 pEnd = &pHandle [ HandleCount ]; in DhcpOptionsPage()
105 while ( pEnd > pHandle ) { in DhcpOptionsPage()
138 Status = gBS->OpenProtocol ( *pHandle, in DhcpOptionsPage()
206 pHandle += 1; in DhcpOptionsPage()
DHandles.c43 EFI_HANDLE * pHandle; in HandlePage() local
107 pHandle = pHandleArray; in HandlePage()
108 pHandleEnd = &pHandle [ Entries ]; in HandlePage()
109 while ( pHandleEnd > pHandle ) { in HandlePage()
119 Value = (UINTN) *pHandle; in HandlePage()
156 Status = gBS->ProtocolsPerHandle ( *pHandle, in HandlePage()
251 pHandle += 1; in HandlePage()
/device/generic/goldfish/gralloc/
Dgralloc.cpp47 size_t size, int usage, buffer_handle_t* pHandle);
108 size_t size, int usage, buffer_handle_t* pHandle) in gralloc_alloc_framebuffer_locked() argument
131 return gralloc_alloc_buffer(dev, bufferSize, newUsage, pHandle); in gralloc_alloc_framebuffer_locked()
155 *pHandle = hnd; in gralloc_alloc_framebuffer_locked()
161 size_t size, int usage, buffer_handle_t* pHandle) in gralloc_alloc_framebuffer() argument
166 int err = gralloc_alloc_framebuffer_locked(dev, size, usage, pHandle); in gralloc_alloc_framebuffer()
172 size_t size, int /*usage*/, buffer_handle_t* pHandle) in gralloc_alloc_buffer() argument
191 *pHandle = hnd; in gralloc_alloc_buffer()
209 buffer_handle_t* pHandle, int* pStride) in gralloc_alloc() argument
211 if (!pHandle || !pStride) in gralloc_alloc()
[all …]
/device/linaro/hikey/gralloc960/legacy/
Dalloc_device.cpp43 …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/linaro/bootloader/edk2/OptionRomPkg/Bus/Usb/UsbNetworking/Ax88772/
DDriverBinding.c354 EFI_HANDLE * pHandle; in DriverUnload() local
361 pHandle = NULL; in DriverUnload()
376 (VOID **) &pHandle in DriverUnload()
392 pHandle ); in DriverUnload()
405 Max = BufferSize / sizeof ( pHandle[ 0 ]); in DriverUnload()
408 pHandle[ Index ], in DriverUnload()
413 … "WARNING - Failed to shutdown the driver on handle %08x\r\n", pHandle[ Index ])); in DriverUnload()
432 if ( NULL != pHandle ) { in DriverUnload()
433 gBS->FreePool ( pHandle ); in DriverUnload()
/device/linaro/hikey/gralloc960/
Dmali_gralloc_ion.cpp57 static void mali_gralloc_ion_free_internal(buffer_handle_t *pHandle, uint32_t num_hnds);
394 … uint32_t numDescriptors, buffer_handle_t *pHandle, bool *shared_backend) in mali_gralloc_ion_allocate() argument
489 mali_gralloc_ion_free_internal(pHandle, numDescriptors); in mali_gralloc_ion_allocate()
507 mali_gralloc_ion_free_internal(pHandle, numDescriptors); in mali_gralloc_ion_allocate()
511 pHandle[i] = hnd; in mali_gralloc_ion_allocate()
526 mali_gralloc_ion_free_internal(pHandle, numDescriptors); in mali_gralloc_ion_allocate()
545 mali_gralloc_ion_free_internal(pHandle, numDescriptors); in mali_gralloc_ion_allocate()
556 mali_gralloc_ion_free_internal(pHandle, numDescriptors); in mali_gralloc_ion_allocate()
570 mali_gralloc_ion_free_internal(pHandle, numDescriptors); in mali_gralloc_ion_allocate()
574 pHandle[i] = hnd; in mali_gralloc_ion_allocate()
[all …]
Dmali_gralloc_bufferallocation.h28 … uint32_t numDescriptors, buffer_handle_t *pHandle, bool *shared_backend);
29 int mali_gralloc_buffer_free(buffer_handle_t pHandle);
Dframebuffer_device.cpp423 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()
Dmali_gralloc_bufferallocation.cpp79 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()
Dframebuffer_device.h30 buffer_handle_t *pHandle, int *stride, int *byte_stride);
Dmali_gralloc_ion.h26 … uint32_t numDescriptors, buffer_handle_t *pHandle, bool *alloc_from_backing_store);
/device/linaro/hikey/gralloc/
Dalloc_device.cpp122 …tic int gralloc_alloc_buffer(alloc_device_t *dev, size_t size, int usage, buffer_handle_t *pHandle) in gralloc_alloc_buffer() argument
223 *pHandle = hnd; in gralloc_alloc_buffer()
296 *pHandle = hnd; in gralloc_alloc_buffer()
332 …loc_alloc_framebuffer_locked(alloc_device_t *dev, size_t size, int usage, buffer_handle_t *pHandle) in gralloc_alloc_framebuffer_locked() argument
359 return gralloc_alloc_buffer(dev, bufferSize, newUsage, pHandle); in gralloc_alloc_framebuffer_locked()
415 return gralloc_alloc_buffer(dev, bufferSize, newUsage, pHandle); in gralloc_alloc_framebuffer_locked()
428 *pHandle = hnd; in gralloc_alloc_framebuffer_locked()
433 …nt gralloc_alloc_framebuffer(alloc_device_t *dev, size_t size, int usage, buffer_handle_t *pHandle) in gralloc_alloc_framebuffer() argument
437 int err = gralloc_alloc_framebuffer_locked(dev, size, usage, pHandle); in gralloc_alloc_framebuffer()
443 …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/google/cuttlefish_common/guest/hals/gralloc/legacy/
Dgralloc.cpp54 buffer_handle_t* pHandle, int* pStrideInPixels) { in gralloc_alloc_buffer() argument
88 *pHandle = hnd; in gralloc_alloc_buffer()
103 int /*usage*/, buffer_handle_t* pHandle, in gralloc_alloc() argument
105 if (!pHandle || !pStrideInPixels) in gralloc_alloc()
108 int err = gralloc_alloc_buffer(dev, format, w, h, pHandle, pStrideInPixels); in gralloc_alloc()
/device/generic/goldfish-opengl/system/vulkan/
Dgoldfish_vulkan.cpp110 uint32_t* pHandle) { in GetMemoryZirconHandleFUCHSIA() argument
112 *pHandle = 0; in GetMemoryZirconHandleFUCHSIA()
128 uint32_t* pHandle) { in GetSemaphoreZirconHandleFUCHSIA() argument
130 *pHandle = 0; in GetSemaphoreZirconHandleFUCHSIA()
316 uint32_t* pHandle) { in GetMemoryZirconHandleFUCHSIA() argument
322 return vkstubhal::GetMemoryZirconHandleFUCHSIA(device, pInfo, pHandle); in GetMemoryZirconHandleFUCHSIA()
328 device, pInfo, pHandle); in GetMemoryZirconHandleFUCHSIA()
359 uint32_t* pHandle) { in GetSemaphoreZirconHandleFUCHSIA() argument
365 return vkstubhal::GetSemaphoreZirconHandleFUCHSIA(device, pInfo, pHandle); in GetSemaphoreZirconHandleFUCHSIA()
370 vkEnc, VK_SUCCESS, device, pInfo, pHandle); in GetSemaphoreZirconHandleFUCHSIA()
Dfunc_table.cpp2350 HANDLE* pHandle) in entry_vkGetMemoryWin32HandleKHR() argument
2355 …HandleKHR_VkResult_return = vkEnc->vkGetMemoryWin32HandleKHR(device, pGetWin32HandleInfo, pHandle); in entry_vkGetMemoryWin32HandleKHR()
2425 HANDLE* pHandle) in entry_vkGetSemaphoreWin32HandleKHR() argument
2430 …dleKHR_VkResult_return = vkEnc->vkGetSemaphoreWin32HandleKHR(device, pGetWin32HandleInfo, pHandle); in entry_vkGetSemaphoreWin32HandleKHR()
2600 HANDLE* pHandle) in entry_vkGetFenceWin32HandleKHR() argument
2605 …2HandleKHR_VkResult_return = vkEnc->vkGetFenceWin32HandleKHR(device, pGetWin32HandleInfo, pHandle); in entry_vkGetFenceWin32HandleKHR()
3058 HANDLE* pHandle) in entry_vkGetMemoryWin32HandleNV() argument
3063 …n32HandleNV_VkResult_return = vkEnc->vkGetMemoryWin32HandleNV(device, memory, handleType, pHandle); in entry_vkGetMemoryWin32HandleNV()
/device/linaro/bootloader/edk2/OptionRomPkg/Bus/Usb/UsbNetworking/Ax88772b/
DDriverBinding.c554 EFI_HANDLE * pHandle; in DriverUnload() local
561 pHandle = NULL; in DriverUnload()
576 (VOID **) &pHandle in DriverUnload()
591 pHandle ); in DriverUnload()
602 Max = BufferSize / sizeof ( pHandle[ 0 ]); in DriverUnload()
605 pHandle[ Index ], in DriverUnload()
609 …UG ((EFI_D_ERROR, "WARNING - Failed to shutdown the driver on handle %08x\r\n", pHandle[ Index ])); in DriverUnload()
628 if ( NULL != pHandle ) { in DriverUnload()
629 gBS->FreePool ( pHandle ); in DriverUnload()
/device/google/cuttlefish_common/guest/hals/gralloc/
Dgralloc.cpp178 buffer_handle_t* pHandle, in gralloc_alloc() argument
217 *pHandle = hnd; in gralloc_alloc()
/device/google/contexthub/firmware/os/core/
Dnanohub_chre.c244 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/vulkan_enc/
DResourceTracker.h216 uint32_t* pHandle);
227 uint32_t* pHandle);
DResourceTracker.cpp1124 uint32_t* pHandle) { in on_vkGetMemoryZirconHandleFUCHSIA() argument
1150 *pHandle = ZX_HANDLE_INVALID; in on_vkGetMemoryZirconHandleFUCHSIA()
1151 zx_handle_duplicate(info.vmoHandle, ZX_RIGHT_SAME_RIGHTS, pHandle); in on_vkGetMemoryZirconHandleFUCHSIA()
1225 uint32_t* pHandle) { in on_vkGetSemaphoreZirconHandleFUCHSIA() argument
1250 *pHandle = ZX_HANDLE_INVALID; in on_vkGetSemaphoreZirconHandleFUCHSIA()
1251 zx_handle_duplicate(info.eventHandle, ZX_RIGHT_SAME_RIGHTS, pHandle); in on_vkGetSemaphoreZirconHandleFUCHSIA()
3588 uint32_t* pHandle) { in on_vkGetMemoryZirconHandleFUCHSIA() argument
3590 context, input_result, device, pInfo, pHandle); in on_vkGetMemoryZirconHandleFUCHSIA()
3607 uint32_t* pHandle) { in on_vkGetSemaphoreZirconHandleFUCHSIA() argument
3609 context, input_result, device, pInfo, pHandle); in on_vkGetSemaphoreZirconHandleFUCHSIA()
DVkEncoder.h1074 HANDLE* pHandle);
1109 HANDLE* pHandle);
1193 HANDLE* pHandle);
1436 HANDLE* pHandle);
DVkEncoder.cpp14934 HANDLE* pHandle) in vkGetMemoryWin32HandleKHR() argument
14962 countingStream->write((HANDLE*)pHandle, sizeof(HANDLE)); in vkGetMemoryWin32HandleKHR()
14973 stream->write((HANDLE*)pHandle, sizeof(HANDLE)); in vkGetMemoryWin32HandleKHR()
14975 stream->read((HANDLE*)pHandle, sizeof(HANDLE)); in vkGetMemoryWin32HandleKHR()
15268 HANDLE* pHandle) in vkGetSemaphoreWin32HandleKHR() argument
15296 countingStream->write((HANDLE*)pHandle, sizeof(HANDLE)); in vkGetSemaphoreWin32HandleKHR()
15307 stream->write((HANDLE*)pHandle, sizeof(HANDLE)); in vkGetSemaphoreWin32HandleKHR()
15309 stream->read((HANDLE*)pHandle, sizeof(HANDLE)); in vkGetSemaphoreWin32HandleKHR()
16239 HANDLE* pHandle) in vkGetFenceWin32HandleKHR() argument
16267 countingStream->write((HANDLE*)pHandle, sizeof(HANDLE)); in vkGetFenceWin32HandleKHR()
[all …]
/device/google/marlin/camera/QCamera2/HAL/
DQCameraMem.cpp1407 packet->pHandle = mNativeHandle[i]; in allocateMore()
1477 packet->pHandle = mNativeHandle[i]; in allocateMeta()
1581 packet->pHandle = nh; in updateNativeHandle()
1624 native_handle_close(packet->pHandle); in closeNativeHandle()
1625 native_handle_delete(packet->pHandle); in closeNativeHandle()
1626 packet->pHandle = NULL; in closeNativeHandle()
/device/generic/goldfish-opengl/system/gralloc/
Dgralloc.cpp464 buffer_handle_t* pHandle, int* pStride) in gralloc_alloc() argument
469 if (!grdev || !pHandle || !pStride) { in gralloc_alloc()
471 grdev, pHandle, pStride); in gralloc_alloc()
785 *pHandle = cb; in gralloc_alloc()