Searched refs:cal_state (Results 1 – 1 of 1) sorted by relevance
69 static int cal_state = CALIBRATION_ONE; variable79 …tmp[i][0] = tmp[i][1] = cal_state == CALIBRATION_ONE ? sinf(count++ * TONE_HZ * 2 * M_PI / ctx->sa… in calibrate_write_cb()83 if (cal_state == CALIBRATION_DONE) in calibrate_write_cb()109 switch (cal_state) { in calibrate_read_cb()131 cal_state = CALIBRATION_ZERO; in calibrate_read_cb()145 cal_state = CALIBRATION_DONE; in calibrate_read_cb()