/drivers/hdf_core/framework/core/host/src/ |
D | hdf_load_vdi.c | 58 struct HdfVdiBase **vdiBase = (struct HdfVdiBase **)dlsym(handler, "hdfVdiDesc"); in HdfLoadVdi() local 59 if (vdiBase == NULL || *vdiBase == NULL) { in HdfLoadVdi() 66 if ((*vdiBase)->CreateVdiInstance) { in HdfLoadVdi() 67 (*vdiBase)->CreateVdiInstance(*vdiBase); in HdfLoadVdi() 71 vdiObj->vdiBase = *vdiBase; in HdfLoadVdi() 78 if (vdiObj == NULL || vdiObj->vdiBase == NULL) { in HdfGetVdiVersion() 83 return vdiObj->vdiBase->moduleVersion; in HdfGetVdiVersion() 88 if (vdiObj == NULL || vdiObj->dlHandler == 0 || vdiObj->vdiBase == NULL) { in HdfCloseVdi() 93 struct HdfVdiBase *vdiBase = vdiObj->vdiBase; in HdfCloseVdi() local 94 if (vdiBase->DestoryVdiInstance) { in HdfCloseVdi() [all …]
|
/drivers/hdf_core/framework/core/host/test/sample/ |
D | vdi_sample1_symbol.c | 29 static int SampleAOpen(struct HdfVdiBase *vdiBase) in SampleAOpen() argument 31 (void)vdiBase; in SampleAOpen() 36 static int SampleAClose(struct HdfVdiBase *vdiBase) in SampleAClose() argument 38 (void)vdiBase; in SampleAClose()
|
D | vdi_sample1_driver.c | 28 static int SampleAOpen(struct HdfVdiBase *vdiBase) in SampleAOpen() argument 30 (void)vdiBase; in SampleAOpen() 35 static int SampleAClose(struct HdfVdiBase *vdiBase) in SampleAClose() argument 37 (void)vdiBase; in SampleAClose()
|
D | vdi_sample2_driver.cpp | 38 static int SampleAOpen(struct HdfVdiBase *vdiBase) in SampleAOpen() argument 41 struct VdiWrapperB *sampleB = reinterpret_cast<struct VdiWrapperB *>(vdiBase); in SampleAOpen() 46 static int SampleAClose(struct HdfVdiBase *vdiBase) in SampleAClose() argument 49 struct VdiWrapperB *sampleB = reinterpret_cast<struct VdiWrapperB *>(vdiBase); in SampleAClose()
|
/drivers/hdf_core/interfaces/inner_api/host/uhdf/ |
D | hdf_load_vdi.h | 28 int (*CreateVdiInstance)(struct HdfVdiBase *vdiBase); 29 int (*DestoryVdiInstance)(struct HdfVdiBase *vdiBase); 34 struct HdfVdiBase *vdiBase; member
|
/drivers/hdf_core/framework/core/host/test/unittest/ |
D | hdf_vdi_test.cpp | 51 ASSERT_TRUE(vdi->vdiBase != nullptr); 56 struct VdiWrapperA *vdiWrapper = reinterpret_cast<struct VdiWrapperA *>(vdi->vdiBase); 80 ASSERT_TRUE(vdi->vdiBase != nullptr); 85 struct VdiWrapperB *vdiWrapper = reinterpret_cast<struct VdiWrapperB *>(vdi->vdiBase); 141 obj.vdiBase = &base; 145 obj.vdiBase = nullptr;
|
/drivers/peripheral/vibrator/hdi_impl/ |
D | vibrator_interface_impl.cpp | 194 static int32_t CreateLightVdiInstance(struct HdfVdiBase *vdiBase) in CreateLightVdiInstance() argument 197 if (vdiBase == nullptr) { in CreateLightVdiInstance() 202 struct VdiWrapperVibrator *vibratorVdi = reinterpret_cast<VdiWrapperVibrator *>(vdiBase); in CreateLightVdiInstance() 211 static int32_t DestoryLightVdiInstance(struct HdfVdiBase *vdiBase) in DestoryLightVdiInstance() argument 214 if (vdiBase == nullptr) { in DestoryLightVdiInstance() 219 struct VdiWrapperVibrator *vibratorVdi = reinterpret_cast<VdiWrapperVibrator *>(vdiBase); in DestoryLightVdiInstance()
|
/drivers/peripheral/light/hdi_impl/ |
D | light_interface_impl.cpp | 149 static int32_t CreateLightVdiInstance(struct HdfVdiBase *vdiBase) in CreateLightVdiInstance() argument 152 if (vdiBase == nullptr) { in CreateLightVdiInstance() 157 struct VdiWrapperLight *lightVdi = reinterpret_cast<VdiWrapperLight *>(vdiBase); in CreateLightVdiInstance() 166 static int32_t DestoryLightVdiInstance(struct HdfVdiBase *vdiBase) in DestoryLightVdiInstance() argument 169 if (vdiBase == nullptr) { in DestoryLightVdiInstance() 174 struct VdiWrapperLight *lightVdi = reinterpret_cast<VdiWrapperLight *>(vdiBase); in DestoryLightVdiInstance()
|
/drivers/peripheral/motion/hdi_service/ |
D | motion_if_service.cpp | 46 if (vdi_ == nullptr || vdi_->vdiBase == nullptr) { in GetMotionVdiImpl() 57 wrapperMotionVdi = reinterpret_cast<struct WrapperMotionVdi *>(vdi_->vdiBase); in GetMotionVdiImpl()
|
/drivers/peripheral/sensor/hdi_impl/ |
D | sensor_impl.cpp | 489 static int32_t CreateSensorVdiInstance(struct HdfVdiBase *vdiBase) in CreateSensorVdiInstance() argument 492 if (vdiBase == nullptr) { in CreateSensorVdiInstance() 497 struct WrapperSensorVdi *sensorVdi = reinterpret_cast<struct WrapperSensorVdi *>(vdiBase); in CreateSensorVdiInstance() 506 static int32_t DestorySensorVdiInstance(struct HdfVdiBase *vdiBase) in DestorySensorVdiInstance() argument 509 if (vdiBase == nullptr) { in DestorySensorVdiInstance() 514 struct WrapperSensorVdi *sensorVdi = reinterpret_cast<struct WrapperSensorVdi *>(vdiBase); in DestorySensorVdiInstance()
|
/drivers/peripheral/camera/vdi_base/usb_camera/vdi_impl/src/camera_host/ |
D | camera_host_usb_vdi_impl.cpp | 385 static int CreateCameraHostVdiInstance(struct HdfVdiBase *vdiBase) in CreateCameraHostVdiInstance() argument 388 …WrapperCameraHost *vdiWrapperCameraHost = reinterpret_cast<struct VdiWrapperCameraHost *>(vdiBase); in CreateCameraHostVdiInstance() 400 static int DestoryCameraHostVdiInstance(struct HdfVdiBase *vdiBase) in DestoryCameraHostVdiInstance() argument 403 …WrapperCameraHost *vdiWrapperCameraHost = reinterpret_cast<struct VdiWrapperCameraHost *>(vdiBase); in DestoryCameraHostVdiInstance()
|
/drivers/peripheral/camera/vdi_base/v4l2/src/camera_host/ |
D | camera_host_vdi_impl.cpp | 407 static int CreateCameraHostVdiInstance(struct HdfVdiBase *vdiBase) in CreateCameraHostVdiInstance() argument 410 …WrapperCameraHost *vdiWrapperCameraHost = reinterpret_cast<struct VdiWrapperCameraHost *>(vdiBase); in CreateCameraHostVdiInstance() 422 static int DestoryCameraHostVdiInstance(struct HdfVdiBase *vdiBase) in DestoryCameraHostVdiInstance() argument 425 …WrapperCameraHost *vdiWrapperCameraHost = reinterpret_cast<struct VdiWrapperCameraHost *>(vdiBase); in DestoryCameraHostVdiInstance()
|
/drivers/peripheral/light/hdi_service/ |
D | light_if_service.cpp | 47 if (vdi_ == nullptr || vdi_->vdiBase == nullptr) { in GetLightVdiImpl() 58 vdiWrapperLight = reinterpret_cast<struct VdiWrapperLight *>(vdi_->vdiBase); in GetLightVdiImpl()
|
/drivers/peripheral/sensor/hdi_service/ |
D | sensor_if_service.cpp | 50 if (vdi_ == nullptr || vdi_->vdiBase == nullptr) { in GetSensorVdiImpl() 61 wrapperSensorVdi = reinterpret_cast<struct WrapperSensorVdi *>(vdi_->vdiBase); in GetSensorVdiImpl()
|
/drivers/peripheral/vibrator/hdi_service/ |
D | vibrator_if_service.cpp | 47 if (vdi_ == nullptr || vdi_->vdiBase == nullptr) { in GetVibratorVdiImpl() 58 vdiWrapperVibrator = reinterpret_cast<struct VdiWrapperVibrator *>(vdi_->vdiBase); in GetVibratorVdiImpl()
|
/drivers/peripheral/camera/hdi_service/v1_0/src/ |
D | camera_host_service.cpp | 102 if (cameraHostVdiLoader == nullptr || cameraHostVdiLoader->vdiBase == nullptr) { in GetInstance() 114 cameraHostVdiLoader->vdiBase); in GetInstance()
|