rockbox/firmware/usbstack
mojyack 41caf678fe usb: allow more flexible endpoint allocation
the capabilities of endpoint of several devices such as dwc2 change during
runtime, so they cannot be determined during driver initialization.
therefore, allocation using ep_specs is inappropriate.

to support these devices, add functions to the driver that determine whether
endpoints are available and make allocation more flexible.

tested with ipodvideo(arc) and erosqnative(designware)

Change-Id: I8005c17f3d763cd17306bf49918e1cd8084bdeff
2026-05-04 13:31:21 -04:00
..
iap usb: add usb iAP driver 2026-05-03 12:40:54 -04:00
usb_audio.c usb: enable cpu boost for specific class drivers 2026-05-04 18:15:52 +09:00
usb_audio.h usb: hold class_driver instance in each driver 2026-05-03 15:18:51 -04:00
usb_audio_def.h usbaudio: convert to asynchronous operation 2025-11-15 07:32:05 -05:00
usb_charging_only.c usb: enable cpu boost for specific class drivers 2026-05-04 18:15:52 +09:00
usb_charging_only.h usb: hold class_driver instance in each driver 2026-05-03 15:18:51 -04:00
usb_class_driver.h usb: enable cpu boost for specific class drivers 2026-05-04 18:15:52 +09:00
usb_core.c usb: allow more flexible endpoint allocation 2026-05-04 13:31:21 -04:00
usb_hid.c usb: enable cpu boost for specific class drivers 2026-05-04 18:15:52 +09:00
usb_hid.h usb: hold class_driver instance in each driver 2026-05-03 15:18:51 -04:00
usb_hid_def.h usb: hid: move hid definitions to usb_hid_def.h 2026-01-12 16:57:36 -05:00
usb_hid_usage_tables.h usb_hid: add support for Battery Strength 2021-03-06 04:15:02 +00:00
usb_iap.c usb: enable cpu boost for specific class drivers 2026-05-04 18:15:52 +09:00
usb_iap.h usb: hold class_driver instance in each driver 2026-05-03 15:18:51 -04:00
usb_serial.c usb: enable cpu boost for specific class drivers 2026-05-04 18:15:52 +09:00
usb_serial.h usb: hold class_driver instance in each driver 2026-05-03 15:18:51 -04:00
usb_storage.c usb: enable cpu boost for specific class drivers 2026-05-04 18:15:52 +09:00
usb_storage.h usb: hold class_driver instance in each driver 2026-05-03 15:18:51 -04:00