ata_xfer_mode2mask(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay bestie, welcome to the ata_xfer_mode2mask(9) glow-up from the Kernel API Manual πŸ’– β€” this one is all about finding the matching xfer_mask for an XFER_* value. slay.

🌸 SYNOPSIS 🌸

unsigned int ata_xfer_mode2mask (u8 xfer_mode );

πŸŽ€ ARGUMENTS πŸŽ€

  • xfer_mode β€” the XFER_* value you’re curious about, bestie.

πŸ’… DESCRIPTION πŸ’…

So basically, you hand it an xfer_mode, and it returns the matching xfer_mask for that mode. iconic behavior.

LOCKING: None. no locking drama here, periodt.

πŸ¦‹ RETURN πŸ¦‹

It gives you the matching xfer_mask, and if there’s no match found, it returns 0. that’s the whole vibe.

🌈 SEE ALSO 🌈

Kernel file ./drivers/ata/libata-core.c is homebase, and these are the neighbors:


and that’s the tea πŸ“ this lil page comes from the ./drivers/ata source/version and is dated October 2026, so go off, bestie β€” ata_xfer_mode2mask(9) ate and left no crumbs πŸ’…βœ¨

πŸ“¦ where this page comes from