STRUCT DWC3_HWPARAMS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct dwc3_hwparams(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual β€” this is the page for struct dwc3_hwparams, and yes it's exactly what it sounds like, no gatekeeping here.


✨ NAME ✨

struct dwc3_hwparams β€” a straight-up copy of the HWPARAMS registers 🫢

🌸 SYNOPSIS 🌸

like, here's the whole shape of it, character for character:

struct dwc3_hwparams {
    u32 hwparams0;
    u32 hwparams1;
    u32 hwparams2;
    u32 hwparams3;
    u32 hwparams4;
    u32 hwparams5;
    u32 hwparams6;
    u32 hwparams7;
    u32 hwparams8;
    u32 hwparams9;
 };

πŸŽ€ Members πŸŽ€

ten fields, all u32, all iconic, all just chillin' in a row. the way that each one maps to exactly one register… obsessed πŸ’…

  • hwparams0 β€” this one's holding GHWPARAMS0 πŸ‘‘
  • hwparams1 β€” and here we got GHWPARAMS1 ✨
  • hwparams2 β€” yep, GHWPARAMS2 πŸ¦‹
  • hwparams3 β€” GHWPARAMS3, slay 🌸
  • hwparams4 β€” GHWPARAMS4, as expected πŸ’–
  • hwparams5 β€” GHWPARAMS5, we're halfway there πŸŽ€
  • hwparams6 β€” GHWPARAMS6, still going ⭐
  • hwparams7 β€” GHWPARAMS7, consistency queen 🌈
  • hwparams8 β€” GHWPARAMS8, almost done πŸ”₯
  • hwparams9 β€” GHWPARAMS9, final boss πŸ’œ
ngl the pattern here is so satisfying. each member is literally just the matching GHWPARAMS* register. no cap.

πŸ” SEE ALSO πŸ”

go read the kernel file ./drivers/usb/dwc3/core.h (iykyk) and then vibe with the whole friend group:

  • struct dwc3_event_buffer(9)
  • struct dwc3_ep(9)
  • struct dwc3_trb(9)
  • struct dwc3_request(9)
  • struct dwc3_glue_ops(9)
  • struct dwc3(9)
  • struct dwc3_event_depevt(9)
  • struct dwc3_event_devt(9)
  • struct dwc3_event_gevt(9)
  • union dwc3_event(9)
  • struct dwc3_gadget_ep_cmd_params(9)
  • dwc3_mdwidth(9)

and that's the whole page bestie, you ate it πŸ“ this lil masterpiece lives in ./drivers/usb/dwc3, dated October 2026, and it goes by struct dwc3_hwparams(9) β€” periodt πŸ’…βœ¨

πŸ“¦ where this page comes from