sata_set_spd(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

okay bestie, welcome to sata_set_spd(9) from the Kernel API Manual β€” this is the page for the function that sets SATA spd according to the spd limit. The literal NAME line is:

sata_set_spd - set SATA spd according to spd limit


✨ SYNOPSIS ✨

int sata_set_spd (struct ata_link *link );

πŸŽ€ ARGUMENTS πŸŽ€

  • link β€” Link to set SATA spd for. that's the whole argument, bestie 🫢

🌸 DESCRIPTION 🌸

It sets SATA spd of link according to sata_spd_limit. That's the core vibe β€” just that, no extra invented behavior, fr fr.

LOCKING: Inherited from caller. πŸ”’


🌈 RETURN 🌈

  • 0 β€” if spd doesn't need to be changed.
  • 1 β€” if spd has been changed.
  • negative errno β€” if SCR registers are inaccessible. 😭

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file: ./drivers/ata/libata-sata.c β€” iconic source location, no cap. ✨


mwah πŸ’– that's the whole page, bestie. source/version tag ./drivers/ata, date October 2026, and it's for sata_set_spd(9) β€” bye! βœ¨πŸŽ€

πŸ“¦ where this page comes from