Lines Matching refs:kctl

307 		bc = (void *)algo->kctl->private_value;  in sst_find_and_send_pipe_algo()
310 algo->kctl->id.name, pipe); in sst_find_and_send_pipe_algo()
608 struct snd_kcontrol *kctl = gain->kctl; in sst_set_pipe_gain() local
610 dev_dbg(&drv->pdev->dev, "control name=%s\n", kctl->id.name); in sst_set_pipe_gain()
611 mc = (void *)kctl->private_value; in sst_set_pipe_gain()
1387 static int sst_fill_module_list(struct snd_kcontrol *kctl, in sst_fill_module_list() argument
1400 struct sst_gain_mixer_control *mc = (void *)kctl->private_value; in sst_fill_module_list()
1403 module->kctl = kctl; in sst_fill_module_list()
1406 struct sst_algo_control *bc = (void *)kctl->private_value; in sst_fill_module_list()
1409 module->kctl = kctl; in sst_fill_module_list()
1413 type, kctl->id.name); in sst_fill_module_list()
1432 struct snd_kcontrol *kctl; in sst_fill_widget_module_info() local
1439 list_for_each_entry(kctl, &card->controls, list) { in sst_fill_widget_module_info()
1440 idx = strchr(kctl->id.name, ' '); in sst_fill_widget_module_info()
1443 index = idx - (char*)kctl->id.name; in sst_fill_widget_module_info()
1444 if (strncmp(kctl->id.name, w->name, index)) in sst_fill_widget_module_info()
1447 if (strstr(kctl->id.name, "Volume")) in sst_fill_widget_module_info()
1448 ret = sst_fill_module_list(kctl, w, SST_MODULE_GAIN); in sst_fill_widget_module_info()
1450 else if (strstr(kctl->id.name, "params")) in sst_fill_widget_module_info()
1451 ret = sst_fill_module_list(kctl, w, SST_MODULE_ALGO); in sst_fill_widget_module_info()
1453 else if (strstr(kctl->id.name, "Switch") && in sst_fill_widget_module_info()
1454 strstr(kctl->id.name, "Gain")) { in sst_fill_widget_module_info()
1456 (void *)kctl->private_value; in sst_fill_widget_module_info()
1460 } else if (strstr(kctl->id.name, "interleaver")) { in sst_fill_widget_module_info()
1461 struct sst_enum *e = (void *)kctl->private_value; in sst_fill_widget_module_info()
1465 } else if (strstr(kctl->id.name, "deinterleaver")) { in sst_fill_widget_module_info()
1466 struct sst_enum *e = (void *)kctl->private_value; in sst_fill_widget_module_info()