• Home
  • Raw
  • Download

Lines Matching refs:melem

91 int snd_mixer_elem_attach(snd_mixer_elem_t *melem,  in snd_mixer_elem_attach()  argument
96 err = bag_add(bag, melem); in snd_mixer_elem_attach()
99 return bag_add(&melem->helems, helem); in snd_mixer_elem_attach()
110 int snd_mixer_elem_detach(snd_mixer_elem_t *melem, in snd_mixer_elem_detach() argument
115 err = bag_del(bag, melem); in snd_mixer_elem_detach()
117 err = bag_del(&melem->helems, helem); in snd_mixer_elem_detach()
129 int snd_mixer_elem_empty(snd_mixer_elem_t *melem) in snd_mixer_elem_empty() argument
131 return bag_empty(&melem->helems); in snd_mixer_elem_empty()
143 snd_mixer_elem_t *melem = bag_iterator_entry(i); in hctl_elem_event_handler() local
144 snd_mixer_class_t *class = melem->class; in hctl_elem_event_handler()
145 err = class->event(class, mask, helem, melem); in hctl_elem_event_handler()
157 snd_mixer_elem_t *melem = bag_iterator_entry(i); in hctl_elem_event_handler() local
158 snd_mixer_class_t *class = melem->class; in hctl_elem_event_handler()
159 err = class->event(class, mask, helem, melem); in hctl_elem_event_handler()
379 snd_mixer_elem_t *melem = calloc(1, sizeof(*melem)); in snd_mixer_elem_new() local
380 if (melem == NULL) in snd_mixer_elem_new()
382 melem->type = type; in snd_mixer_elem_new()
383 melem->compare_weight = compare_weight; in snd_mixer_elem_new()
384 melem->private_data = private_data; in snd_mixer_elem_new()
385 melem->private_free = private_free; in snd_mixer_elem_new()
386 INIT_LIST_HEAD(&melem->helems); in snd_mixer_elem_new()
387 *elem = melem; in snd_mixer_elem_new()