ufshcd_parse_gear_limits(9)
π NAME π
Okay bestie, this is the Kernel API Manual page for ufshcd_parse_gear_limits π
β it parses DT-based gear and rate limits for UFS. Periodt.
β¨ SYNOPSIS β¨
void ufshcd_parse_gear_limits (struct ufs_hba *hba , struct
ufs_host_params *host_params );
π«Ά ARGUMENTS π«Ά
hbaβ pointer to the UFS host bus adapter instance, aka the HBA in question π¦host_paramsβ pointer to the UFS host parameters structure that's gonna be updated π
π DESCRIPTION π
This function reads optional device tree properties to apply platform-specific constraints. Lowkey iconic of it.
Here are the properties it's looking at:
"limit-hs-gear"β specifies the max HS gear β¨"limit-gear-rate"β specifies the max High-Speed rate π₯
π SEE ALSO π
Kernel file: ./drivers/ufs/host/ufshcd-pltfrm.c
Also go say hi to these besties:
ufshcd_parse_regulator_info(9)ufshcd_parse_tx_eq_settings_for_gear(9)ufshcd_parse_clock_min_max_freq(9)ufshcd_negotiate_pwr_params(9)ufshcd_pltfrm_init(9)ufshcd_pltfrm_remove(9)
okay that's the whole page, bestie π source/version: ./drivers/ufs/host; date: October 2026; page: ufshcd_parse_gear_limits(9). mwah π
π¦ 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