other versions
- jessie 3.16.56-1+deb8u1
SATA_LINK_SCR_LPM(9) | libata Library | SATA_LINK_SCR_LPM(9) |
NAME¶
sata_link_scr_lpm - manipulate SControl IPM and SPM fieldsSYNOPSIS¶
int
sata_link_scr_lpm(struct ata_link * link,
enum ata_lpm_policy policy,
bool spm_wakeup);
ARGUMENTS¶
linkATA link to manipulate SControl for
policy
LPM policy to configure
spm_wakeup
initiate LPM transition to active state
DESCRIPTION¶
Manipulate the IPM field of the SControl register of link according to policy. If policy is ATA_LPM_MAX_POWER and spm_wakeup is true, the SPM field is manipulated to wake up the link. This function also clears PHYRDY_CHG before returning.LOCKING¶
EH context.RETURNS¶
0 on succes, -errno otherwise.AUTHOR¶
Jeff GarzikAuthor.
COPYRIGHT¶
May 2018 | Kernel Hackers Manual 3.16 |