ice_tspll_cfg(9)
π ice_tspll_cfg(9) β the kernel API manual, bestie edition π
okay so this is ice_tspll_cfg, straight out of the Kernel API Manual (section 9, driver-land, we love her) β¨
β¨ NAME β¨
ice_tspll_cfg β configure the Clock Generation Unit TSPLL π
Like, she sets up the whole clock thing. Main character energy fr.
π¦ SYNOPSIS π¦
int ice_tspll_cfg (struct ice_hw *hw , enum ice_tspll_freq clk_freq ,
enum ice_clk_src clk_src );
three args, one int back, no cap π
πΈ ARGUMENTS πΈ
hwβ pointer to the HW struct. yes bestie, the hardware one. give her a real pointer, not a vibe πclk_freqβ the clock frequency you wanna program in. pick one, she's not guessing πclk_srcβ which clock source to select:TIME_REF, orTCXO. that's the whole menu, iykyk π
π DESCRIPTION π
so basically she configures the Clock Generation Unit with the clock frequency and time reference you asked for, and enables the TSPLL β which is the icon that drives the PTP hardware clock π₯ literally the whole reason your timing works. no TSPLL, no PTP, no slay π
β RETURN β
0β success! we ate π-ERANGEβ that MAC type is unsupported, sorry babe π- other negative error codes β she tried to configure the CGU and it did not go well π
π SEE ALSO π
kernel file ./drivers/net/ethernet/intel/ice/ice_tspll.c aka the source of truth bestie π«Ά
and the whole friend group:
ice_tspll_clk_freq_str(9)ice_tspll_default_freq(9)ice_tspll_check_params(9)ice_tspll_clk_src_str(9)ice_tspll_log_cfg(9)ice_tspll_cfg_e82x(9)ice_tspll_dis_sticky_bits_e82x(9)ice_tspll_cfg_e825c(9)ice_tspll_dis_sticky_bits_e825c(9)ice_tspll_cfg_pps_out_e825c(9)ice_tspll_dis_sticky_bits(9)ice_tspll_init(9)ice_tspll_bypass_mux_active_e825c(9)ice_tspll_cfg_bypass_mux_e825c(9)ice_tspll_get_div_e825c(9)ice_tspll_cfg_synce_ethdiv_e825c(9)
lowkey reminder: -ERANGE is a real answer, not a glitch. unsupported MAC = unsupported MAC π
and that's the page!! brought to you by ./drivers/net/ethernet/intel/ice, dated October 2026 β mwah, go configure something iconic π§ββοΈπβ¨
π¦ 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