• Home
  • Raw
  • Download

Lines Matching refs:list

587 int snd_usb_mixer_add_control(struct usb_mixer_elem_list *list,  in snd_usb_mixer_add_control()  argument
590 struct usb_mixer_interface *mixer = list->mixer; in snd_usb_mixer_add_control()
600 list->kctl = kctl; in snd_usb_mixer_add_control()
601 list->next_id_elem = mixer->id_elems[list->id]; in snd_usb_mixer_add_control()
602 mixer->id_elems[list->id] = list; in snd_usb_mixer_add_control()
1873 void *raw_desc, struct procunit_info *list, in build_audio_procunit() argument
1904 for (info = list; info && info->type; info++) in build_audio_procunit()
2352 struct usb_mixer_elem_list *list; in snd_usb_mixer_notify_id() local
2354 for (list = mixer->id_elems[unitid]; list; list = list->next_id_elem) in snd_usb_mixer_notify_id()
2356 &list->kctl->id); in snd_usb_mixer_notify_id()
2360 struct usb_mixer_elem_list *list) in snd_usb_mixer_dump_cval() argument
2362 struct usb_mixer_elem_info *cval = (struct usb_mixer_elem_info *)list; in snd_usb_mixer_dump_cval()
2378 struct usb_mixer_elem_list *list; in snd_usb_mixer_proc_read() local
2381 list_for_each_entry(mixer, &chip->mixer_list, list) { in snd_usb_mixer_proc_read()
2388 for (list = mixer->id_elems[unitid]; list; in snd_usb_mixer_proc_read()
2389 list = list->next_id_elem) { in snd_usb_mixer_proc_read()
2390 snd_iprintf(buffer, " Unit: %i\n", list->id); in snd_usb_mixer_proc_read()
2391 if (list->kctl) in snd_usb_mixer_proc_read()
2394 list->kctl->id.name, in snd_usb_mixer_proc_read()
2395 list->kctl->id.index); in snd_usb_mixer_proc_read()
2396 if (list->dump) in snd_usb_mixer_proc_read()
2397 list->dump(buffer, list); in snd_usb_mixer_proc_read()
2406 struct usb_mixer_elem_list *list; in snd_usb_mixer_interrupt_v2() local
2419 for (list = mixer->id_elems[unitid]; list; list = list->next_id_elem) in snd_usb_mixer_interrupt_v2()
2425 for (list = mixer->id_elems[unitid]; list; list = list->next_id_elem) { in snd_usb_mixer_interrupt_v2()
2428 if (!list->kctl) in snd_usb_mixer_interrupt_v2()
2431 info = (struct usb_mixer_elem_info *)list; in snd_usb_mixer_interrupt_v2()
2601 list_add(&mixer->list, &chip->mixer_list); in snd_usb_create_mixer()
2647 static int restore_mixer_value(struct usb_mixer_elem_list *list) in restore_mixer_value() argument
2649 struct usb_mixer_elem_info *cval = (struct usb_mixer_elem_info *)list; in restore_mixer_value()
2679 struct usb_mixer_elem_list *list; in snd_usb_mixer_resume() local
2685 for (list = mixer->id_elems[id]; list; in snd_usb_mixer_resume()
2686 list = list->next_id_elem) { in snd_usb_mixer_resume()
2687 if (list->resume) { in snd_usb_mixer_resume()
2688 err = list->resume(list); in snd_usb_mixer_resume()
2700 void snd_usb_mixer_elem_init_std(struct usb_mixer_elem_list *list, in snd_usb_mixer_elem_init_std() argument
2704 list->mixer = mixer; in snd_usb_mixer_elem_init_std()
2705 list->id = unitid; in snd_usb_mixer_elem_init_std()
2706 list->dump = snd_usb_mixer_dump_cval; in snd_usb_mixer_elem_init_std()
2708 list->resume = restore_mixer_value; in snd_usb_mixer_elem_init_std()