STRUCT UFSHCD_TX_EQ_SETTINGS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’œ struct ufshcd_tx_eq_settings(9) πŸ’œ

okay so this is a page straight out of the Kernel API Manual bestie, and it's all about one lil struct that babysits your TX equalization settings ✨ ngl it's short but it's iconic.


🌸 NAME 🌸

struct ufshcd_tx_eq_settings β€” literally the TX Equalization settings, that's the whole vibe πŸŽ€


✨ SYNOPSIS ✨

struct ufshcd_tx_eq_settings {
    u8 preshoot;
    u8 deemphasis;
    u8 fom_val;
    bool precode_en;
 };

like look at her πŸ’… four members, zero drama, fully slaying.


πŸ¦‹ Members πŸ¦‹

  • preshoot β€” the PreShoot value, yes that's the whole description and honestly she said what she said πŸ’–
  • deemphasis β€” the DeEmphasis value 🫢
  • fom_val β€” the Figure-of-Merit value, and like... where does it come from? it gets read out from RX_FOM and specifically Bit[6:0] πŸ‘‘ so yeah, seven bits of pure merit, no cap.
  • precode_en β€” a bool flag that tells you whether pre-coding needs to be enabled or not 😭 it's giving "yes/no main character energy".

πŸ”₯ SEE ALSO πŸ”₯

the kernel file we're living in is ./include/ufs/ufshcd.h and honestly the whole friend group is here, so let's do a roll call πŸ“‹βœ¨

  • 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_eqtr_data(9)
  • struct ufshcd_tx_eqtr_record(9)
  • struct ufshcd_tx_eq_params(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)

twenty-four whole entries, we love a comprehensive guest list πŸ’€πŸ’–


that's the whole page bestie, short and sweet like a lil iced matcha πŸ“ the source is ./include/ufs and the date is October 2026, so like, future vibes only, and the page itself is struct ufshc..._eq_settings(9) β€” mwah, go read it, slay πŸ’…πŸ§šβ­

πŸ“¦ where this page comes from