Lines Matching refs:amixer
246 struct amixer *amixer; in atc_pcm_playback_prepare() local
282 (struct amixer **)&apcm->amixers[i]); in atc_pcm_playback_prepare()
297 amixer = apcm->amixers[i]; in atc_pcm_playback_prepare()
299 amixer->ops->setup(amixer, &src->rsc, in atc_pcm_playback_prepare()
588 (struct amixer **)&apcm->amixers[i]); in atc_pcm_capture_get_resources()
646 struct amixer *amixer; in atc_pcm_capture_prepare() local
670 amixer = apcm->amixers[i]; in atc_pcm_capture_prepare()
671 amixer->ops->setup(amixer, out_ports[i], in atc_pcm_capture_prepare()
682 amixer = apcm->amixers[mix_base+i]; in atc_pcm_capture_prepare()
684 amixer->ops->setup(amixer, &src->rsc, INIT_VOL, NULL); in atc_pcm_capture_prepare()
685 out_ports[i%multi] = &amixer->rsc; in atc_pcm_capture_prepare()
697 amixer = apcm->amixers[apcm->n_srcc+j*multi+i]; in atc_pcm_capture_prepare()
698 amixer->ops->set_input(amixer, out_ports[i]); in atc_pcm_capture_prepare()
699 amixer->ops->set_scale(amixer, INIT_VOL); in atc_pcm_capture_prepare()
700 amixer->ops->set_sum(amixer, NULL); in atc_pcm_capture_prepare()
701 amixer->ops->commit_raw_write(amixer); in atc_pcm_capture_prepare()
706 &amixer->rsc); in atc_pcm_capture_prepare()
826 (struct amixer **)&apcm->amixers[i]); in spdif_passthru_playback_get_resources()
896 struct amixer *amixer; in spdif_passthru_playback_prepare() local
917 amixer = apcm->amixers[i]; in spdif_passthru_playback_prepare()
918 amixer->ops->setup(amixer, &src->rsc, INIT_VOL, NULL); in spdif_passthru_playback_prepare()
926 amixer = apcm->amixers[0]; in spdif_passthru_playback_prepare()
927 dao->ops->set_left_input(dao, &amixer->rsc); in spdif_passthru_playback_prepare()
928 amixer = apcm->amixers[1]; in spdif_passthru_playback_prepare()
929 dao->ops->set_right_input(dao, &amixer->rsc); in spdif_passthru_playback_prepare()