usb_gadget_udc_reset(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 usb_gadget_udc_reset(9) · Kernel API Manual 🌸

✨ NAME ✨

usb_gadget_udc_reset β€” notifies the udc core that bus reset occurs πŸ’…

✨ SYNOPSIS ✨

void usb_gadget_udc_reset (struct usb_gadget *gadget , struct
       usb_gadget_driver *driver );

πŸŽ€ ARGUMENTS πŸŽ€

  • gadget β€” the gadget where the bus reset occurs, aka the main-character struct usb_gadget of the reset moment πŸ’–
  • driver β€” the gadget driver we want to notify, the bestie getting the heads-up πŸ“£

πŸ’« DESCRIPTION πŸ’«

okay so bestie, if the udc driver has a bus reset handler, it needs to call this when the bus reset occurs. It’s giving two-for-one: it notifies the gadget driver that the bus reset occurs, and it updates gadget state too. no cap, that’s the whole vibe ✨

🌈 SEE ALSO 🌈

Kernel file ./drivers/usb/gadget/udc/core.c β€” that’s the file-side bestie. And here’s the whole squad of references, every single one, no skips πŸ‘‘


mwah πŸ’‹ source/version ./drivers/usb/gadget/udc, date October 2026, all about usb_gadget_udc_reset(9) β€” bye bestie 🫢

πŸ“¦ where this page comes from