Lines Matching refs:gctl_id
742 struct snd_ctl_elem_id *gctl_id; in snd_emu10k1_verify_controls() local
765 gctl_id = (struct snd_ctl_elem_id *)&gctl->id; in snd_emu10k1_verify_controls()
767 if (snd_ctl_find_id(emu->card, gctl_id)) { in snd_emu10k1_verify_controls()
773 if (gctl_id->iface != SNDRV_CTL_ELEM_IFACE_MIXER && in snd_emu10k1_verify_controls()
774 gctl_id->iface != SNDRV_CTL_ELEM_IFACE_PCM) { in snd_emu10k1_verify_controls()
809 struct snd_ctl_elem_id *gctl_id; in snd_emu10k1_add_controls() local
830 gctl_id = (struct snd_ctl_elem_id *)&gctl->id; in snd_emu10k1_add_controls()
831 if (gctl_id->iface != SNDRV_CTL_ELEM_IFACE_MIXER && in snd_emu10k1_add_controls()
832 gctl_id->iface != SNDRV_CTL_ELEM_IFACE_PCM) { in snd_emu10k1_add_controls()
836 if (!*gctl_id->name) { in snd_emu10k1_add_controls()
842 knew.iface = gctl_id->iface; in snd_emu10k1_add_controls()
843 knew.name = gctl_id->name; in snd_emu10k1_add_controls()
844 knew.index = gctl_id->index; in snd_emu10k1_add_controls()
845 knew.device = gctl_id->device; in snd_emu10k1_add_controls()
846 knew.subdevice = gctl_id->subdevice; in snd_emu10k1_add_controls()