STRUCT XPSGTR_DEV(9)
π 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:
- Kernel file
./drivers/phy/xilinx/phy-zynqmp.c struct xpsgtr_ssc(9)struct xpsgtr_phy(9)xpsgtr_save_lane_regs(9)xpsgtr_restore_lane_regs(9)xpsgtr_bypass_scrambler_8b10b(9)
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
- 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