Lines Matching refs:oss_channel
62 static int ac97_read_mixer(struct ac97_codec *codec, int oss_channel);
63 static void ac97_write_mixer(struct ac97_codec *codec, int oss_channel,
275 static int ac97_read_mixer(struct ac97_codec *codec, int oss_channel)
280 struct ac97_mixer_hw *mh = &ac97_hw[oss_channel];
286 } else if (AC97_STEREO_MASK & (1 << oss_channel)) {
293 if (oss_channel == SOUND_MIXER_IGAIN) {
298 if(oss_channel == SOUND_MIXER_VOLUME || oss_channel == SOUND_MIXER_ALTPCM)
307 } else if (oss_channel == SOUND_MIXER_SPEAKER) {
309 } else if (oss_channel == SOUND_MIXER_PHONEIN) {
311 } else if (oss_channel == SOUND_MIXER_PHONEOUT) {
314 } else if (oss_channel == SOUND_MIXER_MIC) {
318 } else if (oss_channel == SOUND_MIXER_BASS) {
320 } else if (oss_channel == SOUND_MIXER_TREBLE) {
327 oss_channel, codec->id ? "Secondary" : "Primary",
336 static void ac97_write_mixer(struct ac97_codec *codec, int oss_channel,
341 struct ac97_mixer_hw *mh = &ac97_hw[oss_channel];
346 oss_channel, codec->id ? "Secondary" : "Primary",
350 if (AC97_STEREO_MASK & (1 << oss_channel)) {
355 if (oss_channel == SOUND_MIXER_IGAIN) {
364 if (oss_channel == SOUND_MIXER_VOLUME ||
365 oss_channel == SOUND_MIXER_ALTPCM)
379 } else if (oss_channel == SOUND_MIXER_BASS) {
385 } else if (oss_channel == SOUND_MIXER_TREBLE) {
393 } else if (oss_channel == SOUND_MIXER_SPEAKER) {
398 } else if (oss_channel == SOUND_MIXER_PHONEIN) {
403 } else if (oss_channel == SOUND_MIXER_PHONEOUT) {
409 } else if (oss_channel == SOUND_MIXER_MIC) {