1ATA_DEV_ENABLE_PM(9)         libata Core Internals        ATA_DEV_ENABLE_PM(9)
2
3
4

NAME

6       ata_dev_enable_pm - enable SATA interface power management
7

SYNOPSIS

9       void ata_dev_enable_pm(struct ata_device * dev, enum link_pm policy);
10

ARGUMENTS

12       dev
13           device to enable power management
14
15       policy
16           the link power management policy
17

DESCRIPTION

19       Enable SATA Interface power management. This will enable Device
20       Interface Power Management (DIPM) for min_power policy, and then call
21       driver specific callbacks for enabling Host Initiated Power management.
22

LOCKING

24       Caller.
25

RETURNS

27       -EINVAL if IPM is not supported, 0 otherwise.
28

AUTHOR

30       Jeff Garzik
31           Author.
32
34Kernel Hackers Manual 2.6.       November 2011            ATA_DEV_ENABLE_PM(9)
Impressum