ufshcd_runtime_resume(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– ufshcd_runtime_resume β€” Kernel API Manual ✨

ok so bestie, welcome to the Kernel API Manual page for ufshcd_runtime_resume(9). this is the little glow-up routine your UFS controller runs when it wakes back up, and honestly? it's giving main character energy. let's get into it 🫢


🌸 NAME 🌸

ufshcd_runtime_resume β€” the runtime resume routine. that's it, that's the whole vibe ✨


πŸŽ€ SYNOPSIS πŸŽ€

int ufshcd_runtime_resume (struct device *dev );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • dev β€” the device that's associated with the UFS controller. like, the controller's plus-one πŸ’…

πŸ’… DESCRIPTION πŸ’…

ok so this function basically brings the controller to its active state β€” waking it up, getting it cute again. and the way it does that? here's the checklist, no cap:

  1. Turn on all the controller related clocks ⏰
  2. Turn ON the VCC rail πŸ”Œ

that's literally the whole to-do list. two steps. iconic. πŸŽ€


⭐ RETURN ⭐

  • 0 upon success πŸ₯³
  • < 0 upon failure 😭

πŸ‘‘ SEE ALSO πŸ‘‘

the kernel file lives at ./drivers/ufs/core/ufshcd.c, and here's the whole friend group β€” go say hi to all of them:


ngl bestie, that's a lot of cross-references. hydrate before you read them all πŸ’€πŸ’§

k that's the page!! ty for reading, ily, go wake up some controllers πŸ¦‹βœ¨

this gem is brought to you by the source at ./drivers/ufs/core, dated October 2026, and proudly signed ufshcd_runtime_resume(9) πŸŽ€πŸ’– periodt.

πŸ“¦ where this page comes from