esp-idf/components/usb
Darian Leung b7c3f01ac8
change(usb/host): Remove some handler function event flags
This commit removes internal event flags in the USB Host Library event handling
functions (i.e., usb_host_lib_handle_events() and usb_host_client_handle_events()).

Previously, these flags were added to reduce the number of times semaphores
were given. However, these flags were removed as the performance gain is
negligible and made the logic more complicated.

For usb_host_client_handle_events(), the following flags were removed:

- Remove 'events_pending' flag. The semaphore is now always given
- Remove 'blocked' flag. The 'handling_events' flag is already sufficient
- Critical sections are now shortened due to simplication of semaphore usage.

For usb_host_lib_handle_events(), the following flags were removed:

- Remove 'process_pending' flag. The semaphore is now always given
- Renamed 'blocked' flag to 'handling_events'
2024-02-19 06:57:31 +08:00
..
include feat(usb/host): Add High Speed enumeration types 2023-12-21 10:33:49 +01:00
private_include change(usb/host): Remove data buffer headers from URBs 2024-02-19 06:57:30 +08:00
test_apps fix(ci): change build-test-rules files folder 2023-09-20 19:17:06 +08:00
CMakeLists.txt refactor(linux): excluded all non-Linux components from build 2023-10-16 17:06:54 +08:00
hcd_dwc.c refactor(usb/host): Move FIFO size configuration to HAL layer 2023-12-21 10:34:56 +01:00
hub.c change(usb/host): Remove data buffer headers from URBs 2024-02-19 06:57:30 +08:00
Kconfig usb_host: add recovering interval after SetAddress(). Possibility to change constant delay value via menuconfig. 2023-03-09 08:11:05 +01:00
maintainers.md usb: Fix how the HCD handles sudden disconnection 2021-11-02 14:30:58 +08:00
usb_helpers.c usb_host: Run formatting script 2023-05-29 17:30:41 +08:00
usb_host.c change(usb/host): Remove some handler function event flags 2024-02-19 06:57:31 +08:00
usb_phy.c refactor(usb/host): Make private hal types USB_DWC specific 2023-12-21 10:34:46 +01:00
usb_private.c change(usb/host): Remove data buffer headers from URBs 2024-02-19 06:57:30 +08:00
usbh.c bugfix(usb/host): Fix transfer direction determination during argument checking for regular EP transfer 2023-09-13 21:55:34 +02:00