ALSA: virtuoso: create common functions for GPIO bit switch controls