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