ENUM SVSB_PHASE(9)
β¨ enum svsb_phase(9) β¨
okay bestie, so this one lives in the Kernel API Manual and it's literally just a little baby enum β but it's the enum that runs the whole svs bank phase situation, so like, respect it π
πΈ NAME πΈ
enum svsb_phase β the svs bank phase enumeration, aka the glow-up timeline of an svs bank π¦
π SYNOPSIS π
enum svsb_phase {
SVSB_PHASE_ERROR ,
SVSB_PHASE_INIT01 ,
SVSB_PHASE_INIT02 ,
SVSB_PHASE_MON ,
SVSB_PHASE_MAX
};
β Constants β
SVSB_PHASE_ERRORβ the "help something went sideways" era π β this is what you get when an svs bank encounters an unexpected condition.SVSB_PHASE_INIT01β the basic init era for data calibration β¨ like, the first-day-of-school phase.SVSB_PHASE_INIT02β the glow-up continues: now the svs bank can provide voltages to the opp table πSVSB_PHASE_MONβ the main character phase π the svs bank can provide voltages with thermal effect now. it's giving fully realized.SVSB_PHASE_MAXβ the total number of svs bank phases (debug purpose only, no cap π)
π Description π
So here's the tea: each svs bank has its own independent phase, and we enable each svs bank by running their phases orderly β one after another, no skipping, no chaos, okay? π«Ά
But lowkey, when an svs bank encounters an unexpected condition, it will fire an irq (PHASE_ERROR) to inform the svs software. so yeah, the error phase is literally the 911 call π
the svs bank general phase-enabled order is, and I quote, exactly this:
SVSB_PHASE_INIT01 -> SVSB_PHASE_INIT02 -> SVSB_PHASE_MON
like, that's the whole arc. iconic. periodt π₯
π¦ SEE ALSO π¦
Kernel file ./drivers/soc/mediatek/mtk-svs.c, plus the whole friend group β¨: enum svsb_sw_id(9), enum svsb_type(9), struct svs_platform(9), struct svs_bank_pdata(9), struct svs_bank(9)
and that's a wrap bestie π this masterpiece comes to you from ./drivers/soc/mediatek, dated October 2026 β go read the kernel source, ily, bye ππ
π¦ 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