STRUCT CDNS2_REQUEST(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct cdns2_request(9) β€” Kernel API Manual, bestie edition πŸŽ€

Okay so this is the page for struct cdns2_request from the Kernel API Manual, and it is literally the extended device-side glow-up of a usb_request object. No cap. Let's get into it ✨


🌸 NAME 🌸

struct cdns2_request β€” the extended device side representation of the usb_request object. It's giving "main character with extra lore," iykyk πŸ’–


✨ SYNOPSIS ✨

struct cdns2_request {
    struct usb_request request;
    struct cdns2_endpoint *pep;
    struct cdns2_trb *trb;
    int start_trb;
    int end_trb;
    struct list_head list;
    int finished_trb;
    int num_of_trb;
 };

Copy it exactly like that, bestie, don't freestyle the syntax πŸ™ˆ


πŸ¦‹ Members πŸ¦‹

Here's the whole cast, member by member β€” every single one, we are not skipping anybody πŸ‘‘

  • request β€” the generic usb_request object that describes a single I/O request. The blueprint, the moment πŸ’…
  • pep β€” the extended representation of the usb_ep object. Glow-up era ✨
  • trb β€” the first TRB association with this request. First in line, main character energy 🫢
  • start_trb β€” the number of the first TRB in the transfer ring. Where the journey begins 🌸
  • end_trb β€” the number of the last TRB in the transfer ring. Where it wraps up, bye bestie 😭
  • list β€” used for queuing the request in lists. It's the group chat, basically πŸŽ€
  • finished_trb β€” the number of trb has already finished per request. The ones that ate and left no crumbs πŸ”₯
  • num_of_trb β€” how many trbs are associated with the request. The whole headcount, fr fr πŸ’œ

🌈 SEE ALSO 🌈

All the other icons in this little kernel family β€” go say hi, they're all in the Kernel file ./drivers/usb/gadget/udc/cdns2/cdns2-gadget.h πŸ“:

  • struct cdns2_ep0_regs(9)
  • struct cdns2_epx_base(9)
  • struct cdns2_epx_regs(9)
  • struct cdns2_interrupt_regs(9)
  • struct cdns2_usb_regs(9)
  • struct cdns2_adma_regs(9)
  • struct cdns2_trb(9)
  • struct cdns2_ring(9)
  • struct cdns2_endpoint(9)
  • struct cdns2_device(9)

Lowkey a whole squad. Read the whole squad. Do it for the plot 🧚

That's the page, bestie β€” served fresh from ./drivers/usb/gadget/udc/cdns2, dated October 2026, and yes it's still titled struct cdns2_request(9) because some things never change πŸ’– slay ✨

πŸ“¦ where this page comes from