choices_show(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… choices_show(9) β€” like, the Kernel API Manual one, bestie

okay so real talk: this is choices_show(9), straight out of the Kernel API Manual, and she's here to show you the available profile choices ✨ β€” that's literally her whole job, no cap.


🌸 NAME 🌸

choices_show β€” show the available profile choices πŸŽ€


✨ SYNOPSIS ✨

ssize_t choices_show (struct device *dev , struct device_attribute *attr
, char *buf );

yep, that's the whole signature β€” three args, one ssize_t return, iconic behavior only 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • dev β€” the device πŸ’» (the main character of this little story, honestly)
  • attr β€” the attribute 🏷️
  • buf β€” the buffer to write to πŸ“ (this is where the magic gets scribbled down)

πŸ‘‘ RETURN πŸ‘‘

She returns the number of bytes written πŸ’– β€” that's it, that's the whole vibe check.


🌈 SEE ALSO 🌈

ok so here's the whole friend group 😭 β€” the kernel file ./drivers/acpi/platform_profile.c and every one of these absolute legends:

like, that's the entire group chat and every single one of them ate πŸ”₯ go read them, iykyk πŸ’…


ngl bestie, this page is short and sweet β€” but every single one of those cross-refs is fr fr part of the family, so don't skip them just because they're not in the spotlight. periodt. ⭐

mwah, that's a wrap πŸ“ this one lives over in ./drivers/acpi, and she was last touched in October 2026 β€” so go forth and show those choices, you absolute icon πŸ§šπŸ’œ

πŸ“¦ where this page comes from