dwc2_hsotg_ep0_zlp(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

Welcome to the dwc2_hsotg_ep0_zlp(9) page from the Kernel API Manual, bestie! This function is all about sending/receiving a zero-length packet on the control endpoint. Tiny packet, big main character energy. πŸ’…


✨ SYNOPSIS ✨

void dwc2_hsotg_ep0_zlp (struct dwc2_hsotg *hsotg , bool dir_in );

🫢 ARGUMENTS 🫢

  • hsotg β€” The device instance. Like, the actual device vibe you're working with.
  • dir_in β€” If IN zlp. That's the whole mood: it tells you whether we're doing an IN zero-length packet or not.

🌸 DESCRIPTION 🌸

Okay so picture this: dwc2_hsotg_ep0_zlp generates a zero-length IN packet request for terminating a SETUP transaction. That's literally its job. ✨

Note, bestie: since we don't write any data to the TxFIFO, then it is currently believed that we do not need to wait for any space in the TxFIFO. No cap β€” that's the current belief stated right here. πŸ’€

πŸ¦‹ SEE ALSO πŸ¦‹

The kernel file in play is ./drivers/usb/dwc2/gadget.c, and here's the full friend group of references β€” every single one, no skipping:


This page came from the source path ./drivers/usb/dwc2 and is dated October 2026. Stay iconic, bestie β€” you understood the whole thing. πŸ’–βœ¨

πŸ“¦ where this page comes from