ENUM SCPSYS_RTFF_TYPE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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.h enum scpsys_mtcmos_type(9) β€” the enum bestie
  • struct scpsys_domain_data(9) β€” the domain data struct
  • struct 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