Home
last modified time | relevance | path

Searched refs:bNrInPins (Results 1 – 10 of 10) sorted by relevance

/linux-6.1.9/include/uapi/linux/usb/
Daudio.h263 __u8 bNrInPins; member
269 return desc->baSourceID[desc->bNrInPins]; in uac_mixer_unit_bNrChannels()
276 return (desc->baSourceID[desc->bNrInPins + 2] << 8) | in uac_mixer_unit_wChannelConfig()
277 desc->baSourceID[desc->bNrInPins + 1]; in uac_mixer_unit_wChannelConfig()
279 return (desc->baSourceID[desc->bNrInPins + 4] << 24) | in uac_mixer_unit_wChannelConfig()
280 (desc->baSourceID[desc->bNrInPins + 3] << 16) | in uac_mixer_unit_wChannelConfig()
281 (desc->baSourceID[desc->bNrInPins + 2] << 8) | in uac_mixer_unit_wChannelConfig()
282 (desc->baSourceID[desc->bNrInPins + 1]); in uac_mixer_unit_wChannelConfig()
289 desc->baSourceID[desc->bNrInPins + 3] : in uac_mixer_unit_iChannelNames()
290 desc->baSourceID[desc->bNrInPins + 5]; in uac_mixer_unit_iChannelNames()
[all …]
Dvideo.h273 __u8 bNrInPins; member
289 __u8 bNrInPins; \
318 __u8 bNrInPins; member
338 __u8 bNrInPins; \
/linux-6.1.9/sound/usb/
Dvalidate.c41 if (d->bLength < sizeof(*d) || !d->bNrInPins) in validate_mixer_unit()
43 len = sizeof(*d) + d->bNrInPins; in validate_mixer_unit()
78 len = sizeof(*d) + d->bNrInPins; in validate_processing_unit()
175 len = sizeof(*d) + d->bNrInPins; in validate_selector_unit()
Dmixer.c759 if (desc->bLength < sizeof(*desc) + desc->bNrInPins + 1) in uac_mixer_unit_get_channels()
891 if (d->bNrInPins) { in parse_term_proc_unit()
2251 input_pins = desc->bNrInPins; in parse_audio_mixer_unit()
2476 num_ins = desc->bNrInPins; in build_audio_procunit()
2737 for (i = 0; i < desc->bNrInPins; i++) { in parse_audio_selector_unit()
2743 if (desc->bNrInPins == 1) /* only one ? nonsense! */ in parse_audio_selector_unit()
2757 cval->max = desc->bNrInPins; in parse_audio_selector_unit()
2776 namelist = kcalloc(desc->bNrInPins, sizeof(char *), GFP_KERNEL); in parse_audio_selector_unit()
2782 for (i = 0; i < desc->bNrInPins; i++) { in parse_audio_selector_unit()
2846 cval->head.id, kctl->id.name, desc->bNrInPins); in parse_audio_selector_unit()
[all …]
Dclock.c290 pins = GET_VAL(selector, proto, bNrInPins); in __uac_clock_find_source()
/linux-6.1.9/drivers/media/usb/uvc/
Duvc_driver.c153 for (i = 0; i < entity->bNrInPins; ++i) in uvc_entity_by_reference()
810 entity->bNrInPins = num_inputs; in uvc_alloc_entity()
1347 if (entity->bNrInPins != 1) { in uvc_scan_chain_entity()
1372 if (entity->bNrInPins == 1) in uvc_scan_chain_entity()
1443 if (forward->bNrInPins != 1) { in uvc_scan_chain_forward()
1531 if (entity->bNrInPins == 1) { in uvc_scan_chain_backward()
1539 for (i = 0; i < entity->bNrInPins; ++i) { in uvc_scan_chain_backward()
Duvcvideo.h232 u8 bNrInPins; member
Duvc_v4l2.c891 } else if (index < selector->bNrInPins) { in uvc_ioctl_enum_input()
960 if (input >= chain->selector->bNrInPins) in uvc_ioctl_s_input()
/linux-6.1.9/include/linux/usb/
Daudio-v2.h92 __u8 bNrInPins; member
Daudio-v3.h154 __u8 bNrInPins; member