Lines Matching refs:amix_d
811 struct amixer *amix_d; in ct_mixer_recording_select() local
816 amix_d = mixer->amixers[type*CHN_NUM+i]; in ct_mixer_recording_select()
818 amix_d->ops->set_sum(amix_d, sum_c); in ct_mixer_recording_select()
819 amix_d->ops->commit_write(amix_d); in ct_mixer_recording_select()
826 struct amixer *amix_d; in ct_mixer_recording_unselect() local
830 amix_d = mixer->amixers[type*CHN_NUM+i]; in ct_mixer_recording_unselect()
831 amix_d->ops->set_sum(amix_d, NULL); in ct_mixer_recording_unselect()
832 amix_d->ops->commit_write(amix_d); in ct_mixer_recording_unselect()
935 struct amixer *amix_d, *amix_s; in ct_mixer_topology_build() local
944 amix_d = mixer->amixers[i*CHN_NUM]; in ct_mixer_topology_build()
946 amix_d->ops->setup(amix_d, &sum->rsc, INIT_VOL, NULL); in ct_mixer_topology_build()
947 amix_d = mixer->amixers[i*CHN_NUM+1]; in ct_mixer_topology_build()
949 amix_d->ops->setup(amix_d, &sum->rsc, INIT_VOL, NULL); in ct_mixer_topology_build()
955 amix_d = mixer->amixers[i*CHN_NUM]; in ct_mixer_topology_build()
957 amix_d->ops->setup(amix_d, &amix_s->rsc, INIT_VOL, NULL); in ct_mixer_topology_build()
958 amix_d = mixer->amixers[i*CHN_NUM+1]; in ct_mixer_topology_build()
960 amix_d->ops->setup(amix_d, &amix_s->rsc, INIT_VOL, NULL); in ct_mixer_topology_build()
964 amix_d = mixer->amixers[AMIXER_SPDIFO*CHN_NUM]; in ct_mixer_topology_build()
966 amix_d->ops->setup(amix_d, &amix_s->rsc, INIT_VOL, NULL); in ct_mixer_topology_build()
967 amix_d = mixer->amixers[AMIXER_SPDIFO*CHN_NUM+1]; in ct_mixer_topology_build()
969 amix_d->ops->setup(amix_d, &amix_s->rsc, INIT_VOL, NULL); in ct_mixer_topology_build()
973 amix_d = mixer->amixers[i*CHN_NUM]; in ct_mixer_topology_build()
975 amix_d->ops->setup(amix_d, NULL, INIT_VOL, sum); in ct_mixer_topology_build()
976 amix_d = mixer->amixers[i*CHN_NUM+1]; in ct_mixer_topology_build()
978 amix_d->ops->setup(amix_d, NULL, INIT_VOL, sum); in ct_mixer_topology_build()
982 amix_d = mixer->amixers[AMIXER_LINEIN*CHN_NUM]; in ct_mixer_topology_build()
984 amix_d->ops->setup(amix_d, NULL, INIT_VOL, sum); in ct_mixer_topology_build()
985 amix_d = mixer->amixers[AMIXER_LINEIN*CHN_NUM+1]; in ct_mixer_topology_build()
987 amix_d->ops->setup(amix_d, NULL, INIT_VOL, sum); in ct_mixer_topology_build()
990 amix_d = mixer->amixers[AMIXER_MIC*CHN_NUM]; in ct_mixer_topology_build()
992 amix_d->ops->setup(amix_d, NULL, INIT_VOL, sum); in ct_mixer_topology_build()
993 amix_d = mixer->amixers[AMIXER_MIC*CHN_NUM+1]; in ct_mixer_topology_build()
995 amix_d->ops->setup(amix_d, NULL, INIT_VOL, sum); in ct_mixer_topology_build()
998 amix_d = mixer->amixers[AMIXER_SPDIFI*CHN_NUM]; in ct_mixer_topology_build()
1000 amix_d->ops->setup(amix_d, NULL, INIT_VOL, sum); in ct_mixer_topology_build()
1001 amix_d = mixer->amixers[AMIXER_SPDIFI*CHN_NUM+1]; in ct_mixer_topology_build()
1003 amix_d->ops->setup(amix_d, NULL, INIT_VOL, sum); in ct_mixer_topology_build()
1006 amix_d = mixer->amixers[AMIXER_MASTER_F_C*CHN_NUM]; in ct_mixer_topology_build()
1008 amix_d->ops->setup(amix_d, &sum->rsc, INIT_VOL, NULL); in ct_mixer_topology_build()
1009 amix_d = mixer->amixers[AMIXER_MASTER_F_C*CHN_NUM+1]; in ct_mixer_topology_build()
1011 amix_d->ops->setup(amix_d, &sum->rsc, INIT_VOL, NULL); in ct_mixer_topology_build()
1014 amix_d = mixer->amixers[AMIXER_PCM_F_C*CHN_NUM]; in ct_mixer_topology_build()
1016 amix_d->ops->setup(amix_d, NULL, INIT_VOL, sum); in ct_mixer_topology_build()
1017 amix_d = mixer->amixers[AMIXER_PCM_F_C*CHN_NUM+1]; in ct_mixer_topology_build()
1019 amix_d->ops->setup(amix_d, NULL, INIT_VOL, sum); in ct_mixer_topology_build()
1022 amix_d = mixer->amixers[AMIXER_LINEIN_C*CHN_NUM]; in ct_mixer_topology_build()
1024 amix_d->ops->setup(amix_d, NULL, INIT_VOL, sum); in ct_mixer_topology_build()
1025 amix_d = mixer->amixers[AMIXER_LINEIN_C*CHN_NUM+1]; in ct_mixer_topology_build()
1027 amix_d->ops->setup(amix_d, NULL, INIT_VOL, sum); in ct_mixer_topology_build()
1030 amix_d = mixer->amixers[AMIXER_MIC_C*CHN_NUM]; in ct_mixer_topology_build()
1032 amix_d->ops->setup(amix_d, NULL, INIT_VOL, sum); in ct_mixer_topology_build()
1033 amix_d = mixer->amixers[AMIXER_MIC_C*CHN_NUM+1]; in ct_mixer_topology_build()
1035 amix_d->ops->setup(amix_d, NULL, INIT_VOL, sum); in ct_mixer_topology_build()
1038 amix_d = mixer->amixers[AMIXER_SPDIFI_C*CHN_NUM]; in ct_mixer_topology_build()
1040 amix_d->ops->setup(amix_d, NULL, INIT_VOL, sum); in ct_mixer_topology_build()
1041 amix_d = mixer->amixers[AMIXER_SPDIFI_C*CHN_NUM+1]; in ct_mixer_topology_build()
1043 amix_d->ops->setup(amix_d, NULL, INIT_VOL, sum); in ct_mixer_topology_build()