---
name: "ata_host_set_suspend"
section: "9"
platform: "linux"
package: "linux-manual-2.6.18"
version: "2.6.18.dfsg.1-26etch2"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/ata_host_set_suspend"
---

# ata\_host\_set\_suspend(9)

suspend host\_set

## NAME

ata\_host\_set\_suspend - suspend host\_set

## SYNOPSIS

**int ata\_host\_set\_suspend(struct ata\_host\_set \*** *host\_set***, pm\_message\_t** *mesg***);**

## ARGUMENTS

*host\_set*

host\_set to suspend

*mesg*

PM message

## DESCRIPTION

Suspend *host\_set*. 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
