Lines Matching refs:mix_index
988 int mix_index = 0; in tasdevice_create_control() local
1005 prof_ctrls[mix_index].name = name; in tasdevice_create_control()
1006 prof_ctrls[mix_index].iface = SNDRV_CTL_ELEM_IFACE_MIXER; in tasdevice_create_control()
1007 prof_ctrls[mix_index].info = tasdevice_info_profile; in tasdevice_create_control()
1008 prof_ctrls[mix_index].get = tasdevice_get_profile_id; in tasdevice_create_control()
1009 prof_ctrls[mix_index].put = tasdevice_set_profile_id; in tasdevice_create_control()
1010 mix_index++; in tasdevice_create_control()
1013 prof_ctrls, nr_controls < mix_index ? nr_controls : mix_index); in tasdevice_create_control()
1114 int mix_index = 0; in tasdevice_dsp_create_ctrls() local
1130 dsp_ctrls[mix_index].name = prog_name; in tasdevice_dsp_create_ctrls()
1131 dsp_ctrls[mix_index].iface = SNDRV_CTL_ELEM_IFACE_MIXER; in tasdevice_dsp_create_ctrls()
1132 dsp_ctrls[mix_index].info = tasdevice_info_programs; in tasdevice_dsp_create_ctrls()
1133 dsp_ctrls[mix_index].get = tasdevice_program_get; in tasdevice_dsp_create_ctrls()
1134 dsp_ctrls[mix_index].put = tasdevice_program_put; in tasdevice_dsp_create_ctrls()
1135 mix_index++; in tasdevice_dsp_create_ctrls()
1142 dsp_ctrls[mix_index].name = conf_name; in tasdevice_dsp_create_ctrls()
1143 dsp_ctrls[mix_index].iface = SNDRV_CTL_ELEM_IFACE_MIXER; in tasdevice_dsp_create_ctrls()
1144 dsp_ctrls[mix_index].info = tasdevice_info_configurations; in tasdevice_dsp_create_ctrls()
1145 dsp_ctrls[mix_index].get = tasdevice_configuration_get; in tasdevice_dsp_create_ctrls()
1146 dsp_ctrls[mix_index].put = tasdevice_configuration_put; in tasdevice_dsp_create_ctrls()
1147 mix_index++; in tasdevice_dsp_create_ctrls()
1154 dsp_ctrls[mix_index].name = active_dev_num; in tasdevice_dsp_create_ctrls()
1155 dsp_ctrls[mix_index].iface = SNDRV_CTL_ELEM_IFACE_MIXER; in tasdevice_dsp_create_ctrls()
1156 dsp_ctrls[mix_index].info = tasdevice_info_active_num; in tasdevice_dsp_create_ctrls()
1157 dsp_ctrls[mix_index].get = tasdevice_active_num_get; in tasdevice_dsp_create_ctrls()
1158 dsp_ctrls[mix_index].put = tasdevice_active_num_put; in tasdevice_dsp_create_ctrls()
1159 mix_index++; in tasdevice_dsp_create_ctrls()
1165 dsp_ctrls[mix_index].name = chip_id; in tasdevice_dsp_create_ctrls()
1166 dsp_ctrls[mix_index].iface = SNDRV_CTL_ELEM_IFACE_MIXER; in tasdevice_dsp_create_ctrls()
1167 dsp_ctrls[mix_index].info = tasdevice_info_chip_id; in tasdevice_dsp_create_ctrls()
1168 dsp_ctrls[mix_index].get = tasdevice_get_chip_id; in tasdevice_dsp_create_ctrls()
1169 mix_index++; in tasdevice_dsp_create_ctrls()
1172 nr_controls < mix_index ? nr_controls : mix_index); in tasdevice_dsp_create_ctrls()