ufshcd_get_hba_mac(9)
π 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:
ufshcd_mcq_config_mac(9)ufshcd_mcq_req_to_hwq(9)ufshcd_mcq_queue_cfg_addr(9)ufshcd_mcq_sq_cleanup(9)ufshcd_mcq_nullify_sqe(9)ufshcd_mcq_sqe_search(9)ufshcd_mcq_abort(9)
okay bye bestie π source/version: ./drivers/ufs/core Β· date: October 2026 β slay β¨π«Ά
π¦ 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