Home
last modified time | relevance | path

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

/device/linaro/hikey/audio/
Daudio_hw.c65 struct audio_hw_device hw_device; member
653 adev->hw_device.common.tag = HARDWARE_DEVICE_TAG; in adev_open()
654 adev->hw_device.common.version = AUDIO_DEVICE_API_VERSION_2_0; in adev_open()
655 adev->hw_device.common.module = (struct hw_module_t *) module; in adev_open()
656 adev->hw_device.common.close = adev_close; in adev_open()
657 adev->hw_device.init_check = adev_init_check; in adev_open()
658 adev->hw_device.set_voice_volume = adev_set_voice_volume; in adev_open()
659 adev->hw_device.set_master_volume = adev_set_master_volume; in adev_open()
660 adev->hw_device.get_master_volume = adev_get_master_volume; in adev_open()
661 adev->hw_device.set_master_mute = adev_set_master_mute; in adev_open()
[all …]
/device/huawei/angler/camera/QCamera2/
DQCamera2Factory.cpp309 struct hw_device_t **hw_device) in cameraDeviceOpen() argument
327 rc = hw->openCamera(hw_device); in cameraDeviceOpen()
337 rc = hw->openCamera(hw_device); in cameraDeviceOpen()
367 struct hw_device_t **hw_device) in camera_device_open() argument
378 return gQCamera2Factory->cameraDeviceOpen(atoi(id), hw_device); in camera_device_open()
399 int32_t cameraId, uint32_t halVersion, struct hw_device_t** hw_device) in openLegacy() argument
418 rc = hw->openCamera(hw_device); in openLegacy()
DQCamera2Factory.h61 int cameraDeviceOpen(int camera_id, struct hw_device_t **hw_device);
63 struct hw_device_t **hw_device);
65 int32_t cameraId, uint32_t halVersion, struct hw_device_t** hw_device);
/device/lge/bullhead/camera/QCamera2/
DQCamera2Factory.cpp309 struct hw_device_t **hw_device) in cameraDeviceOpen() argument
327 rc = hw->openCamera(hw_device); in cameraDeviceOpen()
337 rc = hw->openCamera(hw_device); in cameraDeviceOpen()
367 struct hw_device_t **hw_device) in camera_device_open() argument
378 return gQCamera2Factory->cameraDeviceOpen(atoi(id), hw_device); in camera_device_open()
399 int32_t cameraId, uint32_t halVersion, struct hw_device_t** hw_device) in openLegacy() argument
418 rc = hw->openCamera(hw_device); in openLegacy()
DQCamera2Factory.h61 int cameraDeviceOpen(int camera_id, struct hw_device_t **hw_device);
63 struct hw_device_t **hw_device);
65 int32_t cameraId, uint32_t halVersion, struct hw_device_t** hw_device);
/device/moto/shamu/camera/QCamera2/
DQCamera2Factory.cpp301 struct hw_device_t **hw_device) in cameraDeviceOpen() argument
319 rc = hw->openCamera(hw_device); in cameraDeviceOpen()
329 rc = hw->openCamera(hw_device); in cameraDeviceOpen()
359 struct hw_device_t **hw_device) in camera_device_open() argument
370 return gQCamera2Factory->cameraDeviceOpen(atoi(id), hw_device); in camera_device_open()
DQCamera2Factory.h61 int cameraDeviceOpen(int camera_id, struct hw_device_t **hw_device);
63 struct hw_device_t **hw_device);
/device/moto/shamu/camera/QCamera/HAL/wrapper/
DQualcommCamera.cpp198 struct hw_device_t** hw_device) in camera_device_open() argument
206 if(is_mpq && module && id && hw_device) in camera_device_open()
207 return usbcam_camera_device_open(module, id, hw_device); in camera_device_open()
210 if(module && id && hw_device) { in camera_device_open()
217 *hw_device = NULL; in camera_device_open()
242 *hw_device = (hw_device_t*)&device->common; in camera_device_open()
/device/lge/bullhead/camera/QCamera2/HAL/wrapper/
DQualcommCamera.cpp128 struct hw_device_t** hw_device) in camera_device_open() argument
133 if(module && id && hw_device) { in camera_device_open()
140 *hw_device = NULL; in camera_device_open()
166 *hw_device = (hw_device_t*)&device->common; in camera_device_open()
/device/moto/shamu/camera/QCamera2/HAL/wrapper/
DQualcommCamera.cpp128 struct hw_device_t** hw_device) in camera_device_open() argument
133 if(module && id && hw_device) { in camera_device_open()
140 *hw_device = NULL; in camera_device_open()
166 *hw_device = (hw_device_t*)&device->common; in camera_device_open()
/device/huawei/angler/camera/QCamera2/HAL/wrapper/
DQualcommCamera.cpp128 struct hw_device_t** hw_device) in camera_device_open() argument
133 if(module && id && hw_device) { in camera_device_open()
140 *hw_device = NULL; in camera_device_open()
166 *hw_device = (hw_device_t*)&device->common; in camera_device_open()
/device/moto/shamu/camera/QCamera/HAL2/wrapper/
DQualcommCamera.cpp139 struct hw_device_t** hw_device) in camera_device_open() argument
145 if(module && id && hw_device) { in camera_device_open()
152 *hw_device = NULL; in camera_device_open()
178 *hw_device = (hw_device_t*)&device->common; in camera_device_open()
/device/moto/shamu/camera/QCamera2/HAL3/
DQCamera3HWI.h116 int openCamera(struct hw_device_t **hw_device);
DQCamera3HWI.cpp478 int QCamera3HardwareInterface::openCamera(struct hw_device_t **hw_device) in openCamera() argument
482 *hw_device = NULL; in openCamera()
488 *hw_device = &mCameraDevice.common; in openCamera()
490 *hw_device = NULL; in openCamera()
/device/huawei/angler/camera/QCamera2/HAL3/
DQCamera3HWI.h127 int openCamera(struct hw_device_t **hw_device);
DQCamera3HWI.cpp639 int QCamera3HardwareInterface::openCamera(struct hw_device_t **hw_device) in openCamera() argument
643 *hw_device = NULL; in openCamera()
649 *hw_device = &mCameraDevice.common; in openCamera()
651 *hw_device = NULL; in openCamera()
/device/lge/bullhead/camera/QCamera2/HAL3/
DQCamera3HWI.h127 int openCamera(struct hw_device_t **hw_device);
DQCamera3HWI.cpp639 int QCamera3HardwareInterface::openCamera(struct hw_device_t **hw_device) in openCamera() argument
643 *hw_device = NULL; in openCamera()
649 *hw_device = &mCameraDevice.common; in openCamera()
651 *hw_device = NULL; in openCamera()
/device/moto/shamu/camera/QCamera2/HAL/
DQCamera2HWI.h241 int openCamera(struct hw_device_t **hw_device);
DQCamera2HWI.cpp1127 int QCamera2HardwareInterface::openCamera(struct hw_device_t **hw_device) in openCamera() argument
1131 *hw_device = NULL; in openCamera()
1138 *hw_device = &mCameraDevice.common; in openCamera()
1144 *hw_device = NULL; in openCamera()
/device/moto/shamu/camera/QCamera/HAL/usbcamcore/src/
DQualcommUsbCamera.cpp176 struct hw_device_t** hw_device) in usbcam_camera_device_open() argument
186 *hw_device = NULL; in usbcam_camera_device_open()
229 *hw_device = &(device->common); in usbcam_camera_device_open()
/device/huawei/angler/camera/QCamera2/HAL/
DQCamera2HWI.h246 int openCamera(struct hw_device_t **hw_device);
DQCamera2HWI.cpp1186 int QCamera2HardwareInterface::openCamera(struct hw_device_t **hw_device) in openCamera() argument
1191 *hw_device = NULL; in openCamera()
1199 *hw_device = &mCameraDevice.common; in openCamera()
1205 *hw_device = NULL; in openCamera()
/device/lge/bullhead/camera/QCamera2/HAL/
DQCamera2HWI.h246 int openCamera(struct hw_device_t **hw_device);
DQCamera2HWI.cpp1186 int QCamera2HardwareInterface::openCamera(struct hw_device_t **hw_device) in openCamera() argument
1191 *hw_device = NULL; in openCamera()
1199 *hw_device = &mCameraDevice.common; in openCamera()
1205 *hw_device = NULL; in openCamera()