Home
last modified time | relevance | path

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

/linux-3.4.99/sound/usb/
Dmixer.c616 static int get_term_name(struct mixer_build *state, struct usb_audio_term *iterm, in get_term_name() argument
621 if (iterm->name) in get_term_name()
622 return snd_usb_copy_string_desc(state, iterm->name, name, maxlen); in get_term_name()
625 if (iterm->type >> 16) { in get_term_name()
628 switch (iterm->type >> 16) { in get_term_name()
638 return sprintf(name, "Unit %d", iterm->id); in get_term_name()
642 switch (iterm->type & 0xff00) { in get_term_name()
654 if (names->type == iterm->type) { in get_term_name()
1095 struct usb_audio_term *iterm, int unitid, in build_feature_ctl() argument
1175 len = get_term_name(state, iterm, kctl->id.name, sizeof(kctl->id.name), 1); in build_feature_ctl()
[all …]
/linux-3.4.99/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()