SMC_KEY(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ SMC_KEY(9) πŸŽ€

okay bestie, this is from the Kernel API Manual, and we're about to make FourCC SMC keys make sense. πŸ’…

🌸 NAME 🌸

SMC_KEY β€” convert FourCC SMC keys in source code to smc_key. periodt. ✨

✨ SYNOPSIS ✨

SMC_KEY (s );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • s β€” the FourCC SMC key that's getting converted. that's the whole argument, bestie. 🫢

πŸ’– DESCRIPTION πŸ’–

This macro is literally your little shortcut for defining FourCC SMC keys in source code and converting them to u32 / smc_key. Like, SMC_KEY(NTAP) will expand to 0x4e544150. no cap, that's the flex. ✨

🌈 SEE ALSO 🌈

Kernel file ./include/linux/mfd/macsmc.h β€” yes, go peek at it, iykyk β€” plus all these cuties:


final vibe check, bestie: source/version is ./include/linux/mfd, date is October 2026. mwah πŸ’‹πŸ’–

πŸ“¦ where this page comes from