STRUCT CDNS2_EPX_BASE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct cdns2_epx_base(9) β€” like, the whole entire vibe of this thing ✨

okay so bestie, welcome to the manual page for struct cdns2_epx_base(9) β€” yes that's the real name, no cap, I'm not making it up 🫢. It lives in the Kernel API Manual and it is literally the blueprint for the base endpoint registers. Iconic. Periodt.


🌸 NAME 🌸

struct cdns2_epx_base β€” the base endpoint registers, fr fr. That's it, that's the whole name section, she's short and she knows it πŸ’…


✨ SYNOPSIS ✨

okay here's the actual struct, copied exactly because we do not freestyle with code, ever πŸ™ˆ:

struct cdns2_epx_base {
    __le16 rxbc;
    __u8 rxcon;
    __u8 rxcs;
    __le16 txbc;
    __u8 txcon;
    __u8 txcs;
 };

look at her. six little members. main character energy honestly πŸ‘‘


πŸŽ€ Members πŸŽ€

  • rxbc β€” the OUT endpoint byte count register. she's counting bytes, that's her whole job, and she's slaying it πŸ’–
  • rxcon β€” the OUT endpoint control register. control girlie πŸŽ€
  • rxcs β€” the OUT endpoint control and status register. yes both. overachiever behavior lowkey πŸ”₯
  • txbc β€” the IN endpoint byte count register. same byte-counting situation but make it IN ✨
  • txcon β€” the IN endpoint control register. more control. we love a consistent queen πŸ‘‘
  • txcs β€” the IN endpoint control and status register. control + status, the full package 🌸
ngl the naming is so clean it's giving "someone actually thought about this" and I respect it so much 🫢

πŸ¦‹ SEE ALSO πŸ¦‹

these are her friends, her little kernel neighborhood besties, all found in the Kernel file ./drivers/usb/gadget/udc/cdns2/cdns2-gadget.h β€” go say hi to all of them πŸ’œ:

  • struct cdns2_ep0_regs(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_request(9)
  • struct cdns2_device(9)

like, the whole squad is documented, we're so blessed 😭


and that's the page!! πŸ’« this little masterpiece comes from ./drivers/usb/gadget/udc/cdns2, dated October 2026, and it's filed under struct cdns2_epx_base(9) in the Kernel API Manual β€” so when you cite it, you cite it correctly, bestie, don't embarrass me πŸ˜€πŸ’… mwah, go read some kernel source, ily, bye πŸ“πŸ§š

πŸ“¦ where this page comes from