Home
last modified time | relevance | path

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

/linux-6.6.21/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.h303 __u8 bNrInPins; member
319 __u8 bNrInPins; \
348 __u8 bNrInPins; member
368 __u8 bNrInPins; \
/linux-6.6.21/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()
2256 input_pins = desc->bNrInPins; in parse_audio_mixer_unit()
2481 num_ins = desc->bNrInPins; in build_audio_procunit()
2742 for (i = 0; i < desc->bNrInPins; i++) { in parse_audio_selector_unit()
2748 if (desc->bNrInPins == 1) /* only one ? nonsense! */ in parse_audio_selector_unit()
2762 cval->max = desc->bNrInPins; in parse_audio_selector_unit()
2781 namelist = kcalloc(desc->bNrInPins, sizeof(char *), GFP_KERNEL); in parse_audio_selector_unit()
2787 for (i = 0; i < desc->bNrInPins; i++) { in parse_audio_selector_unit()
2851 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.6.21/drivers/usb/gadget/function/
Duvc_configfs.h156 u8 bNrInPins; member
Duvc_configfs.c873 if (num == xu->desc.bNrInPins) { in uvcg_extension_b_nr_in_pins_store()
886 xu->desc.bNrInPins = num; in uvcg_extension_b_nr_in_pins_store()
887 xu->desc.bLength = UVC_DT_EXTENSION_UNIT_SIZE(xu->desc.bNrInPins, in uvcg_extension_b_nr_in_pins_store()
897 UVCG_EXTENSION_ATTR(b_nr_in_pins, bNrInPins);
940 xu->desc.bLength = UVC_DT_EXTENSION_UNIT_SIZE(xu->desc.bNrInPins, in uvcg_extension_b_control_size_store()
1022 for (ret = 0, i = 0; i < xu->desc.bNrInPins; ++i) { in uvcg_extension_ba_source_id_show()
1071 xu->desc.bNrInPins = n; in uvcg_extension_ba_source_id_store()
1072 xu->desc.bLength = UVC_DT_EXTENSION_UNIT_SIZE(xu->desc.bNrInPins, in uvcg_extension_ba_source_id_store()
1151 xu->desc.bLength = UVC_DT_EXTENSION_UNIT_SIZE(xu->desc.bNrInPins, in uvcg_extension_bm_controls_store()
1282 xu->desc.bNrInPins = 0; in uvcg_extension_make()
Df_uvc.c487 memcpy(mem, (desc)->baSourceID, (desc)->bNrInPins); \
488 mem += (desc)->bNrInPins; \
/linux-6.6.21/drivers/media/usb/uvc/
Duvc_driver.c154 for (i = 0; i < entity->bNrInPins; ++i) in uvc_entity_by_reference()
817 entity->bNrInPins = num_inputs; in uvc_alloc_entity()
1353 if (entity->bNrInPins != 1) { in uvc_scan_chain_entity()
1378 if (entity->bNrInPins == 1) in uvc_scan_chain_entity()
1449 if (forward->bNrInPins != 1) { in uvc_scan_chain_forward()
1537 if (entity->bNrInPins == 1) { in uvc_scan_chain_backward()
1545 for (i = 0; i < entity->bNrInPins; ++i) { in uvc_scan_chain_backward()
Duvcvideo.h232 u8 bNrInPins; member
Duvc_v4l2.c942 } else if (index < selector->bNrInPins) { in uvc_ioctl_enum_input()
1011 if (input >= chain->selector->bNrInPins) in uvc_ioctl_s_input()
/linux-6.6.21/include/linux/usb/
Daudio-v2.h92 __u8 bNrInPins; member
Daudio-v3.h154 __u8 bNrInPins; member
/linux-6.6.21/Documentation/usb/
Dgadget_uvc.rst252 similarly bNrInPins reflects the size of the baSourceID attributes. Both
276 bNrInPins and baSourceID function in the same way.
/linux-6.6.21/Documentation/ABI/testing/
Dconfigfs-usb-gadget-uvc134 bNrInPins number of input pins for this unit