Home
last modified time | relevance | path

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

/Linux-v5.4/sound/pci/ice1712/
Dpsc724.c180 struct snd_ctl_elem_id elem_id; in psc724_set_jack_state() local
190 memset(&elem_id, 0, sizeof(elem_id)); in psc724_set_jack_state()
191 elem_id.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in psc724_set_jack_state()
192 strlcpy(elem_id.name, "Master Speakers Playback Switch", in psc724_set_jack_state()
193 sizeof(elem_id.name)); in psc724_set_jack_state()
194 kctl = snd_ctl_find_id(ice->card, &elem_id); in psc724_set_jack_state()
197 strlcpy(elem_id.name, spec->wm8776.ctl[WM8776_CTL_HP_SW].name, in psc724_set_jack_state()
198 sizeof(elem_id.name)); in psc724_set_jack_state()
199 kctl = snd_ctl_find_id(ice->card, &elem_id); in psc724_set_jack_state()
Dwm8776.c37 struct snd_ctl_elem_id elem_id; in snd_wm8776_activate_ctl() local
40 memset(&elem_id, 0, sizeof(elem_id)); in snd_wm8776_activate_ctl()
41 strlcpy(elem_id.name, ctl_name, sizeof(elem_id.name)); in snd_wm8776_activate_ctl()
42 elem_id.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_wm8776_activate_ctl()
43 kctl = snd_ctl_find_id(card, &elem_id); in snd_wm8776_activate_ctl()
/Linux-v5.4/include/uapi/rdma/
Drdma_user_ioctl_cmds.h60 __u8 elem_id; member
/Linux-v5.4/sound/pci/
Dmaestro3.c2042 struct snd_ctl_elem_id elem_id; in snd_m3_mixer() local
2064 memset(&elem_id, 0, sizeof(elem_id)); in snd_m3_mixer()
2065 elem_id.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_m3_mixer()
2066 strcpy(elem_id.name, "Master Playback Switch"); in snd_m3_mixer()
2067 chip->master_switch = snd_ctl_find_id(chip->card, &elem_id); in snd_m3_mixer()
2068 memset(&elem_id, 0, sizeof(elem_id)); in snd_m3_mixer()
2069 elem_id.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_m3_mixer()
2070 strcpy(elem_id.name, "Master Playback Volume"); in snd_m3_mixer()
2071 chip->master_volume = snd_ctl_find_id(chip->card, &elem_id); in snd_m3_mixer()
Des1968.c2011 struct snd_ctl_elem_id elem_id; in snd_es1968_mixer() local
2030 memset(&elem_id, 0, sizeof(elem_id)); in snd_es1968_mixer()
2031 elem_id.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_es1968_mixer()
2032 strcpy(elem_id.name, "Master Playback Switch"); in snd_es1968_mixer()
2033 chip->master_switch = snd_ctl_find_id(chip->card, &elem_id); in snd_es1968_mixer()
2034 memset(&elem_id, 0, sizeof(elem_id)); in snd_es1968_mixer()
2035 elem_id.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_es1968_mixer()
2036 strcpy(elem_id.name, "Master Playback Volume"); in snd_es1968_mixer()
2037 chip->master_volume = snd_ctl_find_id(chip->card, &elem_id); in snd_es1968_mixer()
Dcmipci.c2744 struct snd_ctl_elem_id elem_id; in snd_cmipci_mixer_new() local
2746 memset(&elem_id, 0, sizeof(elem_id)); in snd_cmipci_mixer_new()
2747 elem_id.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_cmipci_mixer_new()
2748 strcpy(elem_id.name, cm_saved_mixer[idx].name); in snd_cmipci_mixer_new()
2749 ctl = snd_ctl_find_id(cm->card, &elem_id); in snd_cmipci_mixer_new()
/Linux-v5.4/drivers/infiniband/core/
Duverbs_ioctl.c254 if (uattr->attr_data.enum_data.elem_id >= spec->u.enum_def.num_elems) in uverbs_process_attr()
260 val_spec = &spec->u2.enum_def.ids[uattr->attr_data.enum_data.elem_id]; in uverbs_process_attr()
266 e->ptr_attr.enum_id = uattr->attr_data.enum_data.elem_id; in uverbs_process_attr()