ufshcd_configure_precoding(9)
β¨ ufshcd_configure_precoding(9) β¨
okay bestie, welcome to the Kernel API Manual entry for ufshcd_configure_precoding β yes that's a whole mouthful, yes it's iconic, and yes we're gonna get through it together π
π NAME π
ufshcd_configure_precoding β configure Pre-Coding for all active lanes π¦
πΈ SYNOPSIS πΈ
int ufshcd_configure_precoding (struct ufs_hba *hba , struct
ufshcd_tx_eq_params *params );
π ARGUMENTS π
hbaβ the per adapter instance, aka your main character π«Άparamsβ the TX EQ parameters data structure, where all the settings live β¨
π₯ DESCRIPTION π₯
so here's the tea β β when bit [7] in RX_FOM is set, that's the receiver literally saying "hey, I need Pre-Coding enabled" π and you gotta listen to it.
the vibe check on this one: Pre-Coding must be enabled on both the transmitter and the receiver for proper operation. no half-sending it, bestie. both sides or it doesn't slay π
Returns 0 on success, non-zero error code otherwise. periodt. π
π¦ SEE ALSO π¦
Kernel file ./drivers/ufs/core/ufs-txeq.c β go read it, iykyk π
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_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)
π« that's the whole page, bestie π« this one dropped from ./drivers/ufs/core, dated October 2026, and it's filed under ufshcd_configure_precoding(9) β go forth and enable pre-coding on both sides, 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