bcm63xx_update_wedge(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

bcm63xx_update_wedge(9) πŸ’…

okay so welcome to the Kernel API Manual corner, bestie β€” this one is all about bcm63xx_update_wedge and its little wedge-status refresh moment ✨


✨ NAME ✨

bcm63xx_update_wedge β€” iterate through wedged endpoints πŸ‘‘ no cap, that’s the whole name.


✨ SYNOPSIS ✨

void bcm63xx_update_wedge (struct bcm63xx_udc *udc , bool new_status );

✨ ARGUMENTS ✨

  • udc β€” a reference to the device controller, like the main character of our USB gadget story 🫢
  • new_status β€” it’s giving toggle energy: true to "refresh" the wedge status; false to clear it πŸ’…

✨ DESCRIPTION ✨

So on a SETUP interrupt, we need to manually "refresh" the wedge status, because the controller hardware is literally designed to automatically clear stalls in response to a CLEAR_FEATURE request from the host 😭 like okay hardware, we see you.

On a RESET interrupt, we do want to restore all wedged endpoints. periodt. 🌸


✨ SEE ALSO ✨

Kernel file ./drivers/usb/gadget/udc/bcm63xx_udc.c is the home base for this whole friend group, and the official SEE ALSO squad is:

🌸 signed off from ./drivers/usb/gadget/udc, October 2026 β€” bcm63xx_update_wedge(9) bestie, mwah πŸ’–

πŸ“¦ where this page comes from