sata_down_spd_limit(9)
π NAME π
hiii bestie π welcome to sata_down_spd_limit(9) β yes, that's the page, and the Kernel API Manual is the manual it lives in. This whole function is here to adjust SATA spd limit downward. Very demure, very mindful, very speed-cap. β¨
β¨ SYNOPSIS β¨
int sata_down_spd_limit (struct ata_link *link , u32 spd_limit );
π ARGUMENTS π
linkβ the link to adjust the SATA spd limit for. Like, this is the one getting the speed-limit glow-down. π¦spd_limitβ the additional limit. Extra cap energy, no cap. π§’
π¦ DESCRIPTION π¦
Okay so this function adjusts the SATA spd limit of link downward. Important note, bestie: this function only adjusts the limit. The change must be applied using sata_set_spd. Do not skip that part, or the limit is just sitting there looking cute and doing absolutely nothing. π
If spd_limit is non-zero, the speed is limited to equal to or lower than spd_limit if such speed is supported. If spd_limit is slower than any supported speed, only the lowest supported speed is allowed. That's the rule. Periodt. πΈ
LOCKING: Inherited from caller. Like, whoever called this function brings the locking vibe β it is not being invented here. π
π RETURN π
0on success β¨- negative
errnoon failure π
π SEE ALSO π
Kernel file ./drivers/ata/libata-sata.c and the whole friend group:
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_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)
okay that's the page π
cute little sign-off: this one's from ./drivers/ata, dated October 2026, and the footer name is literally sata_down_spd_limit(9) β mwah, slay, bye π«Ά
π¦ 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