Lines Matching refs:amixer
318 struct amixer *amixer;
322 amixer = ((struct ct_mixer *)atc->mixer)->
324 val = amixer->ops->get_scale(amixer) / VOL_SCALE;
341 struct amixer *amixer;
351 amixer = mixer->amixers[type*CHN_NUM+i];
352 oval = amixer->ops->get_scale(amixer);
354 amixer->ops->set_scale(amixer, val);
355 amixer->ops->commit_write(amixer);
360 amixer = mixer->
362 amixer->ops->set_scale(amixer, val);
363 amixer->ops->commit_write(amixer);
704 struct amixer *amix_d;
719 struct amixer *amix_d;
735 struct amixer *amixer;
755 /* Allocate amixer resources for mixer obj */
759 err = amixer_mgr->get_amixer(amixer_mgr, &am_desc, &amixer);
761 printk(KERN_ERR "ctxfi:Failed to get amixer resources "
765 mixer->amixers[i] = amixer;
775 amixer = mixer->amixers[i];
776 amixer_mgr->put_amixer(amixer_mgr, amixer);
827 struct amixer *amix_d, *amix_s;
939 static int mixer_set_input_port(struct amixer *amixer, struct rsc *rsc)
941 amixer->ops->set_input(amixer, rsc);
942 amixer->ops->commit_write(amixer);
974 *rleft = &((struct amixer *)mixer->amixers[amix*CHN_NUM])->rsc;
978 &((struct amixer *)mixer->amixers[amix*CHN_NUM+1])->rsc;
1014 struct amixer *amixer;
1018 amixer = mixer->amixers[i];
1019 amixer->ops->commit_write(amixer);
1037 struct amixer *amixer;
1040 /* Release amixer resources */
1043 amixer = mixer->amixers[i];
1044 amixer_mgr->put_amixer(amixer_mgr, amixer);