ufshcd_tx_eqtr_prepare(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to the Kernel API Manual page for ufshcd_tx_eqtr_prepare(9) πŸ’… this one is all about getting the UFS link ready for TX EQTR, and yes, we're keeping every detail, no cap.

πŸ’– NAME πŸ’–

ufshcd_tx_eqtr_prepare β€” Prepare UFS link for TX EQTR procedure ✨

πŸŽ€ SYNOPSIS πŸŽ€

int ufshcd_tx_eqtr_prepare (struct ufs_hba *hba , struct
       ufs_pa_layer_attr *pwr_mode );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • hba β€” per adapter instance, aka the HBA bestie we're working with 🫢
  • pwr_mode β€” target power mode containing gear and rate 🌸

πŸ’– DESCRIPTION πŸ’–

okay so this function prepares the UFS link for TX Equalization Training (EQTR) by establishing the proper initial conditions required by the EQTR procedure. it's giving setup era, fr fr ✨

it ensures that EQTR starts from the most reliable Power Mode (HS-G1) with all connected lanes activated, and it sets host TX HS Adapt Type to INITIAL. iconic behavior, honestly πŸ‘‘

returns 0 on successful preparation, negative error code on failure 😭

🌈 SEE ALSO 🌈

kernel file: ./drivers/ufs/core/ufs-txeq.c πŸ¦‹


mwah πŸ’‹ this cutie came from ./drivers/ufs/core, October 2026 β€” periodt. πŸŒˆπŸ’–

πŸ“¦ where this page comes from