ata_ncq_prio_enable(9)
π ata_ncq_prio_enable β the Kernel API Manual, bestie edition π
Okay so this one lives in the kernel API manual (yeah, the (9) section, we're in deep kernel territory, iykyk) and it's literally called ata_ncq_prio_enable. Obsessed already.
β¨ NAME β¨
ata_ncq_prio_enable β Enable/disable NCQ Priority π¦
πΈ SYNOPSIS πΈ
int ata_ncq_prio_enable (struct ata_port *ap , struct scsi_device *sdev
, bool enable );
π ARGUMENTS π
apβ the ATA port of the target device, like, the port that the device you're poking at actually lives on π«Άsdevβ the SCSI deviceenableβtrue= turn NCQ Priority on,false= turn NCQ Priority off. Literally a vibe switch, no cap π
π DESCRIPTION π
It's a helper that enables/disables the NCQ Priority feature. That's the whole thing β a cute little toggle helper doing its one job and doing it well β¨
π CONTEXT π
Any context. It takes and releases ap->lock. So like, it handles its own locking, you don't gotta worry about that part, bestie π₯
β RETURN β
0β OK. Status is stored intoenabledπ-ENODEVβ Failed to find the ATA device π-EINVALβ NCQ Priority is not supported or CDL is enabled π
π¦ SEE ALSO π¦
Kernel file ./drivers/ata/libata-sata.c β go read it, it's giving main character energy π
sata_scr_valid(9)sata_scr_read(9)sata_scr_write(9)sata_scr_write_flush(9)ata_tf_to_fis(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_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)
Okay that's the whole page and honestly? Kinda iconic. This one shipped out of ./drivers/ata in October 2026 β so yeah, she's from the future, we stan a forward-thinking manpage π§π
π¦ 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