ufshcd_probe_hba(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

ufshcd_probe_hba β€” probe hba to detect device and initialize it. okay bestie, welcome to the ufshcd_probe_hba(9) page from the Kernel API Manual ✨ this is the probe-and-init moment, and we’re gonna get into it.


✨ SYNOPSIS ✨

here’s the signature, exactly as it lives, no cap:

int ufshcd_probe_hba (struct ufs_hba *hba , bool init_dev_params );

πŸŽ€ ARGUMENTS πŸŽ€

  • hba β€” per-adapter instance. that’s the per-adapter instance, the main character of this call 🫢
  • init_dev_params β€” whether or not to call ufshcd_device_params_init. it’s literally a yes/no on calling ufshcd_device_params_init.

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so this function executes link-startup and verifies device initialization. that’s the whole plot: link-startup plus a verify device initialization vibe check. slay. ✨


🌸 RETURN 🌸

0 upon success; < 0 upon failure. so success is the big 0, and anything less than zero is giving failure πŸ˜­πŸ’€.


πŸ”₯ SEE ALSO πŸ”₯

the kernel file is ./drivers/ufs/core/ufshcd.c, and here are all the linked manual pages β€” every single one, fr fr:

xoxo, from the Kernel API Manual page for ufshcd_probe_hba(9), source spot ./drivers/ufs/core, dated October 2026 πŸŽ€ bye bestie!!

πŸ“¦ where this page comes from