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
..
acm.rst
authorization.rst
chipidea.rst
CREDITS
dwc3.rst
ehci.rst docs: usb: replace some characters 2021-06-17 13:22:33 -06:00
functionfs.rst
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
index.rst usb: gadget: add raw-gadget interface 2020-03-15 11:34:48 +02:00
iuu_phoenix.rst
linux-cdc-acm.inf
linux.inf USB: Replace HTTP links with HTTPS ones 2020-07-21 13:41:57 +02:00
mass-storage.rst
misc_usbsevseg.rst
mtouchusb.rst Documentation: drop optional BOMs 2021-05-10 15:17:34 -06:00
ohci.rst
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
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