Searched defs:device (Results 1 - 25 of 97) sorted by last modified time

1234

/hardware/ti/omap4xxx/camera/
H A DCameraHal_Module.cpp39 hw_device_t** device);
40 static int camera_device_close(hw_device_t* device);
75 int camera_set_preview_window(struct camera_device * device, argument
83 if(!device)
86 ti_dev = (ti_camera_device_t*) device;
93 void camera_set_callbacks(struct camera_device * device, argument
104 if(!device)
107 ti_dev = (ti_camera_device_t*) device;
112 void camera_enable_msg_type(struct camera_device * device, int32_t msg_type) argument
118 if(!device)
126 camera_disable_msg_type(struct camera_device * device, int32_t msg_type) argument
140 camera_msg_type_enabled(struct camera_device * device, int32_t msg_type) argument
154 camera_start_preview(struct camera_device * device) argument
171 camera_stop_preview(struct camera_device * device) argument
185 camera_preview_enabled(struct camera_device * device) argument
201 camera_store_meta_data_in_buffers(struct camera_device * device, int enable) argument
219 camera_start_recording(struct camera_device * device) argument
235 camera_stop_recording(struct camera_device * device) argument
249 camera_recording_enabled(struct camera_device * device) argument
265 camera_release_recording_frame(struct camera_device * device, const void *opaque) argument
280 camera_auto_focus(struct camera_device * device) argument
296 camera_cancel_auto_focus(struct camera_device * device) argument
312 camera_take_picture(struct camera_device * device) argument
328 camera_cancel_picture(struct camera_device * device) argument
344 camera_set_parameters(struct camera_device * device, const char *params) argument
360 camera_get_parameters(struct camera_device * device) argument
377 camera_put_parameters(struct camera_device *device, char *parms) argument
391 camera_send_command(struct camera_device * device, int32_t cmd, int32_t arg1, int32_t arg2) argument
408 camera_release(struct camera_device * device) argument
422 camera_dump(struct camera_device * device, int fd) argument
438 camera_device_close(hw_device_t* device) argument
483 camera_device_open(const hw_module_t* module, const char* name, hw_device_t** device) argument
[all...]
/hardware/ti/omap4xxx/camera/V4LCameraAdapter/
H A DV4LCameraAdapter.cpp59 const char *device = DEVICE; member in namespace:android
81 if ((mCameraHandle = open(device, O_RDWR)) == -1)
102 CAMHAL_LOGEA("Error while adapter initialization: Capture device does not support streaming i/o");
/hardware/ti/omap4xxx/hwc/
H A Dhwc.c1680 static int omap4_hwc_device_close(hw_device_t* device) argument
1682 omap4_hwc_device_t *hwc_dev = (omap4_hwc_device_t *) device;;
1789 /* hwc_dev->procs is set right after the device is opened, but there is
1967 hw_device_t** device)
2007 *device = &hwc_dev->base.common;
1966 omap4_hwc_device_open(const hw_module_t* module, const char* name, hw_device_t** device) argument
/hardware/samsung_slsi/exynos5/gralloc/
H A Dframebuffer.cpp59 framebuffer_device_t device; member in struct:fb_context_t
210 hw_device_t** device)
224 ALOGE("Fail to Open gralloc device");
270 *device = &dev->common;
209 fb_device_open(hw_module_t const* module, const char* name, hw_device_t** device) argument
H A Dgralloc.cpp60 alloc_device_t device; member in struct:gralloc_context_t
70 hw_device_t** device);
73 hw_device_t** device);
417 hw_device_t** device)
428 dev->device.common.tag = HARDWARE_DEVICE_TAG;
429 dev->device.common.version = 0;
430 dev->device.common.module = const_cast<hw_module_t*>(module);
431 dev->device.common.close = gralloc_close;
433 dev->device.alloc = gralloc_alloc;
434 dev->device
416 gralloc_device_open(const hw_module_t* module, const char* name, hw_device_t** device) argument
[all...]
/hardware/samsung_slsi/exynos5/include/
H A Dmedia.h82 __u32 device; member in struct:media_entity_desc::__anon1466::__anon1469
/hardware/samsung_slsi/exynos5/libcamera/
H A DExynosCameraHWInterface.cpp4135 /** Close this device */
4139 static int HAL_camera_device_close(struct hw_device_t* device) argument
4142 if (device) {
4143 camera_device_t *cam_device = (camera_device_t *)device;
4477 struct hw_device_t** device)
4514 *device = (hw_device_t *)g_cam_device;
4515 ALOGV("DEBUG(%s):opened camera %s (%p)", __func__, id, *device);
4475 HAL_camera_device_open(const struct hw_module_t* module, const char *id, struct hw_device_t** device) argument
/hardware/samsung_slsi/exynos5/libcamera2/
H A DExynosCameraHWInterface2.cpp6162 static int HAL2_camera_device_close(struct hw_device_t* device) argument
6166 if (device) {
6168 camera2_device_t *cam_device = (camera2_device_t *)device;
6407 struct hw_device_t** device)
6430 ALOGD("(%s): START waiting for cam device free", __FUNCTION__);
6433 ALOGD("(%s): END waiting for cam device free", __FUNCTION__);
6458 *device = (hw_device_t *)g_cam2_device;
6459 ALOGV("DEBUG(%s):opened camera2 %s (%p)", __FUNCTION__, id, *device);
6405 HAL2_camera_device_open(const struct hw_module_t* module, const char *id, struct hw_device_t** device) argument
/hardware/samsung_slsi/exynos5/libhwc/
H A Dhwc.cpp1740 /* hwc_dev->procs is set right after the device is opened, but there is
2007 static int exynos5_close(hw_device_t* device);
2056 struct hw_device_t **device)
2128 ALOGE("failed to open hdmi layer0 device");
2136 ALOGE("failed to open hdmi layer1 device");
2175 *device = &dev->base.common;
2208 static int exynos5_close(hw_device_t *device) argument
2211 (struct exynos5_hwc_composer_device_1_t *)device;
2055 exynos5_open(const struct hw_module_t *module, const char *name, struct hw_device_t **device) argument
/hardware/samsung_slsi/exynos5/libkeymaster/
H A Dkeymaster_mobicore.cpp427 * Generic device handling
430 hw_device_t** device) {
456 *device = reinterpret_cast<hw_device_t*>(dev.release());
429 exynos_km_open(const hw_module_t* module, const char* name, hw_device_t** device) argument
/hardware/samsung_slsi/exynos5/libv4l2/
H A Dexynos_mc.c205 ALOGE("Open sysfs media device failed, media->fd: %d", media->fd);
255 /* Find the corresponding device name. */
260 /* Fall back to get the device name via sysfs */
286 ALOGD("%s: Opening media device %s", __func__, filename);
300 ALOGE("Unable to enumerate entities for device %s (%s)", filename, strerror(-ret));
310 ALOGE("Unable to enumerate pads and links for device %s", filename);
319 * @brief Open a media device.
320 * @param filename - name (including path) of the device node.
322 * Open the media device referenced by @a filename and enumerate entities, pads and
327 * exynos_media_close when the device is
561 struct udev_device *device; local
[all...]
/hardware/samsung_slsi/exynos5/mobicore/daemon/ClientLib/
H A DClientLib.cpp77 Device *device = (*iterator); local
79 if (device->deviceId == deviceId) {
80 return device;
88 void addDevice(Device *device) argument
90 devices.push_back(device);
100 Device *device = (*iterator); local
102 if (device->deviceId == deviceId) {
104 delete device;
116 #define CHECK_DEVICE(device) \
117 if (NULL == device) \
184 Device *device = resolveDeviceId(deviceId); local
266 Device *device = resolveDeviceId(deviceId); local
322 Device *device = resolveDeviceId(session->deviceId); local
469 Device *device = resolveDeviceId(session->deviceId); local
518 Device *device = resolveDeviceId(session->deviceId); local
555 Device *device = resolveDeviceId(session->deviceId); local
637 Device *device = resolveDeviceId(deviceId); local
667 Device *device; local
723 Device *device = resolveDeviceId(sessionHandle->deviceId); local
809 Device *device = resolveDeviceId(sessionHandle->deviceId); local
881 Device *device = resolveDeviceId(session->deviceId); local
920 Device *device = resolveDeviceId(deviceId); local
[all...]
/hardware/samsung_slsi/exynos5/mobicore/daemon/Daemon/
H A DMobiCoreDriverDaemon.cpp93 // Unload any device drivers might have been loaded
158 // Load device driver if requested
199 MobiCoreDevice *device = (MobiCoreDevice *) (connection->connectionData); local
201 if (device != NULL) {
202 LOG_I("dropConnection(): closing still open device.");
204 device->close(connection);
344 LOG_V("%s: no device associated with connection",__FUNCTION__); \
357 // Check if device has been registered to the connection
358 MobiCoreDevice *device = (MobiCoreDevice *) (connection->connectionData); local
359 if (NULL != device) {
393 MobiCoreDevice *device = (MobiCoreDevice *) (connection->connectionData); local
414 MobiCoreDevice *device = (MobiCoreDevice *) (connection->connectionData); local
482 MobiCoreDevice *device = (MobiCoreDevice *) (connection->connectionData); local
505 MobiCoreDevice *device = (MobiCoreDevice *)(connection->connectionData); local
566 MobiCoreDevice *device = (MobiCoreDevice *) (connection->connectionData); local
591 MobiCoreDevice *device = (MobiCoreDevice *) (connection->connectionData); local
633 MobiCoreDevice *device = (MobiCoreDevice *) (connection->connectionData); local
674 MobiCoreDevice *device = (MobiCoreDevice *) (connection->connectionData); local
[all...]
/hardware/samsung_slsi/exynos5/original-kernel-headers/linux/
H A Dmedia.h2 * Multimedia device API
86 __u32 device; member in struct:media_entity_desc::__anon1882::__anon1885
91 /* Sub-device specifications */
/hardware/qcom/msm8960/kernel-headers/linux/
H A Dmsm_audio.h207 uint32_t device; member in struct:msm_snd_device_config
216 uint32_t device; member in struct:msm_snd_volume_config
/hardware/qcom/msm8960/original-kernel-headers/linux/
H A Dmsm_audio.h118 /* device switching context. Only supported */
218 uint32_t device; member in struct:msm_snd_device_config
228 uint32_t device; member in struct:msm_snd_volume_config
308 uint32_t dev_cap; /* bitmask describe capability of device */
313 uint32_t num_dev; /* Indicate number of device info to be retrieved */
/hardware/qcom/msm8x74/kernel-headers/linux/
H A Dmsm_audio.h207 uint32_t device; member in struct:msm_snd_device_config
230 struct cad_devices_type device; member in struct:msm_cad_device_config
240 uint32_t device; member in struct:msm_snd_volume_config
247 struct cad_devices_type device; member in struct:msm_cad_volume_config
/hardware/qcom/msm8x74/original-kernel-headers/linux/
H A Dmsm_audio.h118 /* device switching context. Only supported */
218 uint32_t device; member in struct:msm_snd_device_config
240 struct cad_devices_type device; member in struct:msm_cad_device_config
251 uint32_t device; member in struct:msm_snd_volume_config
259 struct cad_devices_type device; member in struct:msm_cad_volume_config
357 uint32_t dev_cap; /* bitmask describe capability of device */
362 uint32_t num_dev; /* Indicate number of device info to be retrieved */
/hardware/qcom/display/msm8960/libcopybit/
H A Dcopybit.cpp57 /** State information for each device instance */
59 struct copybit_device_t device; member in struct:copybit_context_t
71 struct hw_device_t** device);
514 /** Close the copybit device */
525 /** Open a new instance of a copybit device using name */
527 struct hw_device_t** device)
534 ctx->device.common.tag = HARDWARE_DEVICE_TAG;
535 ctx->device.common.version = 1;
536 ctx->device.common.module = const_cast<hw_module_t*>(module);
537 ctx->device
[all...]
H A Dcopybit.h38 * Name of the graphics device to open
171 * Every device data structure must begin with hw_device_t
259 /** convenience API for opening and closing a device */
262 struct copybit_device_t** device) {
264 COPYBIT_HARDWARE_COPYBIT0, (struct hw_device_t**)device);
267 static inline int copybit_close(struct copybit_device_t* device) { argument
268 return device->common.close(&device->common);
261 copybit_open(const struct hw_module_t* module, struct copybit_device_t** device) argument
H A Dcopybit_c2d.cpp136 /** State information for each device instance */
138 struct copybit_device_t device; member in struct:copybit_context_t
192 struct hw_device_t** device);
1445 /** Close the copybit device */
1457 /** Open a new instance of a copybit device using name */
1459 struct hw_device_t** device)
1480 *device = NULL;
1515 *device = NULL;
1519 ctx->device.common.tag = HARDWARE_DEVICE_TAG;
1520 ctx->device
1458 open_copybit(const struct hw_module_t* module, const char* name, struct hw_device_t** device) argument
[all...]
/hardware/qcom/display/msm8960/libgralloc/
H A Dframebuffer.cpp60 framebuffer_device_t device; member in struct:fb_context_t
357 hw_device_t** device)
371 dev->device.common.tag = HARDWARE_DEVICE_TAG;
372 dev->device.common.version = 0;
373 dev->device.common.module = const_cast<hw_module_t*>(module);
374 dev->device.common.close = fb_close;
375 dev->device.setSwapInterval = fb_setSwapInterval;
376 dev->device.post = fb_post;
377 dev->device.setUpdateRect = 0;
378 dev->device
356 fb_device_open(hw_module_t const* module, const char* name, hw_device_t** device) argument
[all...]
H A Dgralloc.cpp37 hw_device_t** device);
40 hw_device_t** device);
98 // Open Gralloc device
100 hw_device_t** device)
109 *device = &dev->common;
112 status = fb_device_open(module, name, device);
99 gralloc_device_open(const hw_module_t* module, const char* name, hw_device_t** device) argument
/hardware/qcom/display/msm8960/libhwcomposer/
H A Dhwc.cpp45 struct hw_device_t** device);
592 ALOGE("%s: NULL device pointer", __FUNCTION__);
602 struct hw_device_t** device)
615 dev->device.common.tag = HARDWARE_DEVICE_TAG;
616 dev->device.common.version = HWC_DEVICE_API_VERSION_1_2;
617 dev->device.common.module = const_cast<hw_module_t*>(module);
618 dev->device.common.close = hwc_device_close;
619 dev->device.prepare = hwc_prepare;
620 dev->device.set = hwc_set;
621 dev->device
601 hwc_device_open(const struct hw_module_t* module, const char* name, struct hw_device_t** device) argument
[all...]
H A Dhwc_utils.h301 hwc_composer_device_1_t device; member in struct:hwc_context_t

Completed in 2260 milliseconds

1234