ice_tspll_default_freq(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ice_tspll_default_freq β€” a whole Kernel API Manual moment ✨

okay bestie, so this is a little function page straight out of the Kernel API Manual (yes, that's the manual name, and yes it's giving official), and honestly it's a short one but it ate. Let's get into it 🫢


🌸 NAME 🌸

ice_tspll_default_freq β€” it literally returns the default frequency for a MAC type. that's the whole vibe. no cap πŸ’–


✨ SYNOPSIS ✨

enum ice_tspll_freq ice_tspll_default_freq (enum ice_mac_type mac_type
);

so you call it with one mac_type and you get back an enum ice_tspll_freq. keep it exactly like that, character for character, bestie β€” no renaming, no merging, no inventing πŸŽ€


πŸ¦‹ ARGUMENTS πŸ¦‹

  • mac_type β€” the MAC type. that's it. that's the argument. main character energy, honestly πŸ‘‘

πŸ”₯ RETURN πŸ”₯

it hands you back the default TSPLL frequency for a correct MAC type, and -ERANGE otherwise. like, if the MAC type isn't right? not today. -ERANGE bestie, -ERANGE πŸ’€

lowkey important: the "otherwise" case is literally -ERANGE, so don't go expecting some cute fallback value. it's not giving that πŸ™ˆ

🌈 SEE ALSO 🌈

okay this is the part where the whole friend group shows up, so let me introduce everyone πŸ’…


that's the whole page, and honestly it's iconic in its brevity. slay 🌟

sign-off time, babes: this one lives in ./drivers/net/ethernet/intel/ice, and it's dated October 2026 β€” so jot that down, because I will be quizzing you πŸŽ€πŸ’–βœ¨

πŸ“¦ where this page comes from