Home
last modified time | relevance | path

Searched refs:term (Results 1 – 4 of 4) sorted by relevance

/sound/usb/
Dstream.c445 struct uac2_input_terminal_descriptor *term = NULL; in snd_usb_find_input_terminal_descriptor() local
447 while ((term = snd_usb_find_csint_desc(ctrl_iface->extra, in snd_usb_find_input_terminal_descriptor()
449 term, UAC_INPUT_TERMINAL))) { in snd_usb_find_input_terminal_descriptor()
450 if (term->bTerminalID == terminal_id) in snd_usb_find_input_terminal_descriptor()
451 return term; in snd_usb_find_input_terminal_descriptor()
461 struct uac2_output_terminal_descriptor *term = NULL; in snd_usb_find_output_terminal_descriptor() local
463 while ((term = snd_usb_find_csint_desc(ctrl_iface->extra, in snd_usb_find_output_terminal_descriptor()
465 term, UAC_OUTPUT_TERMINAL))) { in snd_usb_find_output_terminal_descriptor()
466 if (term->bTerminalID == terminal_id) in snd_usb_find_output_terminal_descriptor()
467 return term; in snd_usb_find_output_terminal_descriptor()
Dmixer.c699 struct usb_audio_term *term) in check_input_term() argument
704 memset(term, 0, sizeof(*term)); in check_input_term()
707 term->id = id; in check_input_term()
712 term->type = le16_to_cpu(d->wTerminalType); in check_input_term()
713 term->channels = d->bNrChannels; in check_input_term()
714 term->chconfig = le16_to_cpu(d->wChannelConfig); in check_input_term()
715 term->name = d->iTerminal; in check_input_term()
718 term->type = le16_to_cpu(d->wTerminalType); in check_input_term()
719 term->channels = d->bNrChannels; in check_input_term()
720 term->chconfig = le32_to_cpu(d->bmChannelConfig); in check_input_term()
[all …]
/sound/soc/codecs/
Dwm_adsp.c914 unsigned int pos, term; in wm_adsp_setup_algs() local
973 term = pos + ((sizeof(*adsp1_alg) * algs) / 2); in wm_adsp_setup_algs()
1022 term = pos + ((sizeof(*adsp2_alg) * algs) / 2); in wm_adsp_setup_algs()
1043 ret = regmap_raw_read(regmap, mem->base + term, &val, sizeof(val)); in wm_adsp_setup_algs()
1052 term, be32_to_cpu(val)); in wm_adsp_setup_algs()
1054 alg = kzalloc((term - pos) * 2, GFP_KERNEL | GFP_DMA); in wm_adsp_setup_algs()
1058 ret = regmap_raw_read(regmap, mem->base + pos, alg, (term - pos) * 2); in wm_adsp_setup_algs()
/sound/pci/rme9652/
Dhdspm.c989 int term; /* 0 = off, 1 = on */ member
4205 if (1 == hdspm->tco->term) { in hdspm_tco_write()
4476 ucontrol->value.integer.value[0] = hdspm->tco->term; in snd_hdspm_get_tco_word_term()
4487 if (hdspm->tco->term != ucontrol->value.integer.value[0]) { in snd_hdspm_put_tco_word_term()
4488 hdspm->tco->term = ucontrol->value.integer.value[0]; in snd_hdspm_put_tco_word_term()