teo_find_shallower_state
idx = teo_find_shallower_state(drv, dev, idx, duration_ns);
idx = teo_find_shallower_state(drv, dev, idx, delta_tick);