Home
last modified time | relevance | path

Searched refs:drv2605lCfgData (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/drivers/peripheral/vibrator/chipset/drv2605l/
H A Dvibrator_drv2605l_driver.c122 chipIdReg = drvData->drv2605lCfgData->vibratorAttr.chipIdReg; in DetectDrv2605lDevice()
123 chipIdValue = drvData->drv2605lCfgData->vibratorAttr.chipIdValue; in DetectDrv2605lDevice()
125 ret = GetDrv2605lI2cHandle(&drvData->drv2605lCfgData->vibratorBus.i2cCfg); in DetectDrv2605lDevice()
128 ReleaseDrv2605lBusHandle(&drvData->drv2605lCfgData->vibratorBus.i2cCfg); in DetectDrv2605lDevice()
135 ReleaseDrv2605lBusHandle(&drvData->drv2605lCfgData->vibratorBus.i2cCfg); in DetectDrv2605lDevice()
141 ReleaseDrv2605lBusHandle(&drvData->drv2605lCfgData->vibratorBus.i2cCfg); in DetectDrv2605lDevice()
149 static int32_t InitDrv2605lChip(struct VibratorCfgData *drv2605lCfgData) in InitDrv2605lChip() argument
310 …drvData->drv2605lCfgData = (struct VibratorCfgData *)OsalMemCalloc(sizeof(*drvData->drv2605lCfgDat… in InitDrv2605lDriver()
323 if (InitDrv2605lChip(drvData->drv2605lCfgData) != HDF_SUCCESS) { in InitDrv2605lDriver()
355 ReleaseDrv2605lBusHandle(&drvData->drv2605lCfgData->vibratorBus.i2cCfg); in ReleaseDrv2605lDriver()
[all …]
H A Dvibrator_drv2605l_driver.h53 struct VibratorCfgData *drv2605lCfgData; member