dwc3_gadget...ansfer_index(9)
π dwc3_gadget...ansfer_index(9) π
okay bestie, welcome to the Kernel API Manual β¨ this one's short and sweet β it's the page for dwc3_gadget_ep_get_transfer_index, and yes the title up there got truncated by the man-page machine, that's just how it vibes, we don't fix it, we respect it π«Ά
πΈ NAME πΈ
dwc3_gadget_ep_get_transfer_index β gets transfer index from HW π
literally what it says on the tin, no cap.
β¨ SYNOPSIS β¨
void dwc3_gadget_ep_get_transfer_index (struct dwc3_ep *dep );
that's it. that's the whole call. void, one arg, iconic behaviour π₯
π ARGUMENTS π
depβ the dwc3 endpoint. that's the whole description, she's lowkey mysterious like that π¦
π DESCRIPTION π
so here's the tea, bestie: the caller should take care of locking π β that is a you problem, not a function problem. the function is not gonna hold your hand on that one, fr fr.
once you've got your locking situation handled, it returns the transfer resource index for a given endpoint. slay β¨
β οΈ not me reminding you again β locking is on the caller. don't come crying to me when it's spicy πΆοΈ
π¦ SEE ALSO π¦
- Kernel file
./drivers/usb/dwc3/gadget.hπ β go read it, iykyk next_request(9)dwc3_gadget_move_started_request(9)dwc3_gadget_move_cancelled_request(9)dwc3_gadget_dctl_write_safe(9)
the whole friend group honestly π go say hi to all of them.
okay that's the page!! π this little beauty lives in ./drivers/usb/dwc3, it's dated October 2026, and it's part of the Kernel API Manual β mwah, love that for us π bye bestie, go lock your stuff ππ
π¦ 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