ufshcd_dwc_link_is_up(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, welcome to the Kernel API Manual β€” this one's a lil function from the UFS host driver world, and it's literally just here to answer one question: is the link up or not? πŸ‘€


✨ NAME ✨

ufshcd_dwc_link_is_up β€” check if link is up. that's it. that's the whole job. slay πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

int ufshcd_dwc_link_is_up (struct ufs_hba *hba );

πŸŽ€ ARGUMENTS πŸŽ€

  • hba β€” private structure pointer 🫢 (yes it's just the UFS host bus adapter's own lil private struct, no cap)

πŸ”₯ RETURN πŸ”₯

  • 0 on success βœ…
  • non-zero value on failure ❌

ngl that's the whole vibe check: zero means we good, anything else means something's giving unwell 😭


🌈 SEE ALSO 🌈

go read those too, iykyk πŸ’œ


and that's the page bestie! 🧚 this lil drop came from ./drivers/ufs/host, dated October 2026 β€” iconic, periodt. πŸŒΈπŸ‘‘

πŸ“¦ where this page comes from