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()
1392 static int sst_fill_module_list(struct snd_kcontrol *kctl, in sst_fill_module_list() argument
1405 struct sst_gain_mixer_control *mc = (void *)kctl->private_value; in sst_fill_module_list()
1408 module->kctl = kctl; in sst_fill_module_list()
1411 struct sst_algo_control *bc = (void *)kctl->private_value; in sst_fill_module_list()
1414 module->kctl = kctl; in sst_fill_module_list()
1418 type, kctl->id.name); in sst_fill_module_list()
1437 struct snd_kcontrol *kctl; in sst_fill_widget_module_info() local
1444 list_for_each_entry(kctl, &card->controls, list) { in sst_fill_widget_module_info()
1445 idx = strchr(kctl->id.name, ' '); in sst_fill_widget_module_info()
1448 index = idx - (char*)kctl->id.name; in sst_fill_widget_module_info()
1449 if (strncmp(kctl->id.name, w->name, index)) in sst_fill_widget_module_info()
1452 if (strstr(kctl->id.name, "Volume")) in sst_fill_widget_module_info()
1453 ret = sst_fill_module_list(kctl, w, SST_MODULE_GAIN); in sst_fill_widget_module_info()
1455 else if (strstr(kctl->id.name, "params")) in sst_fill_widget_module_info()
1456 ret = sst_fill_module_list(kctl, w, SST_MODULE_ALGO); in sst_fill_widget_module_info()
1458 else if (strstr(kctl->id.name, "Switch") && in sst_fill_widget_module_info()
1459 strstr(kctl->id.name, "Gain")) { in sst_fill_widget_module_info()
1461 (void *)kctl->private_value; in sst_fill_widget_module_info()
1465 } else if (strstr(kctl->id.name, "interleaver")) { in sst_fill_widget_module_info()
1466 struct sst_enum *e = (void *)kctl->private_value; in sst_fill_widget_module_info()
1470 } else if (strstr(kctl->id.name, "deinterleaver")) { in sst_fill_widget_module_info()
1471 struct sst_enum *e = (void *)kctl->private_value; in sst_fill_widget_module_info()