Query: sata_scr_read
OS: centos
Section: 9
Links: centos man pages all man pages
Forums: unix linux community forum categories
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SATA_SCR_READ(9) libata Library SATA_SCR_READ(9)NAMEsata_scr_read - read SCR register of the specified portSYNOPSISint sata_scr_read(struct ata_link * link, int reg, u32 * val);ARGUMENTSlink ATA link to read SCR for reg SCR to read val Place to store read valueDESCRIPTIONRead SCR register reg of link into *val. This function is guaranteed to succeed if link is ap->link, the cable type of the port is SATA and the port implements ->scr_read.LOCKINGNone if link is ap->link. Kernel thread context otherwise.RETURNS0 on success, negative errno on failure.AUTHORJeff Garzik Author.COPYRIGHTKernel Hackers Manual 3.10 June 2014 SATA_SCR_READ(9)