Home
last modified time | relevance | path

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

/linux/include/uapi/linux/usb/
H A 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 …]
H A Dvideo.h303 __u8 bNrInPins; member
319 __u8 bNrInPins; \
348 __u8 bNrInPins; member
368 __u8 bNrInPins; \
/linux/sound/usb/
H A 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()
H A 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()
2259 input_pins = desc->bNrInPins; in parse_audio_mixer_unit()
2486 num_ins = desc->bNrInPins; in build_audio_procunit()
2749 for (i = 0; i < desc->bNrInPins; i++) { in parse_audio_selector_unit()
2755 if (desc->bNrInPins == 1) /* only one ? nonsense! */ in parse_audio_selector_unit()
2769 cval->max = desc->bNrInPins; in parse_audio_selector_unit()
2788 namelist = kcalloc(desc->bNrInPins, sizeof(char *), GFP_KERNEL); in parse_audio_selector_unit()
2794 for (i = 0; i < desc->bNrInPins; i++) { in parse_audio_selector_unit()
2858 cval->head.id, kctl->id.name, desc->bNrInPins); in parse_audio_selector_unit()
[all …]
H A Dclock.c80 /* additional length check for baCSourceID array (in bNrInPins size)
84 return cs->v3.bLength >= sizeof(cs->v3) + cs->v3.bNrInPins +
87 return cs->v2.bLength >= sizeof(cs->v2) + cs->v2.bNrInPins +
326 pins = GET_VAL(selector, proto, bNrInPins); in __uac_clock_find_source()
/linux/include/linux/usb/
H A Daudio-v2.h92 __u8 bNrInPins; member
H A Daudio-v3.h154 __u8 bNrInPins; member
/linux/Documentation/usb/
H A Dgadget_uvc.rst252 similarly bNrInPins reflects the size of the baSourceID attributes. Both
276 bNrInPins and baSourceID function in the same way.