Searched refs:sctl (Results 1 – 3 of 3) sorted by relevance
351 struct snd_kcontrol *sctl = slave->kctl; in master_free() local352 struct list_head olist = sctl->list; in master_free()353 memcpy(sctl, &slave->slave, sizeof(*sctl)); in master_free()354 memcpy(sctl->vd, slave->slave.vd, in master_free()355 sctl->count * sizeof(*sctl->vd)); in master_free()356 sctl->list = olist; /* keep the current linked-list */ in master_free()
2574 struct snd_kcontrol *sctl = items[i].kctl; in map_slaves() local2575 if (!sctl || !sctl->id.name || in map_slaves()2576 sctl->id.iface != SNDRV_CTL_ELEM_IFACE_MIXER) in map_slaves()2579 char tmpname[sizeof(sctl->id.name)]; in map_slaves()2586 if (!strcmp(sctl->id.name, name)) { in map_slaves()2587 err = func(data, sctl); in map_slaves()2597 static int check_slave_present(void *data, struct snd_kcontrol *sctl) in check_slave_present() argument
3476 struct snd_kcontrol *sctl; in snd_ac97_add_vmaster() local3478 sctl = snd_ac97_find_mixer_ctl(ac97, *s); in snd_ac97_add_vmaster()3479 if (!sctl) { in snd_ac97_add_vmaster()3483 err = snd_ctl_add_slave(kctl, sctl); in snd_ac97_add_vmaster()