ata_tf_from_fis(9)
π ata_tf_from_fis β bestie's guide to the Kernel API Manual β¨
okay so picture this: it's a Kernel API Manual page, the vibes are immaculate, and we're about to convert a SATA FIS into an ATA taskfile. no cap, that's literally the whole plot. let's get into it π«Ά
β¨ NAME β¨
ata_tf_from_fis β Convert SATA FIS to ATA taskfile
likeβ¦ the entire personality of this function is in that one line and honestly? it ate. π
πΈ SYNOPSIS πΈ
void ata_tf_from_fis (const u8 *fis , struct ata_taskfile *tf );
that's it. that's the function. void, so it gives you nothing back β the real gift is the taskfile it fills in for you, bestie π
π¦ ARGUMENTS π¦
fisβ Buffer from which data will be input. this is the source, the origin story, the main character we're reading from π₯tfβ Taskfile to output. this is where the magic gets written, the destination, the glow-up container π
π DESCRIPTION π
Converts a serial ATA FIS structure to a standard ATA taskfile. that's it, that's the job β FIS in, taskfile out, no drama, no extra steps, just a clean little glow-up conversion β¨
LOCKING: Inherited from caller.
β οΈ real talk: the locking is inherited from caller. so whatever lock energy you walked in with? that's what you're working with. this function does not sort that out for you β that's a you problem, bestie π plan accordingly, fr fr.
π SEE ALSO π
Kernel file ./drivers/ata/libata-sata.c β and here's the whole friend group, no one left out π«Ά:
sata_scr_valid(9)sata_scr_read(9)sata_scr_write(9)sata_scr_write_flush(9)ata_tf_to_fis(9)sata_link_debounce(9)sata_link_resume(9)sata_link_scr_lpm(9)sata_set_spd_needed(9)sata_set_spd(9)sata_down_spd_limit(9)sata_link_hardreset(9)sata_std_hardreset(9)ata_qc_complete_multiple(9)ata_slave_link_init(9)sata_lpm_ignore_phy_events(9)ata_ncq_prio_supported(9)ata_ncq_prio_enabled(9)ata_ncq_prio_enable(9)ata_change_queue_depth(9)ata_scsi_change_queue_depth(9)ata_sas_sdev_configure(9)ata_sas_queuecmd(9)sata_async_notification(9)ata_eh_read_log_10h(9)ata_eh_get_ncq_success_sense(9)ata_eh_analyze_ncq_error(9)
like, that's a whole group chat right there π§ and yes, ata_tf_to_fis(9) is in there β the reverse bestie, the mirror image, iconic behavior honestly π
and that's the page!! mwah π this little slice of Kernel API Manual lives in ./drivers/ata, and it's dated October 2026 β so put that in your calendar, screenshot it, whatever. ata_tf_from_fis(9) out. slay ππ
π¦ 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