Lines Matching +full:dynamic +full:- +full:range +full:- +full:compressor
1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
3 * <linux/usb/audio.h> -- USB Audio definitions.
37 /* A.5 Audio Class-Specific AC Interface Descriptor Subtypes */
47 /* A.6 Audio Class-Specific AS Interface Descriptor Subtypes */
61 /* A.8 Audio Class-Specific Endpoint Descriptor Subtypes */
64 /* A.9 Audio Class-Specific Request Codes */
104 #define UAC_CONTROL_BIT(CS) (1 << ((CS) - 1))
106 /* A.10.3.1 Up/Down-mix Processing Unit Controls Selectors */
130 /* A.10.3.6 Dynamic Range Compressor Unit Control Selectors */
141 /* MIDI - A.1 MS Class-Specific Interface Descriptor Subtypes */
146 /* MIDI - A.1 MS Class-Specific Endpoint Descriptor Subtypes */
149 /* Terminals - 2.1 USB Terminal Types */
155 /* 4.3.2 Class-Specific AC Interface Descriptor */
196 /* Terminals - 2.2 Input Terminal Types */
205 /* Terminals - control selectors */
223 /* Terminals - 2.3 Output Terminal Types */
233 /* Terminals - 2.4 Bi-directional Terminal Types */
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()
298 return &desc->baSourceID[desc->bNrInPins + 4]; in uac_mixer_unit_bmControls()
300 return &desc->baSourceID[desc->bNrInPins + 6]; in uac_mixer_unit_bmControls()
302 return &desc->baSourceID[desc->bNrInPins + 2]; in uac_mixer_unit_bmControls()
310 return (desc->baSourceID[desc->bNrInPins + 1] << 8) | in uac3_mixer_unit_wClusterDescrID()
311 desc->baSourceID[desc->bNrInPins]; in uac3_mixer_unit_wClusterDescrID()
317 return raw[desc->bLength - 1]; in uac_mixer_unit_iMixer()
333 return raw[desc->bLength - 1]; in uac_selector_unit_iSelector()
350 return raw[desc->bLength - 1]; in uac_feature_unit_iFeature()
366 return desc->baSourceID[desc->bNrInPins]; in uac_processing_unit_bNrChannels()
373 return (desc->baSourceID[desc->bNrInPins + 2] << 8) | in uac_processing_unit_wChannelConfig()
374 desc->baSourceID[desc->bNrInPins + 1]; in uac_processing_unit_wChannelConfig()
376 return (desc->baSourceID[desc->bNrInPins + 4] << 24) | in uac_processing_unit_wChannelConfig()
377 (desc->baSourceID[desc->bNrInPins + 3] << 16) | in uac_processing_unit_wChannelConfig()
378 (desc->baSourceID[desc->bNrInPins + 2] << 8) | in uac_processing_unit_wChannelConfig()
379 (desc->baSourceID[desc->bNrInPins + 1]); in uac_processing_unit_wChannelConfig()
386 desc->baSourceID[desc->bNrInPins + 3] : in uac_processing_unit_iChannelNames()
387 desc->baSourceID[desc->bNrInPins + 5]; in uac_processing_unit_iChannelNames()
395 return desc->baSourceID[desc->bNrInPins + 4]; in uac_processing_unit_bControlSize()
410 return &desc->baSourceID[desc->bNrInPins + 5]; in uac_processing_unit_bmControls()
412 return &desc->baSourceID[desc->bNrInPins + 6]; in uac_processing_unit_bmControls()
414 return &desc->baSourceID[desc->bNrInPins + 2]; in uac_processing_unit_bmControls()
456 * XU while 2 bytes for PU. The last iExtension field is a one-byte index as
464 return desc->baSourceID[desc->bNrInPins + 4]; in uac_extension_unit_bControlSize()
490 /* 4.5.2 Class-Specific AS Interface Descriptor */
502 /* Formats - A.1.1 Audio Data Format Type I Codes */
564 /* Formats - Audio Data Format Type I Codes */
599 /* Formats - A.2 Format Type Codes */