Searched refs:bmControls (Results 1 – 8 of 8) sorted by relevance
/linux/include/linux/usb/ |
H A D | audio-v2.h | 34 static inline bool uac_v2v3_control_is_readable(u32 bmControls, u8 control) in uac_v2v3_control_is_readable() argument 36 return (bmControls >> ((control - 1) * 2)) & 0x1; in uac_v2v3_control_is_readable() 39 static inline bool uac_v2v3_control_is_writeable(u32 bmControls, u8 control) in uac_v2v3_control_is_writeable() argument 41 return (bmControls >> ((control - 1) * 2)) & 0x2; in uac_v2v3_control_is_writeable() 52 __u8 bmControls; member 73 __u8 bmControls; member 105 __u8 bmControls; member 122 __le16 bmControls; member 137 __le16 bmControls; member 189 __u8 bmControls; member [all …]
|
H A D | audio-v3.h | 68 __le32 bmControls; member 80 __le32 bmControls; member 97 __le32 bmControls; member 137 __le32 bmControls; member 166 __le32 bmControls; member 203 __le32 bmControls; member 219 __le32 bmControls; member
|
/linux/Documentation/usb/ |
H A D | gadget_uvc.rst | 229 echo 0x0d > bmControls 236 The bmControls attribute and the baSourceID attribute are multi-value attributes. 239 need to write two values to bmControls, like so: 243 cat << EOF > bmControls 251 The bControlSize attribute reflects the size of the bmControls attribute, and 253 attributes are automatically increased / decreased as you set bmControls and 260 $ cat bmControls 268 $ cat bmControls 272 $ cat bmControls 281 The Camera Terminal and Processing Units in the UVC chain also have bmControls [all …]
|
/linux/drivers/usb/gadget/legacy/ |
H A D | webcam.c | 111 .bmControls[0] = 2, 112 .bmControls[1] = 0, 113 .bmControls[2] = 0, 124 .bmControls[0] = 1, 125 .bmControls[1] = 0,
|
/linux/sound/usb/ |
H A D | format.c | 479 u32 bmControls; in validate_sample_rate_table_v2v3() local 495 bmControls = le32_to_cpu(as->bmControls); in validate_sample_rate_table_v2v3() 499 bmControls = as->bmControls; in validate_sample_rate_table_v2v3() 502 if (!uac_v2v3_control_is_readable(bmControls, in validate_sample_rate_table_v2v3()
|
H A D | stream.c | 615 if (csep2->bmControls & UAC2_CONTROL_PITCH) in parse_uac_endpoint_attributes() 624 if (le32_to_cpu(csep3->bmControls) & UAC2_CONTROL_PITCH) in parse_uac_endpoint_attributes()
|
H A D | mixer.c | 1943 if (!uac_v2v3_control_is_readable(hdr->bmControls, in parse_clock_source_unit() 2219 bmctls = le16_to_cpu(d_v2->bmControls); in parse_audio_input_terminal() 2224 bmctls = le32_to_cpu(d_v3->bmControls); in parse_audio_input_terminal() 3283 uac_v2v3_control_is_readable(le16_to_cpu(desc->bmControls), in snd_usb_mixer_controls() 3309 uac_v2v3_control_is_readable(le32_to_cpu(desc->bmControls), in snd_usb_mixer_controls()
|
/linux/drivers/usb/gadget/function/ |
H A D | f_uac2.c | 165 .bmControls = (CONTROL_RDWR << CLK_FREQ_CTRL), 177 .bmControls = (CONTROL_RDWR << CLK_FREQ_CTRL), 192 .bmControls = cpu_to_le16(CONTROL_RDWR << COPY_CTRL), 206 .bmControls = cpu_to_le16(CONTROL_RDWR << COPY_CTRL), 220 .bmControls = cpu_to_le16(CONTROL_RDWR << COPY_CTRL), 234 .bmControls = cpu_to_le16(CONTROL_RDWR << COPY_CTRL), 248 .bmControls = 0, 318 .bmControls = 0, 377 .bmControls = 0, 452 .bmControls = 0, [all …]
|