Rechercher une page de manuel
sata_scr_read
Langue: en
Version: June 2009 (debian - 07/07/09)
Section: 9 (Appels noyau Linux)
NAME
sata_scr_read - read SCR register of the specified portSYNOPSIS
- int sata_scr_read(struct ata_link * link, int reg, u32 * val);
ARGUMENTS
link
- ATA link to read SCR for
reg
- SCR to read
val
- Place to store read value
DESCRIPTION
Read 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.
LOCKING
None if link is ap->link. Kernel thread context otherwise.
RETURNS
0 on success, negative errno on failure.
AUTHOR
Jeff Garzik
- Author.
COPYRIGHT
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre