Searched refs:calInfo (Results 1 – 3 of 3) sorted by relevance
86 void populateCalRequest(uint8_t sensorType, const ashCalInfo *calInfo, in populateCalRequest() argument88 CHRE_ASSERT(calInfo); in populateCalRequest()104 calRequest->ZeroBias[0] = FX_FLTTOFIX_Q16(-calInfo->bias[1] * scaling); in populateCalRequest()105 calRequest->ZeroBias[1] = FX_FLTTOFIX_Q16(-calInfo->bias[0] * scaling); in populateCalRequest()106 calRequest->ZeroBias[2] = FX_FLTTOFIX_Q16(calInfo->bias[2] * scaling); in populateCalRequest()117 calRequest->CompensationMatrix[0] = FX_FLTTOFIX_Q16(calInfo->compMatrix[4]); in populateCalRequest()118 calRequest->CompensationMatrix[1] = FX_FLTTOFIX_Q16(calInfo->compMatrix[3]); in populateCalRequest()119 calRequest->CompensationMatrix[2] = FX_FLTTOFIX_Q16(-calInfo->compMatrix[5]); in populateCalRequest()120 calRequest->CompensationMatrix[3] = FX_FLTTOFIX_Q16(calInfo->compMatrix[1]); in populateCalRequest()121 calRequest->CompensationMatrix[4] = FX_FLTTOFIX_Q16(calInfo->compMatrix[0]); in populateCalRequest()[all …]
19 bool ashSetCalibration(uint8_t sensorType, const struct ashCalInfo *calInfo) { in ashSetCalibration() argument
165 bool ashSetCalibration(uint8_t sensorType, const struct ashCalInfo *calInfo);