ufshcd_get_hba_mac(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

okay so bestie, we're looking at ufshcd_get_hba_mac from the Kernel API Manual, and it is literally about the Maximum number of commands supported by the host controller. πŸ‘‘


✨ SYNOPSIS ✨

int ufshcd_get_hba_mac (struct ufs_hba *hba );

🫢 ARGUMENTS 🫢

  • hba β€” per adapter instance. that's the one, no cap πŸ’…

🌸 RETURN 🌸

queue depth on success; negative upon error. so like, success gives you the queue depth, and error gives you a negative value 😭 fr fr.


πŸ’– DESCRIPTION πŸ’–

MAC = Maximum number of Active Commands supported by the Host Controller. periodt. that's the whole vibe β€” MAC stands for Maximum number of Active Commands supported by the Host Controller πŸ‘‘βœ¨


πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./drivers/ufs/core/ufs-mcq.c β€” and these iconic little functions right here:


okay bye bestie πŸ’– source/version: ./drivers/ufs/core Β· date: October 2026 β€” slay ✨🫢

πŸ“¦ where this page comes from