dwc2_update_isoc_urb_state(9)
π« 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 channelchnumβ the channel number, bestie π’qtdβ queue transfer descriptorhalt_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 π§
- Kernel file
./drivers/usb/dwc2/hcd_intr.cβ like, go read it, iykyk π dwc2_update_urb_state(9)dwc2_release_channel(9)
π 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms