ata_tf_to_fis(9)
β¨ ata_tf_to_fis β¨
okay bestie, so this is a kernel API manual page, and we're about to get into the glow-up of ATA taskfiles β SATA FIS structures. it's giving "drivers/ata/libata-sata.c" main character energy, and honestly? we're obsessed. π
π« SYNOPSIS π«
void ata_tf_to_fis (const struct ata_taskfile *tf , u8 pmp , int is_cmd
, u8 *fis );
like, that's the whole vibe right there β one function, four args, zero drama. periodt. π
π§ ARGUMENTS π§
tfβ the taskfile you wanna convert. it's aconst struct ata_taskfile *, so like, hands off, we're just reading it, no cap. π¦pmpβ port multiplier port. it's au8, so a lil baby number, but it's important, okay? don't sleep on it. β¨is_cmdβ this FIS is for command. int energy. like, is this a command FIS or nah? that's the question. π₯fisβ the buffer into which data will output. it's au8 *, so you're handing over a pointer and the data gets written there. iconic. π
πΈ DESCRIPTION πΈ
so what does this actually do? it converts a standard ATA taskfile to a Serial ATA FIS structure (Register - Host to Device). literally that's it, that's the whole function. slay. π
LOCKING: inherited from caller. meaning: not our problem, bestie β whoever called us handles the locking. we just vibe. π«Ά
fr fr, don't come for us about locking, we're just the messenger. π
π SEE ALSO π
okay this list is long, but every single one is here because we don't skip references, ever. no gatekeeping in this house. π₯
- kernel file
./drivers/ata/libata-sata.c sata_scr_valid(9)sata_scr_read(9)sata_scr_write(9)sata_scr_write_flush(9)ata_tf_from_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, go read them, they're all in ./drivers/ata and they're all valid. iykyk. π
and that's the tea, bestie. this page is from ./drivers/ata, dated October 2026, and it's literally called ata_tf_to_fis(9). now go convert some taskfiles and 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