Home
last modified time | relevance | path

Searched refs:SensorBusCfg (Results 1 – 17 of 17) sorted by relevance

/drivers/hdf_core/framework/model/sensor/driver/common/include/
Dsensor_config_controller.h38 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…
Dsensor_config_parser.h93 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/
Dsensor_config_controller.c17 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 …]
Dsensor_platform_if.c27 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()
Dsensor_config_parser.c197 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/
Dsensor_platform_if.h78 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/
Dppg_cs1262_spi.h145 int32_t Cs1262InitSpi(struct SensorBusCfg *busCfg);
146 void Cs1262ReleaseSpi(struct SensorBusCfg *busCfg);
Dppg_cs1262_spi.c19 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/
Dsensor_pedometer_driver.c310 …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/
Dsensor_barometer_driver.c306 …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/
Dsensor_gyro_driver.c312 …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/
Dsensor_proximity_driver.c309 …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/
Dsensor_temperature_driver.c321 …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/
Dsensor_humidity_driver.c318 …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/
Dsensor_accel_driver.c337 …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/
Dsensor_magnetic_driver.c316 …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/
Dsensor_als_driver.c470 …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()