acpi_amd_wbr...ted_consumer(9)
π acpi_amd_wbrf_supported_consumer β a Kernel API Manual moment
okay bestie, welcome to the Kernel API Manual β¨ this one's a little function from the AMD WBRF corner of the kernel, and honestly? it's giving "small but mighty" π«Ά
We're talking about acpi_amd_wbrf_supported_consumer, bestie. Yes that's a whole mouthful, yes the manpage title gets truncated to acpi_amd_wbr...ted_consumer(9) like it's hiding its full self from you. It's not. That's the whole name, we're just chill about it π
πΈ NAME πΈ
acpi_amd_wbrf_supported_consumer β determine if the WBRF can be enabled for the device as a consumer π
That's it. That's the job. It's a vibe check for WBRF-as-a-consumer, and the answer comes back as a bool π
β¨ SYNOPSIS β¨
okay so the whole signature is literally this, no cap:
bool acpi_amd_wbrf_supported_consumer (struct device *dev );
bool returns, baby! dev goes in, truthiness comes out π
π¦ ARGUMENTS π¦
devβ the device pointer π« literally just the device you're asking about. nothing else, nothing sneaky.
π DESCRIPTION π
So here's the tea β this function determines if the platform is equipped with the necessary implementations to support WBRF for this device β specifically as a consumer.
Read that again bestie, because the "as a consumer" bit is the whole personality of this function π₯ it's not asking "is WBRF a thing," it's asking "can this device get WBRF in a consumer role, given what the platform actually implements."
It's not doing the work itself. It's doing the checking-first part. Iconic behavior honestly π
π RETURN π
trueβ WBRF is supported β¨ slayfalseβ otherwise π that's the whole rule, no hidden extras
periodt. no error codes, no negative-errno nonsense, just a straight bool π«Ά
π§ SEE ALSO π§
- Kernel file:
./drivers/platform/x86/amd/wbrf.cβ that's where the whole friend group lives π acpi_amd_wbrf_add_remove(9)acpi_amd_wbrf_supported_producer(9)β the sibling function, the producer side of the situation π―amd_wbrf_retrieve_freq_band(9)amd_wbrf_register_notifier(9)amd_wbrf_unregister_notifier(9)
iykyk these are the ones you want to go read next π
lowkey a reminder bestie: this page only tells you what's written here. If you need the actual behavior details, go read the source in ./drivers/platform/x86/amd/wbrf.c β don't be out here guessing π
that's the whole page, bestie π source lives in ./drivers/platform/x86/amd and this little baddie is dated October 2026. drink water, read your manpages, and remember: consumers have needs too πβ¨π
π¦ 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