Home
last modified time | relevance | path

Searched refs:elem_id (Results 1 – 7 of 7) sorted by relevance

/Linux-v4.19/sound/pci/ice1712/
Dpsc724.c194 struct snd_ctl_elem_id elem_id; in psc724_set_jack_state() local
204 memset(&elem_id, 0, sizeof(elem_id)); in psc724_set_jack_state()
205 elem_id.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in psc724_set_jack_state()
206 strlcpy(elem_id.name, "Master Speakers Playback Switch", in psc724_set_jack_state()
207 sizeof(elem_id.name)); in psc724_set_jack_state()
208 kctl = snd_ctl_find_id(ice->card, &elem_id); in psc724_set_jack_state()
211 strlcpy(elem_id.name, spec->wm8776.ctl[WM8776_CTL_HP_SW].name, in psc724_set_jack_state()
212 sizeof(elem_id.name)); in psc724_set_jack_state()
213 kctl = snd_ctl_find_id(ice->card, &elem_id); in psc724_set_jack_state()
Dwm8776.c51 struct snd_ctl_elem_id elem_id; in snd_wm8776_activate_ctl() local
54 memset(&elem_id, 0, sizeof(elem_id)); in snd_wm8776_activate_ctl()
55 strlcpy(elem_id.name, ctl_name, sizeof(elem_id.name)); in snd_wm8776_activate_ctl()
56 elem_id.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_wm8776_activate_ctl()
57 kctl = snd_ctl_find_id(card, &elem_id); in snd_wm8776_activate_ctl()
/Linux-v4.19/include/uapi/rdma/
Drdma_user_ioctl_cmds.h60 __u8 elem_id; member
/Linux-v4.19/sound/pci/
Dmaestro3.c2057 struct snd_ctl_elem_id elem_id; in snd_m3_mixer() local
2079 memset(&elem_id, 0, sizeof(elem_id)); in snd_m3_mixer()
2080 elem_id.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_m3_mixer()
2081 strcpy(elem_id.name, "Master Playback Switch"); in snd_m3_mixer()
2082 chip->master_switch = snd_ctl_find_id(chip->card, &elem_id); in snd_m3_mixer()
2083 memset(&elem_id, 0, sizeof(elem_id)); in snd_m3_mixer()
2084 elem_id.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_m3_mixer()
2085 strcpy(elem_id.name, "Master Playback Volume"); in snd_m3_mixer()
2086 chip->master_volume = snd_ctl_find_id(chip->card, &elem_id); in snd_m3_mixer()
Des1968.c2025 struct snd_ctl_elem_id elem_id; in snd_es1968_mixer() local
2044 memset(&elem_id, 0, sizeof(elem_id)); in snd_es1968_mixer()
2045 elem_id.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_es1968_mixer()
2046 strcpy(elem_id.name, "Master Playback Switch"); in snd_es1968_mixer()
2047 chip->master_switch = snd_ctl_find_id(chip->card, &elem_id); in snd_es1968_mixer()
2048 memset(&elem_id, 0, sizeof(elem_id)); in snd_es1968_mixer()
2049 elem_id.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_es1968_mixer()
2050 strcpy(elem_id.name, "Master Playback Volume"); in snd_es1968_mixer()
2051 chip->master_volume = snd_ctl_find_id(chip->card, &elem_id); in snd_es1968_mixer()
Dcmipci.c2757 struct snd_ctl_elem_id elem_id; in snd_cmipci_mixer_new() local
2759 memset(&elem_id, 0, sizeof(elem_id)); in snd_cmipci_mixer_new()
2760 elem_id.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_cmipci_mixer_new()
2761 strcpy(elem_id.name, cm_saved_mixer[idx].name); in snd_cmipci_mixer_new()
2762 ctl = snd_ctl_find_id(cm->card, &elem_id); in snd_cmipci_mixer_new()
/Linux-v4.19/drivers/infiniband/core/
Duverbs_ioctl.c157 if (uattr->attr_data.enum_data.elem_id >= spec->u.enum_def.num_elems) in uverbs_process_attr()
163 val_spec = &spec->u2.enum_def.ids[uattr->attr_data.enum_data.elem_id]; in uverbs_process_attr()
169 e->ptr_attr.enum_id = uattr->attr_data.enum_data.elem_id; in uverbs_process_attr()