STRUCT MTK_XFI_TPHY(9)
π struct mtk_xfi_tphy(9) β the Kernel API Manual glow-up π
okay so bestie, welcome to the struct mtk_xfi_tphy(9) page from the Kernel API Manual β¨ this is the run-time data of the XFI phy instance, and we're gonna get into every single little field, no cap π
πΈ NAME πΈ
struct mtk_xfi_tphy β run-time data of the XFI phy instance π¦
β¨ SYNOPSIS β¨
struct mtk_xfi_tphy {
void __iomem *base;
struct device *dev;
struct reset_control *reset;
struct clk_bulk_data clocks[MTK_XFI_TPHY_NUM_CLOCKS];
bool da_war;
};
π Members π
baseβ the IO memory area used to access the phy registers. it's giving "where the actual hardware lives" energy π₯devβ the kernel device used to output prefixed debug info. lowkey your debug messages' main character πresetβ the reset control corresponding to the phy instance. when this phy needs a little reset moment, this is the hookup πclocksβ all clocks required for the phy to operate. yes, all of them, and there areMTK_XFI_TPHY_NUM_CLOCKSof them, periodt βda_warβ enables work-around for 10GBase-R mode. it's literally right there in the name, bestie π«Ά
π¦ SEE ALSO π¦
- Kernel file
./drivers/phy/mediatek/phy-mtk-xfi-tphy.c mtk_xfi_tphy_setup(9)mtk_xfi_tphy_set_mode(9)mtk_xfi_tphy_reset(9)mtk_xfi_tphy_power_on(9)mtk_xfi_tphy_power_off(9)mtk_xfi_tphy_probe(9)
and that's the whole vibe check, bestie π this page comes from ./drivers/phy/mediatek, dated October 2026, and it's literally titled struct mtk_xfi_tphy(9) β slay, go read the source, iykyk ππ
π¦ 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