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()
1231 static int sst_fill_module_list(struct snd_kcontrol *kctl, in sst_fill_module_list() argument
1244 struct sst_gain_mixer_control *mc = (void *)kctl->private_value; in sst_fill_module_list()
1247 module->kctl = kctl; in sst_fill_module_list()
1250 struct sst_algo_control *bc = (void *)kctl->private_value; in sst_fill_module_list()
1253 module->kctl = kctl; in sst_fill_module_list()
1257 type, kctl->id.name); in sst_fill_module_list()
1275 struct snd_kcontrol *kctl; in sst_fill_widget_module_info() local
1282 list_for_each_entry(kctl, &card->controls, list) { in sst_fill_widget_module_info()
1283 idx = strstr(kctl->id.name, " "); in sst_fill_widget_module_info()
1286 index = strlen(kctl->id.name) - strlen(idx); in sst_fill_widget_module_info()
1288 if (strstr(kctl->id.name, "Volume") && in sst_fill_widget_module_info()
1289 !strncmp(kctl->id.name, w->name, index)) in sst_fill_widget_module_info()
1290 ret = sst_fill_module_list(kctl, w, SST_MODULE_GAIN); in sst_fill_widget_module_info()
1292 else if (strstr(kctl->id.name, "params") && in sst_fill_widget_module_info()
1293 !strncmp(kctl->id.name, w->name, index)) in sst_fill_widget_module_info()
1294 ret = sst_fill_module_list(kctl, w, SST_MODULE_ALGO); in sst_fill_widget_module_info()
1296 else if (strstr(kctl->id.name, "Switch") && in sst_fill_widget_module_info()
1297 !strncmp(kctl->id.name, w->name, index) && in sst_fill_widget_module_info()
1298 strstr(kctl->id.name, "Gain")) { in sst_fill_widget_module_info()
1300 (void *)kctl->private_value; in sst_fill_widget_module_info()
1304 } else if (strstr(kctl->id.name, "interleaver") && in sst_fill_widget_module_info()
1305 !strncmp(kctl->id.name, w->name, index)) { in sst_fill_widget_module_info()
1306 struct sst_enum *e = (void *)kctl->private_value; in sst_fill_widget_module_info()
1310 } else if (strstr(kctl->id.name, "deinterleaver") && in sst_fill_widget_module_info()
1311 !strncmp(kctl->id.name, w->name, index)) { in sst_fill_widget_module_info()
1313 struct sst_enum *e = (void *)kctl->private_value; in sst_fill_widget_module_info()