ata_acpi_gtm_xfermask(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ata_acpi_gtm_xfermask β€” Kernel API Manual ✨

okay so bestie, welcome to ata_acpi_gtm_xfermask(9) πŸ’– this is a lil kernel API page and honestly? it's giving "small but mighty." we're doing one (1) job here and we're doing it slayfully. let's get into it πŸŽ€


🌸 NAME 🌸

ata_acpi_gtm_xfermask β€” figure out the xfermode from a GTM parameter, periodt ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

unsigned int ata_acpi_gtm_xfermask (struct ata_device *dev , const
       struct ata_acpi_gtm *gtm );

like, look at that signature. so clean. so iconic. πŸ‘‘


πŸ’œ ARGUMENTS πŸ’œ

  • dev β€” the target device πŸ’» this is the one we're doing all this for, main character energy fr fr
  • gtm β€” the GTM parameter to use 🧚 that's the input we're working from, no cap

🌈 DESCRIPTION 🌈

okay so the whole vibe: we determine the xfermask for dev from gtm. that's it. that's the function. 🫢

LOCKING: None. 😌 none!! zero!! not a single lock to be found!! lowkey the most relaxed function in the whole ATA subsystem πŸ’€


⭐ RETURN ⭐

returns the determined xfermask, aka the whole point of the operation πŸ’–


πŸ‘‘ SEE ALSO πŸ‘‘

bestie the cross-references are extensive and honestly kind of a flex. we got:

like... the whole friend group showed up for this one πŸ˜­πŸ’•


ngl if you need the xfermask and you've already got a GTM parameter sitting there, this is literally the function for you. no locking required, we stay unbothered πŸ’…

and that's the page!! πŸ“ sign-off time: this one lives over in ./drivers/ata, and the version vibes are dated October 2026 🌸 catch you in the next (9) page, bestie, mwah πŸ«Άβœ¨πŸ’–

πŸ“¦ where this page comes from