STRUCT CDNS2_EPX_BASE(9)
π 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
- 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