Lines Matching refs:melem
295 snd_mixer_elem_t *melem ATTRIBUTE_UNUSED) in simple_event_remove()
321 snd_mixer_elem_t *melem; in simple_event_add1() local
393 melem = snd_mixer_find_selem(snd_mixer_class_get_mixer(class), id); in simple_event_add1()
394 if (!melem) { in simple_event_add1()
405 err = snd_mixer_elem_new(&melem, SND_MIXER_ELEM_SIMPLE, in simple_event_add1()
416 simple = snd_mixer_elem_get_private(melem); in simple_event_add1()
421 err = snd_mixer_elem_attach(melem, helem); in simple_event_add1()
429 err = simple_update(melem); in simple_event_add1()
437 err = snd_mixer_elem_add(melem, class); in simple_event_add1()
439 err = snd_mixer_elem_info(melem); in simple_event_add1()
442 err = selem_read(melem); in simple_event_add1()
446 err = snd_mixer_elem_value(melem); in simple_event_add1()
450 snd_mixer_elem_free(melem); in simple_event_add1()
481 snd_hctl_elem_t *helem, snd_mixer_elem_t *melem) in alsa_mixer_sbasic_event() argument
485 return simple_event_remove(helem, melem); in alsa_mixer_sbasic_event()
492 err = simple_event_remove(helem, melem); in alsa_mixer_sbasic_event()
501 err = selem_read(melem); in alsa_mixer_sbasic_event()
505 err = snd_mixer_elem_value(melem); in alsa_mixer_sbasic_event()