This function interpolates between two values with a fixed speed. The nice thing about it is you can use it over several frames without keeping track of the starting position and the rate of change stays constant.
What is the common name for this function? It's not mix/lerp. I can't be the first person to think of this:
float X(const float start, const float stop, const float amount)
{
if (Abs(stop - start) < amount) return stop;
if (stop > start) return start + amount;
return start - amount;
}