ata_xfer_mode2shift(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so bestie, meet ata_xfer_mode2shift(9) β€” yes, that’s the Kernel API Manual page we’re doing today β€” and its whole thing is finding the matching xfer_shift for an XFER_*. iconic, honestly. 🫢


πŸŽ€ SYNOPSIS πŸŽ€

int ata_xfer_mode2shift (u8 xfer_mode );

🌸 ARGUMENTS 🌸

  • xfer_mode β€” the XFER_* of interest. that’s it, that’s the arg. πŸ’…

πŸ¦‹ DESCRIPTION πŸ¦‹

so like, it returns the matching xfer_shift for xfer_mode. that’s the vibe. no extra quests, no side plots. ✨

LOCKING: None. literally no locking, not even a tiny bit. πŸ”“

πŸ‘‘ RETURN πŸ‘‘

Matching xfer_shift β€” or -1 if no match found. so if it can’t find your girl, you get -1, periodt. πŸ’€


🌈 SEE ALSO 🌈

Kernel file: ./drivers/ata/libata-core.c β€” the source file to peek at. πŸ‘€

the whole ATA friend group:


and that’s the page, bestie 🫢 this beauty comes from ./drivers/ata, dated October 2026, and it’s filed under ata_xfer_mode2shift(9). slay. πŸ’–

πŸ“¦ where this page comes from