suse man page for sata_scr_read

Query: sata_scr_read

OS: suse

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

SATA_SCR_READ(9)						  libata Library						  SATA_SCR_READ(9)

NAME
sata_scr_read - read SCR register of the specified port
SYNOPSIS
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
Kernel Hackers Manual 2.6. July 2010 SATA_SCR_READ(9)
Related Man Pages
di_link_next_by_lnode(3devinfo) - opensolaris
di_link_next_by_node(3devinfo) - opensolaris
list_link(1m) - hpux
set_link(1m) - hpux
di_link_next_by_lnode(3devinfo) - sunos
Similar Topics in the Unix Linux Community
Is UNIX an open source OS ?
Change directory error
Cut command on RHEL 6.8 compatibility issues
A (ksh) Library For and From UNIX.com
32 bit process addressing more than 4GB