ice_txclk_get_pin(9)
π ice_txclk_get_pin(9) β the kernel API manual, but make it cute π
okay so picture this: you're deep in the ice driver, it's giving kernel API manual, and you need to know which DPLL pin a TX reference clock maps to. bestie, this page is literally your answer. sheet music for the group chat π¦
β¨ NAME β¨
ice_txclk_get_pin β map that TX reference clock to its DPLL pin, no cap π₯
πΈ SYNOPSIS πΈ
struct dpll_pin * ice_txclk_get_pin (struct ice_pf *pf , enum
ice_e825c_ref_clk ref_clk );
like, you hand it a PF and a ref clock, it hands you a pin. simple as π«Ά
π§ ARGUMENTS π§
pfβ pointer to the PF structure. yes, that PF. the one you already have. πref_clkβ the TX reference clock selection. you're picking which clock, bestie, choose wisely β¨
π DESCRIPTION π
So the whole vibe here: this function returns the DPLL pin corresponding to a given external TX reference clock. that's it. that's the gig. π
But here's the tea β only the external TX reference clocks (SYNCE and EREF0) are represented as DPLL pins. The internal ENET (TXCO) clock has no associated DPLL pin and therefore yields NULL. so if you were expecting a pin for TXCOβ¦ nope, it's giving nothing, NULL, empty-handed, ghosted you π
This helper is used when emitting DPLL pin change notifications after TX reference clock transitions have been verified. lowkey important, highkey niche. iykyk β
π RETURN π
Pointer to the corresponding struct dpll_pin β slay, you got your pin π
β¦or NULL if the TX reference clock has no DPLL pin representation. not every clock gets a pin, and that's okay π
π SEE ALSO π
Kernel file ./drivers/net/ethernet/intel/ice/ice_txclk.c β go read it, it's literally right there π
the whole friend group, fr fr π«Ά
and that's the page! brought to you by ./drivers/net/ethernet/intel/ice, dated October 2026 β mwah, go touch some registers πβ¨
π¦ 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