To study the quantum case, consider the following situation: a particle incident on the barrier from the left side (A_r).
To find the amplitudes for reflection and transmission for incidence from the left, we put in the above equations A_r=1 (incoming particle), A_l=r (reflection), C_l=0 (no incoming particle from the right), and C_r=t (transmission).