ufshcd_confi..._eq_settings(9)
π ufshcd_confi..._eq_settings(9) π
okay so this is a page from the Kernel API Manual bestie, and the function name is lowkey so long that the header had to abbreviate it π β it's giving "we ran out of room on the title line" energy. but we move! let's get into it β¨
πΈ NAME πΈ
ufshcd_config_tx_eq_settings β Configure TX Equalization settings π
that's it, that's the vibe. it configures TX EQ settings. slay.
β¨ SYNOPSIS β¨
int ufshcd_config_tx_eq_settings (struct ufs_hba *hba , struct
ufs_pa_layer_attr *pwr_mode , bool force_tx_eqtr );
look at that signature, it's honestly iconic π₯ three args, one int return, no cap.
π¦ ARGUMENTS π¦
hbaβ per adapter instance. like, the one adapter you're working on, your main character β¨pwr_modeβ target power mode containing gear and rate information. it literally carries the gear + rate info, iykyk πforce_tx_eqtrβ execute the TX EQTR procedure. it's abool, so it's giving "yes do the thing / no don't" π
π DESCRIPTION π
This function finds and sets the TX Equalization settings for the given target power mode. literally that's the whole job and it ate π
Returns 0 on success, error code otherwise. so like, check your return value bestie, fr fr π
π SEE ALSO π
Kernel file ./drivers/ufs/core/ufs-txeq.c β go read it, it's the source of truth π«Ά
and then the whole friend group, in order:
ufshcd_configure_precoding(9)ufshcd_apply_tx_eq_settings(9)ufshcd_evaluate_tx_eqtr_fom(9)ufshcd_get_rx_fom(9)tx_eqtr_iter_try_update(9)tx_eqtr_iter_update(9)ufshcd_tx_eqtr_iter_init(9)adapt_cap_to_t_adapt(9)adapt_cap_to_t_adapt_l0l3(9)adapt_cap_to_t_adapt_l0l1l2l3(9)ufshcd_setup_tx_eqtr_adapt_length(9)ufshcd_compose_tx_eqtr_setting(9)ufshcd_apply_tx_eqtr_settings(9)ufshcd_update_tx_eq_params(9)__ufshcd_tx_eqtr(9)ufshcd_tx_eqtr_prepare(9)ufshcd_tx_eqtr(9)ufshcd_apply_valid_tx_eq_settings(9)ufshcd_retrain_tx_eq(9)ufshcd_extract_tx_eq_settings_attrs(9)ufshcd_update_tx_eq_settings_attrs(9)
that's the whole crew and yes they all have (9) after them, we don't abbreviate in this house π
ok real talk though β no warnings, no bugs, no deprecated nonsense on this one. it's a clean little function. just don't forget to actually check that return code, bestie π
kisses and see-you-laters, this page lives in ./drivers/ufs/core, dated October 2026, and it's still filed under ufshcd_confi..._eq_settings(9) because apparently we're still abbreviating it πβ¨
π¦ 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