dwc2_update_isoc_urb_state(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’« dwc2_update_isoc_urb_state β€” the kernel API glow-up πŸ’«

Okay so bestie, welcome to the Kernel API Manual page for dwc2_update_isoc_urb_state, and honestly? It's giving "tiny function, big responsibilities" energy. πŸ‘‘


🌸 NAME 🌸

dwc2_update_isoc_urb_state β€” updates the state of an Isochronous URB when the transfer is stopped for any reason. ✨

So here's the vibe: the fields of the current entry in the frame descriptor array get set based on the transfer state and the input halt_status. And if all the URB frames have been completed? It completes the Isochronous URB. Slay. πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

enum dwc2_halt_status dwc2_update_isoc_urb_state (struct dwc2_hsotg
*hsotg , struct dwc2_host_chan *chan , int chnum , struct dwc2_qtd *qtd
, enum dwc2_halt_status halt_status );

Not me swooning over a five-argument signature 😭 but like, it's iconic, we respect it.


πŸ¦‹ ARGUMENTS πŸ¦‹

  • hsotg β€” programming view of the DWC_otg controller 🌈
  • chan β€” programming view of the host channel
  • chnum β€” the channel number, bestie πŸ”’
  • qtd β€” queue transfer descriptor
  • halt_status β€” the reason for halting a host channel πŸ’€

⭐ RETURN ⭐

Returns DWC2_HC_XFER_COMPLETE if there are still more frames remaining to be transferred in the URB. πŸ™ˆ

Otherwise? It returns DWC2_HC_XFER_URB_COMPLETE. Periodt. πŸ’œ


🧚 SEE ALSO 🧚


πŸ’– lowkey a reminder: this page lives under ./drivers/usb/dwc2, so that's the neighborhood. no cap.

okay that's the whole page, bestie 🫢 huge thank you to the ./drivers/usb/dwc2 crew β€” this one's dated October 2026, and it's dwc2_update_isoc_urb_state(9) til the end πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from