ice_txclk_any_port_uses(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 shared tx_refclks map πŸ‘‘ she's the main character holding the map, so treat her right
  • phy β€” the PHY index 🌈 just, like, which PHY we're talking about
  • clk β€” 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