ata_xfer_mask2mode(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ata_xfer_mask2mode(9) πŸ’…

okay so bestie, welcome to Kernel API Manual energy, and the page is ata_xfer_mask2mode(9) β€” yes, we're finding the matching XFER_* for a xfer_mask, and it is lowkey iconic. let's get into it 🫢✨


✨ NAME ✨

ata_xfer_mask2mode β€” Find matching XFER_* for the given xfer_mask πŸ’–

πŸŽ€ SYNOPSIS πŸŽ€

u8 ata_xfer_mask2mode (unsigned int xfer_mask );

🌸 ARGUMENTS 🌸

  • xfer_mask β€” xfer_mask of interest 🫢 that's the mask we're checking, no cap.

πŸ¦‹ DESCRIPTION πŸ¦‹

Return the matching XFER_* value for xfer_mask. Only the highest bit of xfer_mask is considered β€” like, it's not doing a whole tour of every bit, just the top one, periodt ✨

LOCKING: None. 🧚

πŸ”₯ RETURN πŸ”₯

Matching XFER_* value, and 0xff if no match found πŸ’€πŸ”₯

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./drivers/ata/libata-core.c plus this whole squad of functions, fr fr:


made with πŸ’– from source/version ./drivers/ata, dated October 2026, signed ata_xfer_mask2mode(9) πŸŽ€βœ¨ periodt

πŸ“¦ where this page comes from