• Home
  • Raw
  • Download

Lines Matching refs:calInfo

86 void populateCalRequest(uint8_t sensorType, const ashCalInfo *calInfo,  in populateCalRequest()  argument
88 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()
122 calRequest->CompensationMatrix[5] = FX_FLTTOFIX_Q16(-calInfo->compMatrix[2]); in populateCalRequest()
123 calRequest->CompensationMatrix[6] = FX_FLTTOFIX_Q16(-calInfo->compMatrix[7]); in populateCalRequest()
124 calRequest->CompensationMatrix[7] = FX_FLTTOFIX_Q16(-calInfo->compMatrix[6]); in populateCalRequest()
125 calRequest->CompensationMatrix[8] = FX_FLTTOFIX_Q16(calInfo->compMatrix[8]); in populateCalRequest()
128 calRequest->CalibrationAccuracy = calInfo->accuracy; in populateCalRequest()
134 const struct ashCalInfo *calInfo) { in ashSetCalibration() argument
145 populateCalRequest(sensorType, calInfo, calRequest.get()); in ashSetCalibration()