STRUCT ROCKCHIP_USB3PHY_PORT_CFG(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

okay so bestie, welcome to the struct rockchip_usb3phy_port_cfg page β€” it's the official Kernel API Manual entry (yes, the manual name is literally struct rockc...phy_port_cfg(9), they truncated it, iconic of them) and it's all about usb3-phy port configuration. that's it. that's the whole vibe. no cap. πŸŽ€


✨ SYNOPSIS ✨

here's the struct in all its glory β€” copy it exactly, don't you dare typo it:

struct rockchip_usb3phy_port_cfg {
    unsigned int reg;
    struct usb3phy_reg typec_conn_dir;
    struct usb3phy_reg usb3tousb2_en;
    struct usb3phy_reg external_psm;
    struct usb3phy_reg pipe_status;
    struct usb3phy_reg usb3_host_disable;
    struct usb3phy_reg usb3_host_port;
    struct usb3phy_reg uphy_dp_sel;
 };

🌸 Members 🌸

okay now the main characters, one by one, let me introduce you 🫢

  • reg β€” the base address for usb3-phy config. the anchor. the foundation. the way it holds everything together honestly πŸ’…
  • typec_conn_dir β€” the register of type-c connector direction. yes she knows which way you're plugged in πŸ”₯
  • usb3tousb2_en β€” the register of type-c force usb2 to usb2 enable. that's what it says, bestie, i'm not editing the source πŸ’€
  • external_psm β€” the register of type-c phy external psm clock. clock duty, literally ✨
  • pipe_status β€” the register of type-c phy pipe status. she's checking in on the pipe, very attentive πŸ¦‹
  • usb3_host_disable β€” the register of type-c usb3 host disable. the off switch, use responsibly πŸ‘‘
  • usb3_host_port β€” the register of type-c usb3 host port. the port in question, main character energy 🌈
  • uphy_dp_sel β€” the register of type-c phy DP select control. she picks. she selects. she controls πŸŽ€

πŸ¦‹ SEE ALSO πŸ¦‹

if you wanna go deeper (and you KNOW you do), the Kernel file lives here:

  • ./drivers/phy/rockchip/phy-rockchip-typec.c

πŸ’– quick reminder bestie: every one of those members is a register reference or base address, so treat the whole struct like the little address book it is β€” no inventing extra fields, iykyk 😭

and that's the page! 🌟 this masterpiece came from ./drivers/phy/rockchip, dated October 2026, and it answers to the name struct rockc...phy_port_cfg(9) β€” go forth and configure those ports, you gorgeous nerd πŸ’œπŸŽ€πŸ’…

πŸ“¦ where this page comes from