Lines Matching refs:kctl

304 		bc = (void *)algo->kctl->private_value;  in sst_find_and_send_pipe_algo()
307 algo->kctl->id.name, pipe); in sst_find_and_send_pipe_algo()
597 struct snd_kcontrol *kctl = gain->kctl; in sst_set_pipe_gain() local
599 dev_dbg(&drv->pdev->dev, "control name=%s\n", kctl->id.name); in sst_set_pipe_gain()
600 mc = (void *)kctl->private_value; in sst_set_pipe_gain()
1352 static int sst_fill_module_list(struct snd_kcontrol *kctl, in sst_fill_module_list() argument
1365 struct sst_gain_mixer_control *mc = (void *)kctl->private_value; in sst_fill_module_list()
1368 module->kctl = kctl; in sst_fill_module_list()
1371 struct sst_algo_control *bc = (void *)kctl->private_value; in sst_fill_module_list()
1374 module->kctl = kctl; in sst_fill_module_list()
1378 type, kctl->id.name); in sst_fill_module_list()
1396 struct snd_kcontrol *kctl; in sst_fill_widget_module_info() local
1403 list_for_each_entry(kctl, &card->controls, list) { in sst_fill_widget_module_info()
1404 idx = strchr(kctl->id.name, ' '); in sst_fill_widget_module_info()
1407 index = idx - (char*)kctl->id.name; in sst_fill_widget_module_info()
1408 if (strncmp(kctl->id.name, w->name, index)) in sst_fill_widget_module_info()
1411 if (strstr(kctl->id.name, "Volume")) in sst_fill_widget_module_info()
1412 ret = sst_fill_module_list(kctl, w, SST_MODULE_GAIN); in sst_fill_widget_module_info()
1414 else if (strstr(kctl->id.name, "params")) in sst_fill_widget_module_info()
1415 ret = sst_fill_module_list(kctl, w, SST_MODULE_ALGO); in sst_fill_widget_module_info()
1417 else if (strstr(kctl->id.name, "Switch") && in sst_fill_widget_module_info()
1418 strstr(kctl->id.name, "Gain")) { in sst_fill_widget_module_info()
1420 (void *)kctl->private_value; in sst_fill_widget_module_info()
1424 } else if (strstr(kctl->id.name, "interleaver")) { in sst_fill_widget_module_info()
1425 struct sst_enum *e = (void *)kctl->private_value; in sst_fill_widget_module_info()
1429 } else if (strstr(kctl->id.name, "deinterleaver")) { in sst_fill_widget_module_info()
1430 struct sst_enum *e = (void *)kctl->private_value; in sst_fill_widget_module_info()