Home
last modified time | relevance | path

Searched refs:iterm (Results 1 – 2 of 2) sorted by relevance

/linux-2.6.39/sound/usb/
Dmixer.c603 static int get_term_name(struct mixer_build *state, struct usb_audio_term *iterm, in get_term_name() argument
608 if (iterm->name) in get_term_name()
609 return snd_usb_copy_string_desc(state, iterm->name, name, maxlen); in get_term_name()
612 if (iterm->type >> 16) { in get_term_name()
615 switch (iterm->type >> 16) { in get_term_name()
625 return sprintf(name, "Unit %d", iterm->id); in get_term_name()
629 switch (iterm->type & 0xff00) { in get_term_name()
641 if (names->type == iterm->type) { in get_term_name()
999 struct usb_audio_term *iterm, int unitid, in build_feature_ctl() argument
1079 len = get_term_name(state, iterm, kctl->id.name, sizeof(kctl->id.name), 1); in build_feature_ctl()
[all …]
/linux-2.6.39/drivers/media/video/uvc/
Duvc_v4l2.c677 struct uvc_entity *iterm = NULL; in uvc_v4l2_do_ioctl() local
685 list_for_each_entry(iterm, &chain->entities, chain) { in uvc_v4l2_do_ioctl()
686 if (UVC_ENTITY_IS_ITERM(iterm)) in uvc_v4l2_do_ioctl()
689 pin = iterm->id; in uvc_v4l2_do_ioctl()
692 list_for_each_entry(iterm, &chain->entities, chain) { in uvc_v4l2_do_ioctl()
693 if (!UVC_ENTITY_IS_ITERM(iterm)) in uvc_v4l2_do_ioctl()
695 if (iterm->id == pin) in uvc_v4l2_do_ioctl()
700 if (iterm == NULL || iterm->id != pin) in uvc_v4l2_do_ioctl()
705 strlcpy(input->name, iterm->name, sizeof input->name); in uvc_v4l2_do_ioctl()
706 if (UVC_ENTITY_TYPE(iterm) == UVC_ITT_CAMERA) in uvc_v4l2_do_ioctl()