ata_ncq_prio_supported(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– ata_ncq_prio_supported(9) β€” Kernel API Manual πŸ’–

okay bestie, we're in the Kernel API Manual and this page is all about ata_ncq_prio_supported, no cap ✨


🌸 NAME 🌸

ata_ncq_prio_supported β€” Check if device supports NCQ Priority πŸ’…


✨ SYNOPSIS ✨

int ata_ncq_prio_supported (struct ata_port *ap , struct scsi_device
*sdev , bool *supported );

πŸŽ€ ARGUMENTS πŸŽ€

  • ap β€” ATA port of the target device 🫢
  • sdev β€” SCSI device 🌸
  • supported β€” Address of a boolean to store the result πŸŽ€

πŸ’… DESCRIPTION πŸ’…

It's the helper that checks whether the device supports the NCQ Priority feature. Literally that's the vibe check πŸ”₯


πŸ¦‹ CONTEXT πŸ¦‹

Any context, bestie. It takes and releases ap->lock πŸ”


πŸ”₯ RETURN πŸ”₯

  • 0 β€” OK. Status is stored into supported βœ…
  • -ENODEV β€” Failed to find the ATA device 😭

🌈 SEE ALSO 🌈

Kernel file: ./drivers/ata/libata-sata.c

The whole squad is here: 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_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) πŸ‘‘πŸ’–


mwah πŸ’‹ β€” source/version: ./drivers/ata; date: October 2026; manual: ata_ncq_prio_supported(9). πŸŽ€βœ¨

πŸ“¦ where this page comes from