Home
last modified time | relevance | path

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

/Linux-v5.10/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; \
317 __u8 bNrInPins; member
337 __u8 bNrInPins; \
/Linux-v5.10/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()
Dclock.c309 if (ret > selector->bNrInPins || ret < 1) { in __uac_clock_find_source()
325 for (i = 1; i <= selector->bNrInPins; i++) { in __uac_clock_find_source()
403 if (ret > selector->bNrInPins || ret < 1) { in __uac3_clock_find_source()
419 for (i = 1; i <= selector->bNrInPins; i++) { in __uac3_clock_find_source()
Dmixer.c754 if (desc->bLength < sizeof(*desc) + desc->bNrInPins + 1) in uac_mixer_unit_get_channels()
886 if (d->bNrInPins) { in parse_term_proc_unit()
2163 input_pins = desc->bNrInPins; in parse_audio_mixer_unit()
2388 num_ins = desc->bNrInPins; in build_audio_procunit()
2649 for (i = 0; i < desc->bNrInPins; i++) { in parse_audio_selector_unit()
2655 if (desc->bNrInPins == 1) /* only one ? nonsense! */ in parse_audio_selector_unit()
2669 cval->max = desc->bNrInPins; in parse_audio_selector_unit()
2688 namelist = kcalloc(desc->bNrInPins, sizeof(char *), GFP_KERNEL); in parse_audio_selector_unit()
2694 for (i = 0; i < desc->bNrInPins; i++) { in parse_audio_selector_unit()
2759 cval->head.id, kctl->id.name, desc->bNrInPins); in parse_audio_selector_unit()
[all …]
/Linux-v5.10/drivers/media/usb/uvc/
Duvc_driver.c432 for (i = 0; i < entity->bNrInPins; ++i) in uvc_entity_by_reference()
1050 entity->bNrInPins = num_inputs; in uvc_alloc_entity()
1481 if (entity->bNrInPins != 1) { in uvc_scan_chain_entity()
1507 if (entity->bNrInPins == 1) in uvc_scan_chain_entity()
1581 if (forward->bNrInPins != 1) { in uvc_scan_chain_forward()
1640 if (entity->bNrInPins == 1) { in uvc_scan_chain_backward()
1649 for (i = 0; i < entity->bNrInPins; ++i) { in uvc_scan_chain_backward()
Duvcvideo.h353 u8 bNrInPins; member
Duvc_v4l2.c875 } else if (index < selector->bNrInPins) { in uvc_ioctl_enum_input()
938 if (input >= chain->selector->bNrInPins) in uvc_ioctl_s_input()
/Linux-v5.10/include/linux/usb/
Daudio-v2.h95 __u8 bNrInPins; member
Daudio-v3.h154 __u8 bNrInPins; member