ata_down_xfermask_limit(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ata_down_xfermask_limit(9) β€” Kernel API Manual, section 9

okay bestie, welcome to the group chat πŸ’– this is a page from the Kernel API Manual, section 9, and it's all about nudging a device's transfer masks downward. no cap.


✨ NAME ✨

ata_down_xfermask_limit β€” adjust dev xfer masks downward πŸ¦‹


🌸 SYNOPSIS 🌸

int ata_down_xfermask_limit (struct ata_device *dev , unsigned int sel );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” the device whose xfer masks you're adjusting, bestie πŸ’…
  • sel β€” the ATA_DNXFER_* selector, pick your vibe

πŸ‘‘ DESCRIPTION πŸ‘‘

So here's the tea: this function adjusts the xfer masks of dev downward. That's the whole assignment. 🫢

okay but listen β€” this function does not apply the change. it just sets the limit. 😭 you literally have to invoke ata_set_mode afterwards to actually apply it. don't skip that step, i'm begging.

LOCKING: inherited from caller. not us, not our problem, it's yours πŸ’€


⭐ RETURN ⭐

  • 0 on success, slay πŸŽ‰
  • negative errno on failure, tragic πŸ™ˆ

🌈 SEE ALSO 🌈

Kernel file ./drivers/ata/libata-core.c β€” plus literally the entire extended universe of ATA functions, iykyk. here's the full rundown, no skips 🧚:


okay that's the whole page, you ate that πŸ“ mwah πŸ’œ

sign-off time: this lil masterpiece lives in the source tree at ./drivers/ata, dated October 2026, shipped under the Kernel API Manual banner as ata_down_xfermask_limit(9) β€” iconic, no notes βœ¨πŸ‘‘

πŸ“¦ where this page comes from