Searched refs:handle (Results 101 - 125 of 681) sorted by relevance

1234567891011>>

/hardware/intel/img/hwcomposer/merrifield/ips/common/
H A DWsbmWrapper.h30 extern int psbWsbmWrapTTMBuffer(uint64_t handle, void **buf);
31 extern int psbWsbmWrapTTMBuffer2(uint64_t handle, void **buf);
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/buffers/
H A DBufferCache.h31 virtual bool addMapper(uint64_t handle, BufferMapper* mapper);
35 virtual BufferMapper* getMapper(uint64_t handle);
H A DBufferManager.cpp120 d.append("Buffer %d: handle %#x, (%dx%d), format %d, refCount %d\n",
131 DataBuffer* BufferManager::lockDataBuffer(uint32_t handle) argument
134 mDataBuffer->resetBuffer(handle);
143 DataBuffer* BufferManager::get(uint32_t handle) argument
145 return createDataBuffer(handle);
236 uint32_t handle = 0; local
243 (buffer_handle_t *)&handle,
255 buffer = lockDataBuffer(handle);
257 ELOGTRACE("failed to get data buffer, handle = %#x", handle);
305 uint32_t handle = mapper->getHandle(); local
327 uint32_t handle = 0; local
345 freeGrallocBuffer(uint32_t handle) argument
[all...]
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/common/
H A DWsbmWrapper.h30 extern int psbWsbmWrapTTMBuffer(uint32_t handle, void **buf);
31 extern int psbWsbmWrapTTMBuffer2(uint32_t handle, void **buf);
/hardware/invensense/6515/libsensors_iio/
H A DCompassSensor.AKM.cpp72 * @param[in] handle which sensor to enable/disable.
76 int CompassSensor::enable(int32_t handle, int en) argument
81 return mCompassSensor->setEnable(handle, en);
84 int CompassSensor::setDelay(int32_t handle, int64_t ns) argument
89 return mCompassSensor->setDelay(handle, ns);
96 int CompassSensor::getEnable(int32_t handle) argument
101 return mCompassSensor->getEnable(handle);
108 int64_t CompassSensor::getDelay(int32_t handle) argument
113 return mCompassSensor->getDelay(handle);
H A Dsensors_mpl.cpp59 int handle; member in struct:handle_entry
114 int activate(int handle, int enabled);
115 int setDelay(int handle, int64_t ns);
118 int batch(int handle, int flags, int64_t period_ns, int64_t timeout);
120 int flush(int handle);
199 int sensors_poll_context_t::activate(int handle, int enabled) { argument
203 err = mSensor->enable(handle, enabled);
207 int sensors_poll_context_t::setDelay(int handle, int64_t ns) argument
210 return mSensor->setDelay(handle, ns);
237 flushCompleteEvent.meta_data.sensor = handle_element->handle;
357 batch(int handle, int flags, int64_t period_ns, int64_t timeout) argument
366 inv_pending_flush(int handle) argument
380 flush(int handle) argument
399 poll__activate(struct sensors_poll_device_t *dev, int handle, int enabled) argument
406 poll__setDelay(struct sensors_poll_device_t *dev, int handle, int64_t ns) argument
428 poll__batch(struct sensors_poll_device_1 *dev, int handle, int flags, int64_t period_ns, int64_t timeout) argument
436 poll__flush(struct sensors_poll_device_1 *dev, int handle) argument
[all...]
/hardware/invensense/65xx/libsensors_iio/
H A DCompassSensor.AKM.cpp72 * @param[in] handle which sensor to enable/disable.
76 int CompassSensor::enable(int32_t handle, int en) argument
81 return mCompassSensor->setEnable(handle, en);
84 int CompassSensor::setDelay(int32_t handle, int64_t ns) argument
89 return mCompassSensor->setDelay(handle, ns);
96 int CompassSensor::getEnable(int32_t handle) argument
101 return mCompassSensor->getEnable(handle);
108 int64_t CompassSensor::getDelay(int32_t handle) argument
113 return mCompassSensor->getDelay(handle);
/hardware/qcom/camera/QCamera2/stack/mm-jpeg-interface/src/
H A Dmm_jpeg_ionbuf.c81 p_buffer->ion_info_fd.handle = p_buffer->alloc.handle;
103 lhandle_data.handle = p_buffer->ion_info_fd.handle;
133 lhandle_data.handle = p_buffer->ion_info_fd.handle;
162 cache_inv_data.handle = p_buffer->ion_info_fd.handle;
/hardware/qcom/gps/loc_api/libloc_api-rpc/gen-1240/
H A Dloc_api.xdr59 rpc_loc_client_handle_type handle;
63 rpc_loc_client_handle_type handle;
67 rpc_loc_client_handle_type handle;
71 rpc_loc_client_handle_type handle;
/hardware/qcom/gps/loc_api/libloc_api-rpc/gen-3200/
H A Dloc_api.xdr68 rpc_loc_client_handle_type handle;
72 rpc_loc_client_handle_type handle;
76 rpc_loc_client_handle_type handle;
80 rpc_loc_client_handle_type handle;
/hardware/qcom/gps/msm8084/loc_api/libloc_api-rpc/gen-1240/
H A Dloc_api.xdr59 rpc_loc_client_handle_type handle;
63 rpc_loc_client_handle_type handle;
67 rpc_loc_client_handle_type handle;
71 rpc_loc_client_handle_type handle;
/hardware/qcom/gps/msm8084/loc_api/libloc_api-rpc/gen-3200/
H A Dloc_api.xdr68 rpc_loc_client_handle_type handle;
72 rpc_loc_client_handle_type handle;
76 rpc_loc_client_handle_type handle;
80 rpc_loc_client_handle_type handle;
/hardware/qcom/gps/msm8994/loc_api/libloc_api-rpc/gen-1240/
H A Dloc_api.xdr59 rpc_loc_client_handle_type handle;
63 rpc_loc_client_handle_type handle;
67 rpc_loc_client_handle_type handle;
71 rpc_loc_client_handle_type handle;
/hardware/qcom/gps/msm8994/loc_api/libloc_api-rpc/gen-3200/
H A Dloc_api.xdr68 rpc_loc_client_handle_type handle;
72 rpc_loc_client_handle_type handle;
76 rpc_loc_client_handle_type handle;
80 rpc_loc_client_handle_type handle;
/hardware/qcom/wlan/qcwcn/wifi_hal/
H A Drssi_monitor.h44 RSSIMonitorCommand(wifi_handle handle, int id, u32 vendor_id, u32 subcmd);
48 static RSSIMonitorCommand* instance(wifi_handle handle, wifi_request_id id);
/hardware/intel/common/utils/ISV/base/
H A Disv_bufmanager.cpp165 status_t ISVBufferManager::freeBuffer(unsigned long handle) argument
170 if (isvBuffer->getHandle() == handle) {
173 ALOGD_IF(ISV_BUFFER_MANAGER_DEBUG, "%s: remove handle 0x%08lx, and then mBuffers.size() %d", __func__,
174 handle, mBuffers.size());
179 ALOGW("%s: can't find buffer %lu", __func__, handle);
183 status_t ISVBufferManager::useBuffer(unsigned long handle) argument
186 if (handle == 0 || mBuffers.size() >= mBuffers.capacity())
191 if (isvBuffer->getHandle() == handle) {
192 ALOGE("%s: this buffer 0x%08lx has already been registered", __func__, handle);
197 ISVBuffer* isvBuffer = new ISVBuffer(mWorker, handle,
240 mapBuffer(unsigned long handle) argument
[all...]
/hardware/intel/img/hwcomposer/merrifield/common/buffers/
H A DBufferManager.cpp120 d.append("Buffer %d: handle %#x, (%dx%d), format %d, refCount %d\n",
131 DataBuffer* BufferManager::lockDataBuffer(buffer_handle_t handle) argument
134 mDataBuffer->resetBuffer(handle);
143 DataBuffer* BufferManager::get(buffer_handle_t handle) argument
145 return createDataBuffer(handle);
236 buffer_handle_t handle = 0; local
243 &handle,
255 buffer = lockDataBuffer(handle);
257 ETRACE("failed to get data buffer, handle = %p", handle);
305 buffer_handle_t handle = mapper->getHandle(); local
327 buffer_handle_t handle = 0; local
345 freeGrallocBuffer(buffer_handle_t handle) argument
[all...]
/hardware/ti/omap4-aah/ion/
H A Dion_test.c29 int _ion_alloc_test(int *fd, struct ion_handle **handle) argument
39 handle, &stride);
41 ret = ion_alloc(*fd, len, align, alloc_flags, handle);
51 struct ion_handle *handle; local
53 if(_ion_alloc_test(&fd, &handle))
56 ret = ion_free(fd, handle);
58 printf("%s failed: %s %p\n", __func__, strerror(ret), handle);
88 struct ion_handle *handle; local
91 if(_ion_alloc_test(&fd, &handle))
96 ret = ion_map(fd, handle, le
135 struct ion_handle *handle; local
[all...]
/hardware/qcom/display/msm8994/libgralloc/
H A Dmapper.cpp58 static int gralloc_map_metadata(buffer_handle_t handle) { argument
59 private_handle_t* hnd = (private_handle_t*)handle;
70 ALOGE("Could not mmap metadata for handle %p, fd=%d (%s)",
80 buffer_handle_t handle)
86 private_handle_t* hnd = (private_handle_t*)handle;
100 ALOGE("Could not mmap handle %p, fd=%d (%s)",
101 handle, hnd->fd, strerror(errno));
116 int metadata_err = gralloc_map_metadata(handle);
124 buffer_handle_t handle)
131 private_handle_t* hnd = (private_handle_t*)handle;
79 gralloc_map(gralloc_module_t const* module, buffer_handle_t handle) argument
123 gralloc_unmap(gralloc_module_t const* module, buffer_handle_t handle) argument
167 gralloc_register_buffer(gralloc_module_t const* module, buffer_handle_t handle) argument
180 gralloc_unregister_buffer(gralloc_module_t const* module, buffer_handle_t handle) argument
212 gralloc_map_and_invalidate(gralloc_module_t const* module, buffer_handle_t handle, int usage) argument
252 gralloc_lock(gralloc_module_t const* module, buffer_handle_t handle, int usage, int , int , int , int , void** vaddr) argument
265 gralloc_lock_ycbcr(gralloc_module_t const* module, buffer_handle_t handle, int usage, int , int , int , int , struct android_ycbcr *ycbcr) argument
278 gralloc_unlock(gralloc_module_t const* module, buffer_handle_t handle) argument
321 native_handle_t** handle = va_arg(args, native_handle_t**); local
[all...]
/hardware/qcom/display/msm8084/libgralloc/
H A Dmapper.cpp56 buffer_handle_t handle)
61 private_handle_t* hnd = (private_handle_t*)handle;
70 ALOGE("Could not mmap handle %p, fd=%d (%s)",
71 handle, hnd->fd, strerror(errno));
82 ALOGE("Could not mmap handle %p, fd=%d (%s)",
83 handle, hnd->fd_metadata, strerror(errno));
93 buffer_handle_t handle)
98 private_handle_t* hnd = (private_handle_t*)handle;
131 buffer_handle_t handle)
133 if (!module || private_handle_t::validate(handle) <
55 gralloc_map(gralloc_module_t const* module, buffer_handle_t handle) argument
92 gralloc_unmap(gralloc_module_t const* module, buffer_handle_t handle) argument
130 gralloc_register_buffer(gralloc_module_t const* module, buffer_handle_t handle) argument
157 gralloc_unregister_buffer(gralloc_module_t const* module, buffer_handle_t handle) argument
207 gralloc_map_and_invalidate(gralloc_module_t const* module, buffer_handle_t handle, int usage) argument
241 gralloc_lock(gralloc_module_t const* module, buffer_handle_t handle, int usage, int , int , int , int , void** vaddr) argument
253 gralloc_lock_ycbcr(gralloc_module_t const* module, buffer_handle_t handle, int usage, int , int , int , int , struct android_ycbcr *ycbcr) argument
265 gralloc_unlock(gralloc_module_t const* module, buffer_handle_t handle) argument
317 native_handle_t** handle = va_arg(args, native_handle_t**); local
[all...]
/hardware/qcom/display/msm8226/libgralloc/
H A Dmapper.cpp56 buffer_handle_t handle)
61 private_handle_t* hnd = (private_handle_t*)handle;
70 ALOGE("Could not mmap handle %p, fd=%d (%s)",
71 handle, hnd->fd, strerror(errno));
82 ALOGE("Could not mmap handle %p, fd=%d (%s)",
83 handle, hnd->fd_metadata, strerror(errno));
93 buffer_handle_t handle)
98 private_handle_t* hnd = (private_handle_t*)handle;
131 buffer_handle_t handle)
133 if (!module || private_handle_t::validate(handle) <
55 gralloc_map(gralloc_module_t const* module, buffer_handle_t handle) argument
92 gralloc_unmap(gralloc_module_t const* module, buffer_handle_t handle) argument
130 gralloc_register_buffer(gralloc_module_t const* module, buffer_handle_t handle) argument
157 gralloc_unregister_buffer(gralloc_module_t const* module, buffer_handle_t handle) argument
207 gralloc_map_and_invalidate(gralloc_module_t const* module, buffer_handle_t handle, int usage) argument
241 gralloc_lock(gralloc_module_t const* module, buffer_handle_t handle, int usage, int , int , int , int , void** vaddr) argument
253 gralloc_lock_ycbcr(gralloc_module_t const* module, buffer_handle_t handle, int usage, int , int , int , int , struct android_ycbcr *ycbcr) argument
265 gralloc_unlock(gralloc_module_t const* module, buffer_handle_t handle) argument
317 native_handle_t** handle = va_arg(args, native_handle_t**); local
[all...]
/hardware/qcom/display/msm8909/libgralloc/
H A Dmapper.cpp59 buffer_handle_t handle)
65 private_handle_t* hnd = (private_handle_t*)handle;
77 ALOGE("Could not mmap handle %p, fd=%d (%s)",
78 handle, hnd->fd, strerror(errno));
93 ALOGE("Could not mmap handle %p, fd=%d (%s)",
94 handle, hnd->fd_metadata, strerror(errno));
104 buffer_handle_t handle)
110 private_handle_t* hnd = (private_handle_t*)handle;
143 buffer_handle_t handle)
146 if (!module || private_handle_t::validate(handle) <
58 gralloc_map(gralloc_module_t const* module, buffer_handle_t handle) argument
103 gralloc_unmap(gralloc_module_t const* module, buffer_handle_t handle) argument
142 gralloc_register_buffer(gralloc_module_t const* module, buffer_handle_t handle) argument
170 gralloc_unregister_buffer(gralloc_module_t const* module, buffer_handle_t handle) argument
222 gralloc_map_and_invalidate(gralloc_module_t const* module, buffer_handle_t handle, int usage) argument
262 gralloc_lock(gralloc_module_t const* module, buffer_handle_t handle, int usage, int , int , int , int , void** vaddr) argument
275 gralloc_lock_ycbcr(gralloc_module_t const* module, buffer_handle_t handle, int usage, int , int , int , int , struct android_ycbcr *ycbcr) argument
288 gralloc_unlock(gralloc_module_t const* module, buffer_handle_t handle) argument
331 native_handle_t** handle = va_arg(args, native_handle_t**); local
[all...]
/hardware/qcom/display/msm8960/libgralloc/
H A Dmapper.cpp58 buffer_handle_t handle)
60 private_handle_t* hnd = (private_handle_t*)handle;
69 ALOGE("Could not mmap handle %p, fd=%d (%s)",
70 handle, hnd->fd, strerror(errno));
81 ALOGE("Could not mmap handle %p, fd=%d (%s)",
82 handle, hnd->fd_metadata, strerror(errno));
92 buffer_handle_t handle)
94 private_handle_t* hnd = (private_handle_t*)handle;
127 buffer_handle_t handle)
129 if (private_handle_t::validate(handle) <
57 gralloc_map(gralloc_module_t const* module, buffer_handle_t handle) argument
91 gralloc_unmap(gralloc_module_t const* module, buffer_handle_t handle) argument
126 gralloc_register_buffer(gralloc_module_t const* module, buffer_handle_t handle) argument
153 gralloc_unregister_buffer(gralloc_module_t const* module, buffer_handle_t handle) argument
200 gralloc_map_and_invalidate(gralloc_module_t const* module, buffer_handle_t handle, int usage, int l, int t, int w, int h) argument
234 gralloc_lock(gralloc_module_t const* module, buffer_handle_t handle, int usage, int l, int t, int w, int h, void** vaddr) argument
246 gralloc_lock_ycbcr(gralloc_module_t const* module, buffer_handle_t handle, int usage, int l, int t, int w, int h, struct android_ycbcr *ycbcr) argument
301 gralloc_unlock(gralloc_module_t const* module, buffer_handle_t handle) argument
347 native_handle_t** handle = va_arg(args, native_handle_t**); local
[all...]
/hardware/qcom/keymaster/
H A Dkeymaster_qcom.cpp66 int (*QSEECom_start_app)(struct QSEECom_handle ** handle, char* path,
68 int (*QSEECom_shutdown_app)(struct QSEECom_handle **handle);
69 int (*QSEECom_send_cmd)(struct QSEECom_handle* handle, void *cbuf,
71 int (*QSEECom_send_modified_cmd)(struct QSEECom_handle* handle, void *cbuf,
74 int (*QSEECom_set_bandwidth)(struct QSEECom_handle* handle, bool high);
192 static int32_t qcom_km_ION_memalloc(struct qcom_km_ion_info_t *handle, argument
208 if(handle == NULL){
209 ALOGE("Error:: null handle received");
217 handle->ion_sbuffer = NULL;
218 handle
294 qcom_km_ion_dealloc(struct qcom_km_ion_info_t *handle) argument
339 struct QSEECom_handle *handle = NULL; local
418 struct QSEECom_handle *handle = NULL; local
499 struct QSEECom_handle *handle = NULL; local
598 struct QSEECom_handle *handle = NULL; local
[all...]
/hardware/intel/img/hwcomposer/merrifield/include/
H A DBufferManager.h43 DataBuffer* lockDataBuffer(buffer_handle_t handle);
48 DataBuffer* get(buffer_handle_t handle);
61 void freeGrallocBuffer(buffer_handle_t handle);
65 virtual DataBuffer* createDataBuffer(buffer_handle_t handle) = 0;

Completed in 2176 milliseconds

1234567891011>>