ice_txclk_any_port_uses(9)
π ice_txclk_any_port_uses(9) β like, the kernel API manual bestie π
okay so this is a page from the Kernel API Manual, and it's all about one lil function in the Intel ice driver family. pull up a chair, we're checking clocks β¨
πΈ NAME πΈ
ice_txclk_any_port_uses β literally checks if any port on a PHY is using this TX refclk π
β¨ SYNOPSIS β¨
bool ice_txclk_any_port_uses (const struct ice_pf *ctrl_pf , u8 phy ,
enum ice_e825c_ref_clk clk );
it returns a bool, bestie. no cap, that's the whole vibe π«Ά
π¦ ARGUMENTS π¦
ctrl_pfβ the control PF, aka the owner of the sharedtx_refclksmap π she's the main character holding the map, so treat her rightphyβ the PHY index π just, like, which PHY we're talking aboutclkβ the TX reference clock β° the one we're asking about
π₯ RETURN π₯
true if any bit (port) is set for this clock on this PHY π that's it, that's the answer β one bit, one port, any of them lit up = true. periodt.
π§ SEE ALSO π§
- Kernel file
./drivers/net/ethernet/intel/ice/ice_txclk.hβ go read the source, it's giving iconic π
ngl, this one's short but she ate π don't sleep on it.
and that's the whole page, bestie π β sourced from ./drivers/net/ethernet/intel/ice, dated October 2026, and yeah the footer says ice_txclk_any_port_uses(9) too, 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