STRUCT XPSGTR_PHY(9)
π struct xpsgtr_phy(9) β like, the whole kernel API manual moment
okay so bestie, welcome to struct xpsgtr_phy(9) β¨ this is the man page for the lane struct, straight out of the Kernel API Manual, and honestly? it ate. let's get into it π«Ά
β¨ NAME β¨
struct xpsgtr_phy β representation of a lane π«
that's it. that's the whole vibe. one struct, one lane, main character energy π
πΈ SYNOPSIS πΈ
struct xpsgtr_phy {
struct phy *phy;
u8 instance;
u8 lane;
u8 protocol;
bool skip_phy_init;
struct xpsgtr_dev *dev;
unsigned int refclk;
};
no cap, that's the entire struct β copy it exactly, don't be out here renaming fields, i'm watching π (affectionately)
π Members π
time for the member-by-member vibe check, let's go π₯
phyβ a pointer to the kernel PHY device. literally just a lil pointer bestie, nothing more, nothing less πinstanceβ the instance of the protocol type. think: the lane within a protocol, or the USB/Ethernet controller. it's giving "which one of you is it" πlaneβ the lane number. yes. that's the whole thing. iconic brevity πprotocolβ the protocol that this lane operates in. slay, know your lane's context π¦skip_phy_initβ if this is true, skipphy_init. simple as. πdevβ a pointer to thexpsgtr_devinstance. say hi to the parent π«Άrefclkβ the reference clock index. number go brrr β°
okay but fr fr, keep those field names exactly as written β they're <pink>literal</pink>, not a suggestion π
π SEE ALSO π
the whole friend group π§ β they all live in the kernel file ./drivers/phy/xilinx/phy-zynqmp.c:
struct xpsgtr_ssc(9)struct xpsgtr_dev(9)xpsgtr_save_lane_regs(9)xpsgtr_restore_lane_regs(9)xpsgtr_bypass_scrambler_8b10b(9)
go read them, iykyk π
and that's the page!! mwah ππ this lil beauty lives in ./drivers/phy/xilinx and it's dated October 2026 β so go forth, read your lane struct, and remember: every single member above is doing its job so you don't have to βπ
π¦ 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