Lines Matching refs:amixer
350 struct amixer *amixer; in ct_alsa_mix_volume_get() local
354 amixer = ((struct ct_mixer *)atc->mixer)-> in ct_alsa_mix_volume_get()
356 val = amixer->ops->get_scale(amixer) / VOL_SCALE; in ct_alsa_mix_volume_get()
373 struct amixer *amixer; in ct_alsa_mix_volume_put() local
383 amixer = mixer->amixers[type*CHN_NUM+i]; in ct_alsa_mix_volume_put()
384 oval = amixer->ops->get_scale(amixer); in ct_alsa_mix_volume_put()
386 amixer->ops->set_scale(amixer, val); in ct_alsa_mix_volume_put()
387 amixer->ops->commit_write(amixer); in ct_alsa_mix_volume_put()
392 amixer = mixer-> in ct_alsa_mix_volume_put()
394 amixer->ops->set_scale(amixer, val); in ct_alsa_mix_volume_put()
395 amixer->ops->commit_write(amixer); in ct_alsa_mix_volume_put()
815 struct amixer *amix_d; in ct_mixer_recording_select()
830 struct amixer *amix_d; in ct_mixer_recording_unselect()
846 struct amixer *amixer; in ct_mixer_get_resources() local
870 err = amixer_mgr->get_amixer(amixer_mgr, &am_desc, &amixer); in ct_mixer_get_resources()
876 mixer->amixers[i] = amixer; in ct_mixer_get_resources()
886 amixer = mixer->amixers[i]; in ct_mixer_get_resources()
887 amixer_mgr->put_amixer(amixer_mgr, amixer); in ct_mixer_get_resources()
939 struct amixer *amix_d, *amix_s; in ct_mixer_topology_build()
1052 static int mixer_set_input_port(struct amixer *amixer, struct rsc *rsc) in mixer_set_input_port() argument
1054 amixer->ops->set_input(amixer, rsc); in mixer_set_input_port()
1055 amixer->ops->commit_write(amixer); in mixer_set_input_port()
1087 *rleft = &((struct amixer *)mixer->amixers[amix*CHN_NUM])->rsc; in mixer_get_output_ports()
1091 &((struct amixer *)mixer->amixers[amix*CHN_NUM+1])->rsc; in mixer_get_output_ports()
1127 struct amixer *amixer; in mixer_resume() local
1131 amixer = mixer->amixers[i]; in mixer_resume()
1132 amixer->ops->commit_write(amixer); in mixer_resume()
1150 struct amixer *amixer; in ct_mixer_destroy() local
1156 amixer = mixer->amixers[i]; in ct_mixer_destroy()
1157 amixer_mgr->put_amixer(amixer_mgr, amixer); in ct_mixer_destroy()