ATA_HOST_SUSPEND(9) libata Library ATA_HOST_SUSPEND(9)
NAME ata_host_suspend - suspend host
SYNOPSIS int ata_host_suspend(struct ata_host * host, pm_message_t mesg);
ARGUMENTS host host to suspend
mesg PM message
DESCRIPTION Suspend host. Actual operation is performed by EH. This function requests EH to perform PM operations and waits for EH to finish.
LOCKING Kernel thread context (may sleep).
RETURNS 0 on success, -errno on failure.
AUTHOR Jeff Garzik Author.
COPYRIGHT Kernel Hackers Manual 2.6. November 2013 ATA_HOST_SUSPEND(9)