/drivers/hdf_core/framework/model/sensor/driver/common/include/ |
D | sensor_config_controller.h | 38 int32_t (*ops)(struct SensorBusCfg *busCfg, struct SensorRegCfg *cfgItem); 41 int32_t SetSensorRegCfgArray(struct SensorBusCfg *busCfg, const struct SensorRegCfgGroupNode *group… 42 int32_t SetSensorRegCfgArrayByBuff(struct SensorBusCfg *busCfg, const struct SensorRegCfgGroupNode … 44 int32_t ReadSensorRegCfgArray(struct SensorBusCfg *busCfg, const struct SensorRegCfgGroupNode *grou… 46 int32_t WriteSensorRegCfgArray(struct SensorBusCfg *busCfg, const struct SensorRegCfgGroupNode *gro…
|
D | sensor_config_parser.h | 93 struct SensorBusCfg busCfg; 105 int32_t GetSensorBusHandle(struct SensorBusCfg *busCfg); 106 int32_t ReleaseSensorBusHandle(struct SensorBusCfg *busCfg);
|
/drivers/hdf_core/framework/model/sensor/driver/common/src/ |
D | sensor_config_controller.c | 17 static int32_t SensorOpsNop(struct SensorBusCfg *busCfg, struct SensorRegCfg *cfgItem) in SensorOpsNop() 24 static int32_t SensorOpsRead(struct SensorBusCfg *busCfg, struct SensorRegCfg *cfgItem) in SensorOpsRead() 53 static int32_t SensorOpsWrite(struct SensorBusCfg *busCfg, struct SensorRegCfg *cfgItem) in SensorOpsWrite() 92 static int32_t SensorOpsReadCheck(struct SensorBusCfg *busCfg, struct SensorRegCfg *cfgItem) in SensorOpsReadCheck() 150 static int32_t SensorOpsUpdateBitwise(struct SensorBusCfg *busCfg, struct SensorRegCfg *cfgItem) in SensorOpsUpdateBitwise() 177 static int32_t SensorOpsExtBuffRead(struct SensorBusCfg *busCfg, struct SensorRegCfg *cfgItem) in SensorOpsExtBuffRead() 193 static int32_t SensorOpsExtBuffWrite(struct SensorBusCfg *busCfg, struct SensorRegCfg *cfgItem) in SensorOpsExtBuffWrite() 236 int32_t SetSensorRegCfgArray(struct SensorBusCfg *busCfg, const struct SensorRegCfgGroupNode *group) in SetSensorRegCfgArray() 274 int32_t SetSensorRegCfgArrayByBuff(struct SensorBusCfg *busCfg, const struct SensorRegCfgGroupNode … in SetSensorRegCfgArrayByBuff() 319 int32_t ReadSensorRegCfgArray(struct SensorBusCfg *busCfg, const struct SensorRegCfgGroupNode *grou… in ReadSensorRegCfgArray() [all …]
|
D | sensor_platform_if.c | 27 int32_t ReadSensor(struct SensorBusCfg *busCfg, uint16_t regAddr, uint8_t *data, uint16_t dataLen) in ReadSensor() 76 int32_t WriteSensor(struct SensorBusCfg *busCfg, uint8_t *writeData, uint16_t dataLen) in WriteSensor()
|
D | sensor_config_parser.c | 197 static int32_t GetSensorI2cHandle(struct SensorBusCfg *busCfg) in GetSensorI2cHandle() 211 static int32_t GetSensorSpiHandle(struct SensorBusCfg *busCfg) in GetSensorSpiHandle() 232 int32_t GetSensorBusHandle(struct SensorBusCfg *busCfg) in GetSensorBusHandle() 247 int32_t ReleaseSensorBusHandle(struct SensorBusCfg *busCfg) in ReleaseSensorBusHandle() 366 struct SensorBusCfg *busConfig) in ParseSensorSpiBus()
|
/drivers/hdf_core/framework/model/sensor/driver/include/ |
D | sensor_platform_if.h | 78 struct SensorBusCfg { struct 101 int32_t ReadSensor(struct SensorBusCfg *busCfg, uint16_t regAddr, uint8_t *data, uint16_t dataLen); argument 102 int32_t WriteSensor(struct SensorBusCfg *busCfg, uint8_t *writeData, uint16_t len);
|
/drivers/peripheral/sensor/chipset/ppg/ |
D | ppg_cs1262_spi.h | 145 int32_t Cs1262InitSpi(struct SensorBusCfg *busCfg); 146 void Cs1262ReleaseSpi(struct SensorBusCfg *busCfg);
|
D | ppg_cs1262_spi.c | 19 static struct SensorBusCfg *g_busCfg = NULL; 45 void Cs1262ReleaseSpi(struct SensorBusCfg *busCfg) in Cs1262ReleaseSpi() 52 int32_t Cs1262InitSpi(struct SensorBusCfg *busCfg) in Cs1262InitSpi()
|
/drivers/hdf_core/framework/model/sensor/driver/pedometer/ |
D | sensor_pedometer_driver.c | 310 …emset_s(&drvData->pedometerCfg->busCfg, sizeof(struct SensorBusCfg), 0, sizeof(struct SensorBusCfg… in PedometerCreateCfgData() 326 …(void)memset_s(&pedometerCfg->busCfg, sizeof(struct SensorBusCfg), 0, sizeof(struct SensorBusCfg)); in PedometerReleaseCfgData()
|
/drivers/hdf_core/framework/model/sensor/driver/barometer/ |
D | sensor_barometer_driver.c | 306 …emset_s(&drvData->barometerCfg->busCfg, sizeof(struct SensorBusCfg), 0, sizeof(struct SensorBusCfg… in BarometerCreateCfgData() 321 …(void)memset_s(&barometerCfg->busCfg, sizeof(struct SensorBusCfg), 0, sizeof(struct SensorBusCfg)); in BarometerReleaseCfgData()
|
/drivers/hdf_core/framework/model/sensor/driver/gyro/ |
D | sensor_gyro_driver.c | 312 …oid)memset_s(&drvData->gyroCfg->busCfg, sizeof(struct SensorBusCfg), 0, sizeof(struct SensorBusCfg… in GyroCreateCfgData() 328 (void)memset_s(&gyroCfg->busCfg, sizeof(struct SensorBusCfg), 0, sizeof(struct SensorBusCfg)); in GyroReleaseCfgData()
|
/drivers/hdf_core/framework/model/sensor/driver/proximity/ |
D | sensor_proximity_driver.c | 309 …emset_s(&drvData->proximityCfg->busCfg, sizeof(struct SensorBusCfg), 0, sizeof(struct SensorBusCfg… in ProximityCreateCfgData() 324 …(void)memset_s(&proximityCfg->busCfg, sizeof(struct SensorBusCfg), 0, sizeof(struct SensorBusCfg)); in ProximityReleaseCfgData()
|
/drivers/hdf_core/framework/model/sensor/driver/temperature/ |
D | sensor_temperature_driver.c | 321 …set_s(&drvData->temperatureCfg->busCfg, sizeof(struct SensorBusCfg), 0, sizeof(struct SensorBusCfg… in TemperatureCreateCfgData() 338 …(void)memset_s(&temperatureCfg->busCfg, sizeof(struct SensorBusCfg), 0, sizeof(struct SensorBusCfg… in TemperatureReleaseCfgData()
|
/drivers/hdf_core/framework/model/sensor/driver/humidity/ |
D | sensor_humidity_driver.c | 318 …memset_s(&drvData->humidityCfg->busCfg, sizeof(struct SensorBusCfg), 0, sizeof(struct SensorBusCfg… in HumidityCreateCfgData() 335 … (void)memset_s(&humidityCfg->busCfg, sizeof(struct SensorBusCfg), 0, sizeof(struct SensorBusCfg)); in HumidityReleaseCfgData()
|
/drivers/hdf_core/framework/model/sensor/driver/accel/ |
D | sensor_accel_driver.c | 337 …id)memset_s(&drvData->accelCfg->busCfg, sizeof(struct SensorBusCfg), 0, sizeof(struct SensorBusCfg… in AccelCreateCfgData() 353 (void)memset_s(&accelCfg->busCfg, sizeof(struct SensorBusCfg), 0, sizeof(struct SensorBusCfg)); in AccelReleaseCfgData()
|
/drivers/hdf_core/framework/model/sensor/driver/magnetic/ |
D | sensor_magnetic_driver.c | 316 …memset_s(&drvData->magneticCfg->busCfg, sizeof(struct SensorBusCfg), 0, sizeof(struct SensorBusCfg… in MagneticCreateCfgData() 333 … (void)memset_s(&magneticCfg->busCfg, sizeof(struct SensorBusCfg), 0, sizeof(struct SensorBusCfg)); in MagneticReleaseCfgData()
|
/drivers/hdf_core/framework/model/sensor/driver/als/ |
D | sensor_als_driver.c | 470 …void)memset_s(&drvData->alsCfg->busCfg, sizeof(struct SensorBusCfg), 0, sizeof(struct SensorBusCfg… in AlsCreateCfgData() 486 (void)memset_s(&alsCfg->busCfg, sizeof(struct SensorBusCfg), 0, sizeof(struct SensorBusCfg)); in AlsReleaseCfgData()
|