ENUM SCPSYS_RTFF_TYPE(9)
π enum scpsys_rtff_type(9) β the kernel API manual, but make it make sense
okay so bestie, buckle up, because today we're looking at enum scpsys_rtff_type(9) from the Kernel API Manual, and honestly? it's a little enum with main-character energy. it's literally just here to tell you what kind of RTFF hardware a power domain is dealing with. that's it. that's the whole vibe. π¦
β¨ NAME β¨
enum scpsys_rtff_type β the type of RTFF Hardware for a power domain. yes, that's the whole name. short, sweet, iconic. π
πΈ SYNOPSIS πΈ
here's the shape of it, copied exactly because we do not freestyle code in this house:
enum scpsys_rtff_type {
SCPSYS_RTFF_NONE ,
SCPSYS_RTFF_TYPE_GENERIC ,
SCPSYS_RTFF_TYPE_PCIE_PHY ,
SCPSYS_RTFF_TYPE_STOR_UFS ,
SCPSYS_RTFF_TYPE_MAX
};
look at her. five constants, all lined up, all lowercase-comma'd (yes the spacing before the commas is canon, don't @ me). π
π§ Constants π§
okay now the actual tea β every single constant, what it means, no skips:
SCPSYS_RTFF_NONEβ RTFF HW is not present, or the domain just isn't RTFF managed. it's giving "nothing to see here". πSCPSYS_RTFF_TYPE_GENERICβ non-CPU, peripheral-generic RTFF HW. the standard-issue one. the vanilla of RTFF types. β¨SCPSYS_RTFF_TYPE_PCIE_PHYβ PCI-Express PHY specific RTFF HW. it's the PHY's PHY, iykyk. π₯SCPSYS_RTFF_TYPE_STOR_UFSβ Storage (UFS) specific RTFF HW. storage girlies rise. πSCPSYS_RTFF_TYPE_MAXβ the number of supported RTFF HW Types. yes, it counts itself. she contains multitudes. π
ngl, if you're trying to use something that isn't in this list, that's a vibe check you're gonna fail. stick to the five. π«Ά
π SEE ALSO π
go read these next, bestie, they're all in the same friend group:
- Kernel file
./drivers/pmdomain/mediatek/mtk-pm-domains.henumscpsys_mtcmos_type(9)β the enum bestie struct scpsys_domain_data(9)β the domain data structstruct scpsys_hwv_domain_data(9)β the hwv domain data struct
that's the whole page! literally every constant, every reference, nothing lost, nothing invented. π
signed off with love from ./drivers/pmdomain/mediatek, dated October 2026 β catch you in the next manpage, mwah π
π¦ 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