ufshcd_update_tx_eq_params(9)
π ufshcd_update_tx_eq_params(9) π
okay so this is a page straight out of the Kernel API Manual, bestie β it's the glow-up guide for ufshcd_update_tx_eq_params, and honestly? she's lowkey the main character of TX Equalization bookkeeping. let's get into it π
β¨ NAME β¨
ufshcd_update_tx_eq_params β Update TX Equalization params πΈ
β¨ SYNOPSIS β¨
void ufshcd_update_tx_eq_params (struct ufshcd_tx_eq_params *params ,
struct ufs_pa_layer_attr *pwr_mode , struct ufshcd_tx_eqtr_data
*eqtr_data );
like, three pointers walk into a function. no return value. void. she just does the thing and leaves π
β¨ ARGUMENTS β¨
paramsβ the TX EQ parameters data structure π«Ά this is where the good stuff livespwr_modeβ the target power mode, and yes she's carrying both the gear and the rate, iconiceqtr_dataβ the TX EQTR data structure, aka the receipts π
β¨ DESCRIPTION β¨
so the whole vibe here: you update the TX Equalization params using the results that came out of the TX EQTR data. that's the assignment, and she ate π₯
also β and this is the part you cannot skip β check the TX EQTR FOM value for every single TX lane inside the TX EQTR data. every one. no cherry-picking.
and if a TX lane got a FOM value of 0? π that lane is not okay. so you restore the TX Equalization settings from the last known valid TX Equalization params β and specifically for that specific TX lane, not the whole squad. per-lane rescue mission, periodt π
ngl, don't sleep on the FOM 0 check. that's the whole safety net π§
β¨ SEE ALSO β¨
kernel file ./drivers/ufs/core/ufs-txeq.c π plus the entire friend group:
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_tx_eqtr(9)ufshcd_tx_eqtr_prepare(9)ufshcd_tx_eqtr(9)ufshcd_config_tx_eq_settings(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)
like, that's a whole group chat right there π
and that's the page bestie!! π¦ this little number lives in ./drivers/ufs/core, dated October 2026, and it's literally titled ufshcd_update_tx_eq_params(9). go forth and equalize β¨ππ
π¦ 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