ENUM UFSHCD_PMC_POLICY(9)
π enum ufshcd_pmc_policy(9) β the Kernel API Manual, bestie edition π¦
Okay so this is a page straight out of the Kernel API Manual, and it's about enum ufshcd_pmc_policy β that's the Power Mode change policy situation. Yes, that's literally what the NAME section says, and no, I'm not going to pretend it's more complicated than that. It's an enum. It has two (2) members. It's giving minimal icon energy and honestly? Obsessed. β¨
πΈ NAME πΈ
enum ufshcd_pmc_policy β Power Mode change policy. That's the whole name, that's the whole vibe. π
β¨ SYNOPSIS β¨
Here's the shape of it, copied exactly so you can trust me fr fr:
enum ufshcd_pmc_policy {
UFSHCD_PMC_POLICY_DONT_FORCE ,
UFSHCD_PMC_POLICY_FORCE
};
Two constants, that's it, that's the lineup. π
π§ Constants π§
UFSHCD_PMC_POLICY_DONT_FORCEβ Do not force a Power Mode change.</> Like, chill. Sit in whatever Power Mode you're already in. No pushing, no shoving, no drama. πUFSHCD_PMC_POLICY_FORCEβ Force a Power Mode change</> β and yes, even if the current Power Mode is the same as the target Power Mode. Same destination, still making the trip. Main character energy only. π π₯
Bestie note: the "even if it's the same" part is the whole point of FORCE. Don't skip it. That's the detail. π«Ά
π SEE ALSO π
The kernel file lives at ./include/ufs/ufshcd.h, and it has so many friends. Full list, nobody left behind:
struct uic_command(9)struct ufshcd_lrb(9)struct ufs_query_req(9)struct ufs_query_res(9)struct ufs_query(9)struct ufs_dev_cmd(9)struct ufs_clk_info(9)struct tx_eqtr_iter(9)struct ufshcd_tx_eq_settings(9)struct ufshcd_tx_eqtr_data(9)struct ufshcd_tx_eqtr_record(9)struct ufshcd_tx_eq_params(9)struct ufs_hba_variant_ops(9)struct ufs_clk_gating(9)struct ufs_clk_scaling(9)struct ufs_event_hist(9)struct ufs_stats(9)enum ufshcd_state(9)struct ufshcd_mcq_opr_info_t(9)struct ufs_hba(9)struct ufs_hw_queue(9)ufshcd_rmwl(9)ufshcd_set_variant(9)ufshcd_get_variant(9)
Like I said. A whole squad. π
And that's the page!! π Signing off from ./include/ufs, dated October 2026, brought to you by the Kernel API Manual β enum ufshcd_pmc_policy(9), slay, bye bestie! ππ¦β
π¦ 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