ENUM SFH_DEV_MODE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ NAME πŸ¦‹

okay so bestie, this is the enum sfh_dev_mode(9) page from the Kernel API Manual β€” and it’s literally all about the SFH operating-mode field, aka sfh_op_mode.mode, bits 0-2. that’s the vibe. ✨

πŸŽ€ SYNOPSIS πŸŽ€

enum sfh_dev_mode {
    SFH_MODE_LAPTOP ,
    SFH_MODE_TABLET

};

πŸ’– Constants πŸ’–

  • SFH_MODE_LAPTOP β€” device is in laptop/clamshell posture. iconic clamshell moment, no cap 🫢
  • SFH_MODE_TABLET β€” device is in tablet posture. tablet era fr fr πŸ’…

πŸ‘‘ SEE ALSO πŸ‘‘

go check the kernel file ./include/linux/amd-pmf-io.h, plus these besties: enum sfh_message_type(9), enum sfh_hpd_info(9), struct amd_sfh_info(9), and struct amd_pmf_npu_metrics(9). iykyk 🌈


mwah πŸ’‹ β€” this cutie lives under ./include/linux, is dated October 2026, and its manual name is Kernel API Manual. periodt. πŸŽ€

πŸ“¦ where this page comes from