tx_eqtr_iter_update(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… tx_eqtr_iter_update β€” from the Kernel API Manual, bestie

okay so picture this: you're deep in the kernel, you're poking at UFS TX equalization training (yes, that's a whole thing), and you've got two iterators that need to know about your PreShoot and DeEmphasis values. That's literally this function. It's called tx_eqtr_iter_update(9) and it's the one that updates the host iterator and the device iterator in one go. Iconic behavior, honestly. πŸŽ€


✨ NAME ✨

tx_eqtr_iter_update β€” the function that updates the host and the device TX EQTR iterators 🫢


🌸 SYNOPSIS 🌸

bool tx_eqtr_iter_update (u8 preshoot , u8 deemphasis , struct
tx_eqtr_iter *h_iter , struct tx_eqtr_iter *d_iter );

yeah she takes four arguments and gives you back a bool. no cap, that's the whole signature, copy it exactly if you're writing it down πŸ’–


πŸ¦‹ ARGUMENTS πŸ¦‹

  • preshoot β€” the PreShoot value, passed in as a u8. that's it, that's the vibe ✨
  • deemphasis β€” the DeEmphasis value, also a u8. matching energy πŸŽ€
  • h_iter β€” a pointer to the host TX EQTR iterator data structure. the host's little bookkeeping buddy πŸ’…
  • d_iter β€” a pointer to the device TX EQTR iterator data structure. same deal, but for the device πŸ¦‹

πŸ‘‘ DESCRIPTION πŸ‘‘

So what does it do? It updates the host and device TX Equalization training iterators with the PreShoot and DeEmphasis you handed it. Both of them. The host one and the device one. With the provided PreShoot and DeEmphasis. That's the whole thing, and she does it flawlessly πŸ”₯

like, no hidden side quests, no extra behavior we're making up β€” that's genuinely the description, so don't go reading more into it πŸ™ˆ


⭐ RETURN ⭐

  • true β€” if the host and/or device TX Equalization training iterator has been updated to the provided PreShoot and DeEmphasis πŸ’–
  • false β€” otherwise 😭

note the and/or, bestie β€” it's not demanding both, it's saying either one or both counts as a win 🫢


🌈 SEE ALSO 🌈

okay this list is long and we are respecting every single entry, no skipping, no summarizing, periodt. also the kernel file lives at ./drivers/ufs/core/ufs-txeq.c 🧚

like. look at that roster. main character energy from every single one of them πŸ‘‘

pspsps β€” tx_eqtr_iter_try_update(9) is right there in the list and she's adjacent to this one, so if you were curious, that's your next read. iykyk πŸ’€

that's the whole page, bestie! source page lives in ./drivers/ufs/core, dated October 2026, and it's all about tx_eqtr_iter_update(9) β€” go forth and update those iterators πŸ’œβœ¨πŸŒΈ

πŸ“¦ where this page comes from