Lines Matching defs:kctl
244 /* kctl set to 'none' and we reset the bits so send IPC */
307 bc = (void *)algo->kctl->private_value;
310 algo->kctl->id.name, pipe);
608 struct snd_kcontrol *kctl = gain->kctl;
610 dev_dbg(&drv->pdev->dev, "control name=%s\n", kctl->id.name);
611 mc = (void *)kctl->private_value;
1379 * @kctl: kcontrol pointer
1392 static int sst_fill_module_list(struct snd_kcontrol *kctl,
1405 struct sst_gain_mixer_control *mc = (void *)kctl->private_value;
1408 module->kctl = kctl;
1411 struct sst_algo_control *bc = (void *)kctl->private_value;
1414 module->kctl = kctl;
1418 type, kctl->id.name);
1437 struct snd_kcontrol *kctl;
1444 list_for_each_entry(kctl, &card->controls, list) {
1445 idx = strchr(kctl->id.name, ' ');
1448 index = idx - (char*)kctl->id.name;
1449 if (strncmp(kctl->id.name, w->name, index))
1452 if (strstr(kctl->id.name, "Volume"))
1453 ret = sst_fill_module_list(kctl, w, SST_MODULE_GAIN);
1455 else if (strstr(kctl->id.name, "params"))
1456 ret = sst_fill_module_list(kctl, w, SST_MODULE_ALGO);
1458 else if (strstr(kctl->id.name, "Switch") &&
1459 strstr(kctl->id.name, "Gain")) {
1461 (void *)kctl->private_value;
1465 } else if (strstr(kctl->id.name, "interleaver")) {
1466 struct sst_enum *e = (void *)kctl->private_value;
1470 } else if (strstr(kctl->id.name, "deinterleaver")) {
1471 struct sst_enum *e = (void *)kctl->private_value;