Home
last modified time | relevance | path

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

/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()
132 ret = ReadDrv2605l(&drvData->drv2605lCfgData->vibratorBus.i2cCfg, chipIdReg, &value, sizeof(value)); 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
155 if (WriteDrv2605l(&drv2605lCfgData->vibratorBus.i2cCfg, value, sizeof(value)) != HDF_SUCCESS) { in InitDrv2605lChip()
162 if (WriteDrv2605l(&drv2605lCfgData in InitDrv2605lChip()
[all...]
H A Dvibrator_drv2605l_driver.h53 struct VibratorCfgData *drv2605lCfgData; member

Completed in 2 milliseconds