ATA_DEV_ENABLE_PM(9) libata Core Internals ATA_DEV_ENABLE_PM(9)

NAME ata_dev_enable_pm - enable SATA interface power management

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

ARGUMENTS dev device to enable power management

policy the link power management policy

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


RETURNS -EINVAL if IPM is not supported, 0 otherwise.

AUTHOR Jeff Garzik Author.

COPYRIGHT Kernel Hackers Manual 2.6. September 2014 ATA_DEV_ENABLE_PM(9)