Lines Matching refs:iterm
638 static int get_term_name(struct mixer_build *state, struct usb_audio_term *iterm, in get_term_name() argument
643 if (iterm->name) in get_term_name()
644 return snd_usb_copy_string_desc(state, iterm->name, in get_term_name()
648 if (iterm->type >> 16) { in get_term_name()
651 switch (iterm->type >> 16) { in get_term_name()
665 return sprintf(name, "Unit %d", iterm->id); in get_term_name()
669 switch (iterm->type & 0xff00) { in get_term_name()
685 if (names->type == iterm->type) { in get_term_name()
1215 struct usb_audio_term *iterm, int unitid, in build_feature_ctl() argument
1293 len = get_term_name(state, iterm, kctl->id.name, in build_feature_ctl()
1373 struct usb_audio_term iterm; in parse_audio_feature_unit() local
1425 err = check_input_term(state, hdr->bSourceID, &iterm); in parse_audio_feature_unit()
1471 &iterm, unitid, 0); in parse_audio_feature_unit()
1473 build_feature_ctl(state, _ftr, 0, i, &iterm, in parse_audio_feature_unit()
1508 &iterm, unitid, ch_read_only); in parse_audio_feature_unit()
1510 build_feature_ctl(state, _ftr, 0, i, &iterm, unitid, in parse_audio_feature_unit()
1531 struct usb_audio_term *iterm) in build_mixer_unit_ctl() argument
1573 len = get_term_name(state, iterm, kctl->id.name, in build_mixer_unit_ctl()
1591 struct usb_audio_term iterm; in parse_audio_mixer_unit() local
1615 err = check_input_term(state, desc->baSourceID[pin], &iterm); in parse_audio_mixer_unit()
1618 num_ins += iterm.channels; in parse_audio_mixer_unit()
1633 unitid, &iterm); in parse_audio_mixer_unit()
2069 struct usb_audio_term iterm; in parse_audio_selector_unit() local
2081 if (! len && check_input_term(state, desc->baSourceID[i], &iterm) >= 0) in parse_audio_selector_unit()
2082 len = get_term_name(state, &iterm, namelist[i], MAX_ITEM_NAME_LEN, 0); in parse_audio_selector_unit()