STRUCT XPSGTR_DEV(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ struct xpsgtr_dev(9) πŸŽ€

okay so bestie, welcome to the Kernel API Manual entry for struct xpsgtr_dev β€” literally the representation of a ZynMP GT device. no cap, this is the whole struct vibe check πŸ’…


✨ NAME ✨

struct xpsgtr_dev β€” representation of a ZynMP GT device πŸ¦‹


πŸ¦‹ SYNOPSIS πŸ¦‹

struct xpsgtr_dev {
    struct device *dev;
    void __iomem *serdes;
    void __iomem *siou;
    struct mutex gtr_mutex;
    struct xpsgtr_phy phys[NUM_LANES];
    struct clk *clk[NUM_LANES];
    bool tx_term_fix;
    unsigned int saved_icm_cfg0;
    unsigned int saved_icm_cfg1;
    u32 *saved_regs;
 };

🌸 Members 🌸

  • dev β€” pointer to device. the main-character pointer, periodt πŸ’–
  • serdes β€” serdes base address. yes, the serdes base address, exactly as it sounds ✨
  • siou β€” siou base address. another base address, another lil' icon πŸŽ€
  • gtr_mutex β€” mutex for locking. it does the locking thing, fr fr πŸ”’
  • phys β€” PHY lanes. the PHY lanes are in here 🌈
  • clk β€” reference clocks. reference clocks, slay ⏰
  • tx_term_fix β€” fix for GT issue. it's giving "fix for GT issue" πŸ’…
  • saved_icm_cfg0 β€” stored value of ICM CFG0 register. stored value, saved for later 🫢
  • saved_icm_cfg1 β€” stored value of ICM CFG1 register. yes bestie, CFG1 is its own whole thing 😭
  • saved_regs β€” registers to be saved/restored during suspend/resume. these registers get saved and restored during suspend/resume, no cap πŸ”₯

πŸ‘‘ SEE ALSO πŸ‘‘

go look at these too, bestie:


and that's the page, bestie 🫢 this lil' manual entry comes from ./drivers/phy/xilinx, dated October 2026 β€” iconic source/version energy, mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from