Tuning of oscillator by controlling transconductance