ufshcd_suspend(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ufshcd_suspend(9) πŸ’…

okay bestie, welcome to the Kernel API Manual page for ufshcd_suspend(9) β€” title and manual name folded in right here, cute and accounted for. 🫢 This is the suspend helper, and she's lowkey important.


✨ NAME ✨

ufshcd_suspend β€” helper function for suspend operations. That's the whole name, no cap.

πŸ› οΈ SYNOPSIS πŸ› οΈ

int ufshcd_suspend (struct ufs_hba *hba );

πŸŽ€ ARGUMENTS πŸŽ€

  • hba β€” per adapter instance. That's the one argument, bestie.

πŸ¦‹ DESCRIPTION πŸ¦‹

This function will disable irqs, turn off clocks, and set vreg and hba-vreg in lpm mode. So: irqs off, clocks off, and both vreg and hba-vreg living that lpm mode life. πŸ’…

🌸 RETURN 🌸

  • 0 upon success.
  • < 0 upon failure.

So success is 0, failure is < 0, periodt. 😭

πŸ”₯ SEE ALSO πŸ”₯

Kernel file: ./drivers/ufs/core/ufshcd.c

the whole extended ufshcd family, no cap:


okay bye bestie β€” this page came from ./drivers/ufs/core, dated October 2026, and it's ufshcd_suspend(9). πŸ’–βœ¨

πŸ“¦ where this page comes from