SMC_KEY(9)
π 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:
smc_key(9)struct apple_smc_key_info(9)enum apple_smc_boot_stage(9)struct apple_smc(9)apple_smc_read(9)apple_smc_write(9)apple_smc_enter_atomic(9)apple_smc_write_atomic(9)apple_smc_rw(9)apple_smc_get_key_by_index(9)apple_smc_get_key_info(9)apple_smc_key_exists(9)
final vibe check, bestie: source/version is ./include/linux/mfd, date is October 2026. 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