Home
last modified time | relevance | path

Searched refs:acc (Results 1 – 12 of 12) sorted by relevance

/device/google/contexthub/firmware/os/algos/calibration/accelerometer/
Daccel_cal.c167 static void accelCalAlgoInit(struct AccelCalAlgo *acc, uint32_t fx, in accelCalAlgoInit() argument
170 accelGoodDataInit(&acc->agd, fx, fxb, fy, fyb, fz, fzb, fle); in accelCalAlgoInit()
171 kasaInit(&acc->akf); in accelCalAlgoInit()
175 bool accelCalNewBiasAvailable(struct AccelCal *acc) { in accelCalNewBiasAvailable() argument
176 return fabsf(acc->x_bias - acc->x_bias_new) > ACCEL_NEW_BIAS_THRESHOLD || in accelCalNewBiasAvailable()
177 fabsf(acc->y_bias - acc->y_bias_new) > ACCEL_NEW_BIAS_THRESHOLD || in accelCalNewBiasAvailable()
178 fabsf(acc->z_bias - acc->z_bias_new) > ACCEL_NEW_BIAS_THRESHOLD; in accelCalNewBiasAvailable()
182 void accelCalInit(struct AccelCal *acc, in accelCalInit() argument
188 accelCalAlgoInit(&acc->ac1[i], parameters->fx, parameters->fxb, in accelCalInit()
194 accelStillInit(&acc->asd, parameters->t0, parameters->n_s, parameters->th); in accelCalInit()
[all …]
Daccel_cal.h182 void accelCalRun(struct AccelCal *acc, uint64_t sample_time_nanos, float x,
193 void accelCalInit(struct AccelCal *acc,
196 void accelCalDestroy(struct AccelCal *acc);
199 bool accelCalUpdateBias(struct AccelCal *acc, float *x, float *y, float *z);
201 void accelCalBiasSet(struct AccelCal *acc, float x, float y, float z);
203 void accelCalBiasRemove(struct AccelCal *acc, float *x, float *y, float *z);
206 bool accelCalNewBiasAvailable(struct AccelCal *acc);
209 void accelCalDebPrint(struct AccelCal *acc, float temp);
/device/google/contexthub/firmware/os/cpu/cortexm4/inc/cpu/cmsis/
Darm_math.h5127 q63_t acc; in arm_pid_q31() local
5131 acc = (q63_t) S->A0 * in; in arm_pid_q31()
5134 acc += (q63_t) S->A1 * S->state[0]; in arm_pid_q31()
5137 acc += (q63_t) S->A2 * S->state[1]; in arm_pid_q31()
5140 out = (q31_t) (acc >> 31u); in arm_pid_q31()
5175 q63_t acc; in arm_pid_q15() local
5184 acc = (q31_t) __SMUAD(S->A0, in); in arm_pid_q15()
5188 acc = __SMLALD(S->A1, (q31_t) *vstate, acc); in arm_pid_q15()
5192 acc = ((q31_t) S->A0) * in; in arm_pid_q15()
5195 acc += (q31_t) S->A1 * S->state[0]; in arm_pid_q15()
[all …]
Dcore_cmSimd.h519 …_( ( always_inline ) ) __STATIC_INLINE uint64_t __SMLALD (uint32_t op1, uint32_t op2, uint64_t acc)
525 llr.w64 = acc;
536 …( ( always_inline ) ) __STATIC_INLINE uint64_t __SMLALDX (uint32_t op1, uint32_t op2, uint64_t acc)
542 llr.w64 = acc;
585 …_( ( always_inline ) ) __STATIC_INLINE uint64_t __SMLSLD (uint32_t op1, uint32_t op2, uint64_t acc)
591 llr.w64 = acc;
602 …( ( always_inline ) ) __STATIC_INLINE uint64_t __SMLSLDX (uint32_t op1, uint32_t op2, uint64_t acc)
608 llr.w64 = acc;
/device/google/cuttlefish/host/commands/tombstone_receiver/
Dmain.cpp87 auto acc = 0; in TombstoneReceiverMain() local
105 acc += bytes_read; in TombstoneReceiverMain()
120 LOG(DEBUG) << "done: " << acc << " bytes via " << cnt; in TombstoneReceiverMain()
/device/amlogic/yukawa/hal/audio/
Daudio_aec.c111 int32_t acc = 0; in get_reference_audio_in_place() local
113 acc += src_Nch[ch]; in get_reference_audio_in_place()
115 *dst_1ch++ = clamp16(acc/num_channels); in get_reference_audio_in_place()
/device/linaro/dragonboard/audio/
Daudio_aec.c111 int32_t acc = 0; in get_reference_audio_in_place() local
113 acc += src_Nch[ch]; in get_reference_audio_in_place()
115 *dst_1ch++ = clamp16(acc/num_channels); in get_reference_audio_in_place()
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/
Dbosch_bmi160.c519 struct AccelCal acc; member
2064 accelCalRun(&mTask.acc, rtc_time,
2067 accelCalBiasRemove(&mTask.acc, &x, &y, &z);
2071 accelCalDebPrint(&mTask.acc, mTask.tempCelsius);
2148 &mTask.acc, &accel_offset[0], &accel_offset[1], &accel_offset[2]);
2866 accelCalBiasSet(&mTask.acc, values->sw[0], values->sw[1], values->sw[2]);
3867 accelCalInit(&mTask.acc, &accel_cal_parameters);
3988 accelCalDestroy(&mTask.acc);
/device/google/cuttlefish_prebuilts/bootloader/crosvm_aarch64/
DSystem.map473 0000000000015acc t reloc_fdt
716 0000000000020acc T dev_set_priv
1686 0000000000051acc T fdt_num_mem_rsv
/device/google/cuttlefish_prebuilts/bootloader/qemu_arm/
DSystem.map498 00014acc t initr_trace
1322 00038acc t efi_cin_read_key_stroke
/device/google/cuttlefish_prebuilts/bootloader/qemu_aarch64/
DSystem.map717 0000000000020acc T dev_set_parent_priv
/device/google/cuttlefish_prebuilts/bootloader/qemu_riscv64/
DSystem.map4421 0000000080235acc t .Lpcrel_hi1