ata_scsi_device_susp(9)
NAME
- ata_scsi_device_suspend - suspend ATA device associated
- with sdev
SYNOPSIS
int ata_scsi_device_suspend(struct scsi_device * sdev, pm_message_t state);
ARGUMENTS
- sdev
- the SCSI device to suspend
- state
- target power management state
DESCRIPTION
- Request suspend EH action on the ATA device associated
- with sdev and wait for the operation to complete.
LOCKING
Kernel thread context (may sleep).
RETURNS
0 on success, -errno otherwise.
AUTHOR
- Jeff Garzik
- Author.