inv_update_acc
inv_update_acc(&ts->chip_period, new_chip_period);
inv_update_acc(&ts->chip_period, chip->clock_period);