Lines Matching refs:whichDev
115 pas_mixer_set(int whichDev, unsigned int level) in pas_mixer_set() argument
122 if (whichDev < SOUND_MIXER_NRDEVICES) { in pas_mixer_set()
123 if ((1 << whichDev) & rec_devices) in pas_mixer_set()
129 switch (whichDev) in pas_mixer_set()
132 levels[whichDev] = mixer_output(right, left, 63, 0x01, 0); in pas_mixer_set()
140 levels[whichDev] = mixer_output(right, left, 12, 0x03, 0); in pas_mixer_set()
143 levels[whichDev] = mixer_output(right, left, 12, 0x04, 0); in pas_mixer_set()
147 levels[whichDev] = mixer_output(right, left, 31, 0x10 | 0x00, mixer); in pas_mixer_set()
150 levels[whichDev] = mixer_output(right, left, 31, 0x10 | 0x05, mixer); in pas_mixer_set()
153 levels[whichDev] = mixer_output(right, left, 31, 0x10 | 0x07, mixer); in pas_mixer_set()
156 levels[whichDev] = mixer_output(right, left, 31, 0x10 | 0x06, mixer); in pas_mixer_set()
159 levels[whichDev] = mixer_output(right, left, 31, 0x10 | 0x02, mixer); in pas_mixer_set()
162 levels[whichDev] = mixer_output(right, left, 31, 0x10 | 0x03, mixer); in pas_mixer_set()
165 levels[whichDev] = mixer_output(right, left, 31, 0x10 | 0x04, mixer); in pas_mixer_set()
168 levels[whichDev] = mixer_output(right, left, 31, 0x10 | 0x01, in pas_mixer_set()
172 levels[whichDev] = mixer_output(right, left, 15, 0x02, 0); in pas_mixer_set()
194 return (levels[whichDev]); in pas_mixer_set()