Home
last modified time | relevance | path

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

123

/hardware/qcom/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg_ionbuf.c61 p_buffer->alloc.len = p_buffer->size; in buffer_allocate()
62 p_buffer->alloc.align = 4096; in buffer_allocate()
63 p_buffer->alloc.flags = (cached) ? ION_FLAG_CACHED : 0; in buffer_allocate()
64 p_buffer->alloc.heap_id_mask = 0x1 << ION_IOMMU_HEAP_ID; in buffer_allocate()
73 p_buffer->alloc.len = (p_buffer->alloc.len + 4095U) & (~4095U); in buffer_allocate()
74 lrc = ioctl(p_buffer->ion_fd, ION_IOC_ALLOC, &p_buffer->alloc); in buffer_allocate()
77 p_buffer->alloc.len); in buffer_allocate()
81 p_buffer->ion_info_fd.handle = p_buffer->alloc.handle; in buffer_allocate()
91 l_buffer = mmap(NULL, p_buffer->alloc.len, PROT_READ | PROT_WRITE, in buffer_allocate()
/hardware/ti/omap3/dspbridge/inc/
Ddynamic_loader.h105 struct Dynamic_Loader_Allocate * alloc,
138 … struct Dynamic_Loader_Allocate * alloc, // the target memory allocator
168 struct Dynamic_Loader_Allocate * alloc,
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx/internal/
Dvpx_codec_internal.h464 struct vpx_codec_cx_pkt pkts[n];} alloc;}
467 (m)->alloc.head.cnt = 0,\
468 (m)->alloc.head.max = sizeof((m)->alloc.pkts) / sizeof((m)->alloc.pkts[0])
/hardware/qcom/camera/QCamera2/HAL/
DQCameraMem.cpp372 int QCameraMemory::alloc(int count, size_t size, unsigned int heap_id, in alloc() function in qcamera::QCameraMemory
459 struct ion_allocation_data alloc; in allocOneBuffer() local
469 memset(&alloc, 0, sizeof(alloc)); in allocOneBuffer()
470 alloc.len = size; in allocOneBuffer()
472 alloc.len = (alloc.len + 4095U) & (~4095U); in allocOneBuffer()
473 alloc.align = 4096; in allocOneBuffer()
475 alloc.flags = ION_FLAG_CACHED; in allocOneBuffer()
477 alloc.heap_id_mask = heap_id; in allocOneBuffer()
480 alloc.flags = ION_SECURE; in allocOneBuffer()
481 alloc.heap_id_mask = ION_HEAP(ION_CP_MM_HEAP_ID); in allocOneBuffer()
[all …]
/hardware/qcom/camera/QCamera2/stack/mm-jpeg-interface/inc/
Dmm_jpeg_ionbuf.h41 struct ion_allocation_data alloc; member
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx_mem/memory_manager/
Dhmm_alloc.c18 void *U(alloc)(U(descriptor) *desc, U(size_aau) n) { in U() argument
/hardware/broadcom/libbt/src/
Dhardware.c637 p_buf = (HC_BT_HDR *) bt_vendor_cbacks->alloc(BT_HC_HDR_SIZE + \ in hw_config_cback()
990 p_buf = (HC_BT_HDR *)bt_vendor_cbacks->alloc( in hw_sco_i2spcm_cfg_cback()
1024 p_buf = (HC_BT_HDR *)bt_vendor_cbacks->alloc( in hw_sco_i2spcm_cfg_cback()
1123 p_buf = (HC_BT_HDR *) bt_vendor_cbacks->alloc(BT_HC_HDR_SIZE + \ in hw_config_start()
1168 p_buf = (HC_BT_HDR *) bt_vendor_cbacks->alloc(BT_HC_HDR_SIZE + \ in hw_lpm_enable()
1342 p_buf = (HC_BT_HDR *)bt_vendor_cbacks->alloc(BT_HC_HDR_SIZE + cmd_u16); in hw_sco_i2spcm_config()
1410 p_buf = (HC_BT_HDR *)bt_vendor_cbacks->alloc( in hw_set_SCO_codec()
1606 p_buf = (HC_BT_HDR *) bt_vendor_cbacks->alloc(BT_HC_HDR_SIZE + \ in hw_epilog_process()
/hardware/intel/img/psb_video/src/
Dpsb_ws_driver.c94 .alloc = psb_alloc,
/hardware/qcom/display/msm8909/liboverlay/
DoverlayWriteback.cpp49 return alloc(size, isSecure); in manageMem()
52 bool WritebackMem::alloc(uint32_t size, bool isSecure) { in alloc() function in overlay::WritebackMem
DoverlayWriteback.h51 bool alloc(uint32_t size, bool isSecure);
/hardware/qcom/display/msm8994/liboverlay/
DoverlayWriteback.cpp49 return alloc(size, isSecure); in manageMem()
52 bool WritebackMem::alloc(uint32_t size, bool isSecure) { in alloc() function in overlay::WritebackMem
DoverlayWriteback.h51 bool alloc(uint32_t size, bool isSecure);
/hardware/qcom/display/msm8084/liboverlay/
DoverlayWriteback.cpp49 return alloc(size, isSecure); in manageMem()
52 bool WritebackMem::alloc(uint32_t size, bool isSecure) { in alloc() function in overlay::WritebackMem
DoverlayWriteback.h51 bool alloc(uint32_t size, bool isSecure);
/hardware/qcom/display/msm8226/liboverlay/
DoverlayWriteback.cpp49 return alloc(size, isSecure); in manageMem()
52 bool WritebackMem::alloc(uint32_t size, bool isSecure) { in alloc() function in overlay::WritebackMem
DoverlayWriteback.h51 bool alloc(uint32_t size, bool isSecure);
/hardware/intel/img/hwcomposer/merrifield/common/buffers/
DBufferManager.cpp237 status_t err = mAllocDev->alloc( in allocFrameBuffer()
329 status_t err = mAllocDev->alloc( in allocGrallocBuffer()
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/buffers/
DBufferManager.cpp237 status_t err = mAllocDev->alloc( in allocFrameBuffer()
329 status_t err = mAllocDev->alloc( in allocGrallocBuffer()
/hardware/intel/common/libwsbm/src/
Dwsbm_driver.h92 struct _ValidateNode *(*alloc) (struct _WsbmVNodeFuncs *, int); member
/hardware/qcom/bt/msm8996/libbt-vendor/src/
Dhardware.c152 p_buf = (HC_BT_HDR *) bt_vendor_cbacks->alloc(BT_HC_HDR_SIZE + \ in hw_epilog_process()
/hardware/qcom/bt/msm8992/libbt-vendor/src/
Dhardware.c152 p_buf = (HC_BT_HDR *) bt_vendor_cbacks->alloc(BT_HC_HDR_SIZE + \ in hw_epilog_process()
/hardware/qcom/bt/msm8960/libbt-vendor/src/
Dhardware.c153 p_buf = (HC_BT_HDR *) bt_vendor_cbacks->alloc(BT_HC_HDR_SIZE + \ in hw_epilog_process()
/hardware/qcom/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_app.c122 struct ion_allocation_data alloc; in mm_app_allocate_ion_memory() local
133 memset(&alloc, 0, sizeof(alloc)); in mm_app_allocate_ion_memory()
134 alloc.len = buf->mem_info.size; in mm_app_allocate_ion_memory()
136 alloc.len = (alloc.len + 4095U) & (~4095U); in mm_app_allocate_ion_memory()
137 alloc.align = 4096; in mm_app_allocate_ion_memory()
138 alloc.flags = ION_FLAG_CACHED; in mm_app_allocate_ion_memory()
139 alloc.heap_id_mask = ION_HEAP(ION_SYSTEM_HEAP_ID); in mm_app_allocate_ion_memory()
140 rc = ioctl(main_ion_fd, ION_IOC_ALLOC, &alloc); in mm_app_allocate_ion_memory()
147 ion_info_fd.handle = alloc.handle; in mm_app_allocate_ion_memory()
155 alloc.len, in mm_app_allocate_ion_memory()
[all …]
/hardware/qcom/bt/msm8909/libbt-vendor/src/
Dhardware.c165 p_buf = (HC_BT_HDR *) bt_vendor_cbacks->alloc(BT_HC_HDR_SIZE + \ in hw_epilog_process()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx_mem/memory_manager/include/
Dheapmm.h116 void *HMM_UNIQUE(alloc)(

123