ufshcd_dme_reset(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

okay so bestie, welcome to the Kernel API Manual page for ufshcd_dme_reset(9) πŸ’– this one is literally the UIC command for DME_RESET, and it’s giving β€œreset the UniPro stack” main character energy, no cap.

✨ SYNOPSIS ✨

int ufshcd_dme_reset (struct ufs_hba *hba );

πŸŽ€ ARGUMENTS πŸŽ€

  • hba β€” per adapter instance. that’s the whole argument squad, and it ate 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

The DME_RESET command is issued in order to reset the UniPro stack. This function now deals with cold reset. periodt, that’s the lore 🌸

🌈 RETURN 🌈

  • 0 on success
  • a non-zero value on failure

like, if it’s not 0, something is off and the function is telling you so πŸ’€

πŸ‘‘ SEE ALSO πŸ‘‘

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

the iconic SEE ALSO roster, every single one, because we do not skip the syllabus bestie:


and that’s the cute sign-off: source/version ./drivers/ufs/core; date October 2026. lowkey iconic, slay πŸ’…βœ¨

πŸ“¦ where this page comes from