ata_acpi_gtm_xfermask(9)
π 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 frgtmβ 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:
- Kernel file
./drivers/ata/libata-acpi.cπ ata_dev_acpi_handle(9)ata_acpi_handle_hotplug(9)ata_acpi_dev_manage_restart(9)ata_acpi_port_power_on(9)ata_acpi_dissociate(9)ata_acpi_gtm(9)ata_acpi_stm(9)ata_dev_get_GTF(9)ata_acpi_cbl_pata_type(9)ata_acpi_run_tf(9)ata_acpi_exec_tfs(9)ata_acpi_push_id(9)ata_acpi_on_resume(9)ata_acpi_set_state(9)ata_acpi_on_devcfg(9)ata_acpi_on_disable(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms