ufshcd_dwc_link_is_up(9)
π ufshcd_dwc_link_is_up(9) π
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 π₯
0on 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 π
- Kernel file
./drivers/ufs/host/ufshcd-dwc.cπ ufshcd_dwc_program_clk_div(9)ufshcd_dwc_connection_setup(9)ufshcd_dwc_link_startup_notify(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms