pm_qos_enable_store(9)
π pm_qos_enable_store(9)
okay so bestie, this little icon is from the Kernel API Manual, and it's the sysfs side of the PM QoS enable switch. The whole page is giving βsmall function, big main-character energyβ β¨.
πΈ NAME
pm_qos_enable_store β the sysfs handler to store value. That's it, that's the job π.
β¨ SYNOPSIS
ssize_t pm_qos_enable_store (struct device *dev , struct
device_attribute *attr , const char *buf , size_t count );
π ARGUMENTS
devβ the device associated with the UFS controller. Your fave device, basically π«Ά.attrβ the sysfs attribute handle. The little handle for the sysfs attribute vibe β¨.bufβ the buffer for the sysfs file. It's where the characters live π.countβ the stores buffer characters count. Yep, the stores-buffer characters count π .
π¦ DESCRIPTION
Feed it 0 to disable PM QoS, and feed it 1 to enable. That's the whole mood.
Default state? 1. So it's enabled unless you say otherwise, periodt π.
π₯ RETURN
On success, you get the number of characters written to buf. On failure, it returns < 0 π. No cap, that's the contract.
π SEE ALSO
- Kernel file
./drivers/ufs/core/ufs-sysfs.c pm_qos_enable_show(9)
Signed off from ./drivers/ufs/core with the October 2026 timestamp energy, bestie β pm_qos_enable_store(9) out πβ¨
π¦ 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