Lines Matching refs:amixers
351 amixers[type*CHN_NUM+i]; in ct_alsa_mix_volume_get()
379 amixer = mixer->amixers[type*CHN_NUM+i]; in ct_alsa_mix_volume_put()
389 amixers[(type+j)*CHN_NUM+i]; in ct_alsa_mix_volume_put()
816 amix_d = mixer->amixers[type*CHN_NUM+i]; in ct_mixer_recording_select()
830 amix_d = mixer->amixers[type*CHN_NUM+i]; in ct_mixer_recording_unselect()
872 mixer->amixers[i] = amixer; in ct_mixer_get_resources()
881 if (NULL != mixer->amixers[i]) { in ct_mixer_get_resources()
882 amixer = mixer->amixers[i]; in ct_mixer_get_resources()
884 mixer->amixers[i] = NULL; in ct_mixer_get_resources()
909 mixer->amixers = kcalloc(NUM_CT_AMIXERS * CHN_NUM, sizeof(void *), in ct_mixer_get_mem()
911 if (!mixer->amixers) { in ct_mixer_get_mem()
926 kfree(mixer->amixers); in ct_mixer_get_mem()
944 amix_d = mixer->amixers[i*CHN_NUM]; in ct_mixer_topology_build()
947 amix_d = mixer->amixers[i*CHN_NUM+1]; in ct_mixer_topology_build()
955 amix_d = mixer->amixers[i*CHN_NUM]; in ct_mixer_topology_build()
956 amix_s = mixer->amixers[j*CHN_NUM]; in ct_mixer_topology_build()
958 amix_d = mixer->amixers[i*CHN_NUM+1]; in ct_mixer_topology_build()
959 amix_s = mixer->amixers[j*CHN_NUM+1]; in ct_mixer_topology_build()
964 amix_d = mixer->amixers[AMIXER_SPDIFO*CHN_NUM]; in ct_mixer_topology_build()
965 amix_s = mixer->amixers[AMIXER_MASTER_F*CHN_NUM]; in ct_mixer_topology_build()
967 amix_d = mixer->amixers[AMIXER_SPDIFO*CHN_NUM+1]; in ct_mixer_topology_build()
968 amix_s = mixer->amixers[AMIXER_MASTER_F*CHN_NUM+1]; in ct_mixer_topology_build()
973 amix_d = mixer->amixers[i*CHN_NUM]; in ct_mixer_topology_build()
976 amix_d = mixer->amixers[i*CHN_NUM+1]; in ct_mixer_topology_build()
982 amix_d = mixer->amixers[AMIXER_LINEIN*CHN_NUM]; in ct_mixer_topology_build()
985 amix_d = mixer->amixers[AMIXER_LINEIN*CHN_NUM+1]; in ct_mixer_topology_build()
990 amix_d = mixer->amixers[AMIXER_MIC*CHN_NUM]; in ct_mixer_topology_build()
993 amix_d = mixer->amixers[AMIXER_MIC*CHN_NUM+1]; in ct_mixer_topology_build()
998 amix_d = mixer->amixers[AMIXER_SPDIFI*CHN_NUM]; in ct_mixer_topology_build()
1001 amix_d = mixer->amixers[AMIXER_SPDIFI*CHN_NUM+1]; in ct_mixer_topology_build()
1006 amix_d = mixer->amixers[AMIXER_MASTER_F_C*CHN_NUM]; in ct_mixer_topology_build()
1009 amix_d = mixer->amixers[AMIXER_MASTER_F_C*CHN_NUM+1]; in ct_mixer_topology_build()
1014 amix_d = mixer->amixers[AMIXER_PCM_F_C*CHN_NUM]; in ct_mixer_topology_build()
1017 amix_d = mixer->amixers[AMIXER_PCM_F_C*CHN_NUM+1]; in ct_mixer_topology_build()
1022 amix_d = mixer->amixers[AMIXER_LINEIN_C*CHN_NUM]; in ct_mixer_topology_build()
1025 amix_d = mixer->amixers[AMIXER_LINEIN_C*CHN_NUM+1]; in ct_mixer_topology_build()
1030 amix_d = mixer->amixers[AMIXER_MIC_C*CHN_NUM]; in ct_mixer_topology_build()
1033 amix_d = mixer->amixers[AMIXER_MIC_C*CHN_NUM+1]; in ct_mixer_topology_build()
1038 amix_d = mixer->amixers[AMIXER_SPDIFI_C*CHN_NUM]; in ct_mixer_topology_build()
1041 amix_d = mixer->amixers[AMIXER_SPDIFI_C*CHN_NUM+1]; in ct_mixer_topology_build()
1083 *rleft = &((struct amixer *)mixer->amixers[amix*CHN_NUM])->rsc; in mixer_get_output_ports()
1087 &((struct amixer *)mixer->amixers[amix*CHN_NUM+1])->rsc; in mixer_get_output_ports()
1097 mixer_set_input_port(mixer->amixers[amix*CHN_NUM], rsc); in mixer_set_input_left()
1100 mixer_set_input_port(mixer->amixers[amix*CHN_NUM], rsc); in mixer_set_input_left()
1111 mixer_set_input_port(mixer->amixers[amix*CHN_NUM+1], rsc); in mixer_set_input_right()
1114 mixer_set_input_port(mixer->amixers[amix*CHN_NUM+1], rsc); in mixer_set_input_right()
1127 amixer = mixer->amixers[i]; in mixer_resume()
1151 if (NULL != mixer->amixers[i]) { in ct_mixer_destroy()
1152 amixer = mixer->amixers[i]; in ct_mixer_destroy()
1165 kfree(mixer->amixers); in ct_mixer_destroy()