fsl_guts_lane_validate(9)
π fsl_guts_lane_validate β a Kernel API Manual moment
okay so bestie, welcome to fsl_guts_lane_validate(9) from the Kernel API Manual β yes it's a section 9 page, yes it's a function, yes we're gonna stan it π
It's the vibe-check function: it validates that a SerDes protocol is actually implemented and supported on the current SoC. No cap. β¨
β¨ SYNOPSIS β¨
int fsl_guts_lane_validate (int serdes_idx , int lane , enum
lynx_lane_mode lane_mode );
literally just three args and an int back. iconic. π«Ά
πΈ ARGUMENTS πΈ
serdes_idxβ the SerDes block index, and it's one-based (so like, counting starts at 1, not 0 β she's quirky like that π)laneβ the lane index within that SerDes, and this one is zero-based (back to normal counting, thank god π)lane_modeβ the SerDes protocol you're asking for, typed asenum lynx_lane_mode
π¦ DESCRIPTION π¦
The whole point: call this before you actually request the RCW override procedure to be applied via fsl_guts_lane_set_mode. Like, check first, then commit. main character energy only. π
not me emphasizing this: validate first, override second. the order matters fr fr.
β RETURN β
0β the RCW override to that protocol is possible, slay β- negative error β nope, not possible, and it comes back as a negative error value π
π₯ SEE ALSO π₯
- Kernel file
./drivers/soc/fsl/guts.c fsl_guts_lane_set_mode(9)β the bestie this one's paired with π«Ά
aaaand that's the page! π§ source lives in ./drivers/soc/fsl, dated October 2026, and it's fsl_guts_lane_validate(9) all the way down β periodt. πππ
π¦ 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