linux-stable/Documentation/usb
Pavel Hofman 355a05dc83 usb: gadget: f_uac2: Optionally determine bInterval for HS and SS
Allow setting configfs params p_hs_bint/c_hs_bint to 0. If they are set
to 0, determine the largest bInterval (4 to 1) for which the required
bandwidth of the max samplerate fits the max allowed packet size. If the
required bandwidth exceeds max bandwidth for single-packet mode
(ep->mc=1), keep bInterval at 1.

The FS speed is left at fixed bInterval=1.

If for any speed the required bandwidth exceeds the max bandwidth
corresponding to the selected/determined bInterval, print a warning.

Signed-off-by: Pavel Hofman <pavel.hofman@ivitera.com>
Link: https://lore.kernel.org/r/20220127114331.41367-4-pavel.hofman@ivitera.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-01-31 14:26:18 +01:00
..
CREDITS
acm.rst docs: usb: rename files to .rst and add them to drivers-api 2019-06-20 14:28:36 +02:00
authorization.rst docs: usb: rename files to .rst and add them to drivers-api 2019-06-20 14:28:36 +02:00
chipidea.rst docs: usb: rename files to .rst and add them to drivers-api 2019-06-20 14:28:36 +02:00
dwc3.rst docs: usb: rename files to .rst and add them to drivers-api 2019-06-20 14:28:36 +02:00
ehci.rst docs: usb: replace some characters 2021-06-17 13:22:33 -06:00
functionfs.rst docs: usb: rename files to .rst and add them to drivers-api 2019-06-20 14:28:36 +02:00
gadget-testing.rst usb: gadget: f_uac2: Optionally determine bInterval for HS and SS 2022-01-31 14:26:18 +01:00
gadget_configfs.rst docs: usb: function: Modify path name 2021-05-13 10:14:18 -06:00
gadget_hid.rst USB: Replace HTTP links with HTTPS ones 2020-07-21 13:41:57 +02:00
gadget_multi.rst USB: Replace HTTP links with HTTPS ones 2020-07-21 13:41:57 +02:00
gadget_printer.rst docs: usb: replace some characters 2021-06-17 13:22:33 -06:00
gadget_serial.rst docs: usb: rename files to .rst and add them to drivers-api 2019-06-20 14:28:36 +02:00
index.rst usb: gadget: add raw-gadget interface 2020-03-15 11:34:48 +02:00
iuu_phoenix.rst docs: usb: rename files to .rst and add them to drivers-api 2019-06-20 14:28:36 +02:00
linux-cdc-acm.inf
linux.inf USB: Replace HTTP links with HTTPS ones 2020-07-21 13:41:57 +02:00
mass-storage.rst docs: usb: rename files to .rst and add them to drivers-api 2019-06-20 14:28:36 +02:00
misc_usbsevseg.rst docs: usb: rename files to .rst and add them to drivers-api 2019-06-20 14:28:36 +02:00
mtouchusb.rst Documentation: drop optional BOMs 2021-05-10 15:17:34 -06:00
ohci.rst docs: usb: rename files to .rst and add them to drivers-api 2019-06-20 14:28:36 +02:00
raw-gadget.rst usb: raw-gadget: update documentation and Kconfig 2021-01-26 18:38:45 +01:00
text_files.rst docs: usb: remove some broken references 2020-01-28 13:41:22 -07:00
usb-help.rst docs: usb: rename files to .rst and add them to drivers-api 2019-06-20 14:28:36 +02:00
usb-serial.rst Documentation: drop optional BOMs 2021-05-10 15:17:34 -06:00
usbdevfs-drop-permissions.c
usbip_protocol.rst docs: usbip: Fix major fields and descriptions in protocol 2021-04-09 16:04:45 +02:00
usbmon.rst docs: usb: rename files to .rst and add them to drivers-api 2019-06-20 14:28:36 +02:00