Searched refs:prof_ctrls (Results 1 – 1 of 1) sorted by relevance
226 struct snd_kcontrol_new *prof_ctrls; in tasdevice_create_control() local232 prof_ctrls = devm_kcalloc(tas_priv->dev, nr_controls, in tasdevice_create_control()233 sizeof(prof_ctrls[0]), GFP_KERNEL); in tasdevice_create_control()234 if (!prof_ctrls) { in tasdevice_create_control()247 prof_ctrls[mix_index].name = name; in tasdevice_create_control()248 prof_ctrls[mix_index].iface = SNDRV_CTL_ELEM_IFACE_MIXER; in tasdevice_create_control()249 prof_ctrls[mix_index].info = tasdevice_info_profile; in tasdevice_create_control()250 prof_ctrls[mix_index].get = tasdevice_get_profile_id; in tasdevice_create_control()251 prof_ctrls[mix_index].put = tasdevice_set_profile_id; in tasdevice_create_control()255 prof_ctrls, nr_controls < mix_index ? nr_controls : mix_index); in tasdevice_create_control()