ufs_qcom_fw_...device_reset(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

ufs_qcom_fw_managed_device_reset β€” reset that UFS device when it's living that FW-managed life πŸ’…

so like, quick intro bestie: this page is from the Kernel API Manual, and it's all about ufs_qcom_fw_managed_device_reset. yeah, the name is a whole mouthful, i know 😭


πŸ¦‹ SYNOPSIS πŸ¦‹

int ufs_qcom_fw_managed_device_reset (struct ufs_hba *hba );

πŸŽ€ ARGUMENTS πŸŽ€

  • hba β€” pointer to UFS host bus adapter. that's it, that's the whole argument list, she's low maintenance πŸ’–

🌸 DESCRIPTION 🌸

okay so picture this: in the firmware-managed reset model, the power domain gets powered on by genpd before the UFS controller driver even probes. main character genpd did it first, no notes πŸ‘‘

but for the resets that come after that β€” think suspend/resume situations, or recovery β€” the UFS driver can't just sit there looking cute. nope. it must explicitly invoke PM runtime. no cap, that's on the driver, every time, fr fr πŸ”₯

⭐ RETURN ⭐

  • 0 on success πŸŽ‰
  • a negative error code on failure 😭

πŸ’œ SEE ALSO πŸ’œ


okay that's the whole page, you ate that 🫢 it lives over in ./drivers/ufs/host, dated October 2026, and it's filed under ufs_qcom_fw_...device_reset(9) in case you need to find her again. periodt πŸ’…βœ¨

πŸ“¦ where this page comes from