Home
last modified time | relevance | path

Searched refs:cfgData (Results 1 – 4 of 4) sorted by relevance

/device/google/contexthub/firmware/os/drivers/leds/
Dleds_gpio.c111 static bool sensorConfigLedsGpio(void *cfgData, void *buf) in sensorConfigLedsGpio() argument
113 struct LedsCfg *lcfg = (struct LedsCfg *)cfgData; in sensorConfigLedsGpio()
/device/google/contexthub/firmware/os/inc/
Dsensors.h176 bool (*sensorCfgData)(void *cfgData, void *);
281 bool sensorCfgData(uint32_t sensorHandle, void* cfgData);
/device/google/contexthub/firmware/os/core/
Dsensors.c276 static bool sensorCallFuncCfgData(struct Sensor* s, void* cfgData) in sensorCallFuncCfgData() argument
279 INVOKE_AS_OWNER_AND_RETURN(LOCAL_APP_OPS(s)->sensorCfgData, cfgData, s->callData); in sensorCallFuncCfgData()
286 evt->externalCfgDataEvt.data = cfgData; in sensorCallFuncCfgData()
794 bool sensorCfgData(uint32_t sensorHandle, void* cfgData) in sensorCfgData() argument
801 return sensorCallFuncCfgData(s, cfgData); in sensorCfgData()
/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/
Dst_lsm6dsm.c1163 #define DEC_OPS_CFG_SELFTEST(power, firmware, rate, flush, cfgData, selftest) \ argument
1165 .sensorCfgData = cfgData, \
1168 #define DEC_OPS_CAL_CFG_SELFTEST(power, firmware, rate, flush, cal, cfgData, selftest) \ argument
1171 .sensorCfgData = cfgData, \
3825 struct LSM6DSMAccelGyroCfgData *cfgData = data; in lsm6dsm_accelCfgData() local
3828 accelCalBiasSet(&T(accelCal) , cfgData->sw[0], cfgData->sw[1], cfgData->sw[2]); in lsm6dsm_accelCfgData()
3831 …DEBUG_PRINT("Accel hw bias data [LSB]: %ld %ld %ld\n", cfgData->hw[0], cfgData->hw[1], cfgData->hw… in lsm6dsm_accelCfgData()
3833 memcpy(T(accelCalibrationData), cfgData->hw, LSM6DSM_TRIAXIAL_NUM_AXIS * sizeof(int32_t)); in lsm6dsm_accelCfgData()
3849 struct LSM6DSMAccelGyroCfgData *cfgData = data; in lsm6dsm_gyroCfgData() local
3853 …gyroCalSetBias(&T(gyroCal), cfgData->sw[0], cfgData->sw[1], cfgData->sw[2], dummy_temperature_cels… in lsm6dsm_gyroCfgData()
[all …]