platform_pr...choices_show(9)
π platform_pr...choices_show(9) β like, the whole vibe
okay so bestie, welcome to the Kernel API Manual entry for platform_pr...choices_show(9). yes the name is truncated, no i don't know why, yes we're moving on. this one's a little show-off function that shows off the available profile choices for the legacy sysfs interface β¨
πΈ NAME πΈ
platform_profile_choices_show β Show the available profile choices for legacy sysfs interface
like, it's literally giving "here are your options, bestie" energy π
β¨ SYNOPSIS β¨
ssize_t platform_profile_choices_show (struct kobject *kobj , struct
kobj_attribute *attr , char *buf );
copy it exactly like that, spacing and all, don't come for me π«Ά
π ARGUMENTS π
kobjβ The kobject. that's it, that's the whole description, she's mysterious πattrβ The attribute. same deal, iconic minimalism πbufβ The buffer to write to. this is where the output goes, main character destination fr π
π₯ RETURN π₯
The number of bytes written. that's the whole return section, short and slay π
ngl if you were hoping for a dramatic error story here, there isn't one in the source. just bytes. we respect the restraint.
π¦ SEE ALSO π¦
Kernel file ./drivers/acpi/platform_profile.c β she's the source of truth, go say hi π
_commmon_choices_show(9)(yes, three m's, that's how it's written, i'm not touching it π)_store_class_profile(9)_notify_class_profile(9)get_class_profile(9)name_show(9)choices_show(9)profile_show(9)profile_store(9)_aggregate_choices(9)_remove_hidden_choices(9)_aggregate_profiles(9)_store_and_notify(9)platform_profile_show(9)platform_profile_store(9)platform_profile_notify(9)platform_profile_cycle(9)platform_profile_register(9)platform_profile_remove(9)devm_platform_profile_register(9)
that's the whole crew, the entire friend group, no one left behind π«Άπ
π tiny reminder bestie: this page is all aboutplatform_profile_choices_show, so don't go confusing her withchoices_show(9)β they're cousins, not twins, and the manpage doesn't tell us more than that, so i'm not gonna make stuff up π
kisses and kernel modules, this one lives in ./drivers/acpi and it's stamped October 2026 β go off, queen ππ
π¦ 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