STRUCT UFSHCD_TX_EQ_PARAMS(9)
β¨ struct ufshcd_tx_eq_params β Kernel API Manual β¨
okay so bestie, this is struct ufshcd_tx_eq_params and it's literally the TX Equalization parameters structure π
it's giving "let me hold all the vibe info about TX EQ" and honestly? iconic.
π NAME π
struct ufshcd_tx_eq_params β the TX Equalization parameters structure, no cap π¦
πΈ SYNOPSIS πΈ
struct ufshcd_tx_eq_params {
struct ufshcd_tx_eq_settings host[UFS_MAX_LANES];
struct ufshcd_tx_eq_settings device[UFS_MAX_LANES];
struct ufshcd_tx_eqtr_record *eqtr_record;
bool is_valid;
bool is_applied;
bool is_trained;
bool from_dt;
};
π Members π
hostβ the TX EQ settings for the host TX Lanes π«Ά like, the home team's settings, periodt.deviceβ the TX EQ settings for the device TX Lanes β¨ the other side's settings, matching energy.eqtr_recordβ pointer to the TX EQTR record π it's just pointing at the record, that's the whole job.is_validβTrueif the parameter contains valid TX Equalization settings β the vibe check flag, fr fr.is_appliedβTrueif settings have been applied to UniPro of both sides π« both sides!! applied!! we love to see it.is_trainedβTrueif parameters were obtained from the TX EQTR procedure π§ trained up and ready, iykyk.from_dtβTrueif settings are from Device Tree π³ device tree origin story, lowkey cute.
π₯ SEE ALSO π₯
Kernel file ./include/ufs/ufshcd.h, plus all these besties: struct uic_command(9), struct ufshcd_lrb(9), struct ufs_query_req(9), struct ufs_query_res(9), struct ufs_query(9), struct ufs_dev_cmd(9), struct ufs_clk_info(9), struct tx_eqtr_iter(9), struct ufshcd_tx_eq_settings(9), struct ufshcd_tx_eqtr_data(9), struct ufshcd_tx_eqtr_record(9), struct ufs_hba_variant_ops(9), struct ufs_clk_gating(9), struct ufs_clk_scaling(9), struct ufs_event_hist(9), struct ufs_stats(9), enum ufshcd_state(9), enum ufshcd_pmc_policy(9), struct ufshcd_mcq_opr_info_t(9), struct ufs_hba(9), struct ufs_hw_queue(9), ufshcd_rmwl(9), ufshcd_set_variant(9), ufshcd_get_variant(9) π that's a whole friend group and every single one of them made the list.
alright bestie, that's the whole page π it lives in ./include/ufs, dated October 2026, from the Kernel API Manual β mwah, slay, go read some source code ππ
π¦ 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