ufshcd_send_bsg_uic_cmd(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 ufshcd_send_bsg_uic_cmd(9) 🌸

okay so bestie, welcome to the Kernel API Manual entry for ufshcd_send_bsg_uic_cmd(9) β€” this is the group chat where UFS stuff happens, and honestly? it ate. πŸ’…


✨ NAME ✨

ufshcd_send_bsg_uic_cmd β€” the function that sends UIC commands that got requested through the BSG layer, and then goes and retrieves the result for you. like a little errand runner but for kernel commands 🫢


πŸŽ€ SYNOPSIS πŸŽ€

int ufshcd_send_bsg_uic_cmd (struct ufs_hba *hba , struct uic_command
*uic_cmd );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • hba β€” the per adapter instance. your main character struct, one per adapter, no cap πŸ’–
  • uic_cmd β€” the UIC command itself. the actual vibe being sent ✨

πŸ’€ RETURN πŸ’€

Returns 0 only if success. like literally only then. anything else? not success, bestie. πŸ™ˆ


πŸ‘‘ SEE ALSO πŸ‘‘

first up, the kernel file where all of this lives: ./drivers/ufs/core/ufshcd.c β€” and here's the whole entire friend group, in order, no one left out:

like, that's the whole roster. tag yourself, i'm ufshcd_dme_rmw(9) 🌈


and that's the page!! mwah πŸ’–

from ./drivers/ufs/core, dated October 2026, in the ufshcd_send_bsg_uic_cmd(9) era β€” catch you in the next manpage bestie πŸŽ€βœ¨

πŸ“¦ where this page comes from