---
name: "ata_host_start"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/ata_host_start"
---

# ata\_host\_start(9)

start and freeze ports of an ATA host

## NAME

ata\_host\_start - start and freeze ports of an ATA host

## SYNOPSIS

**int ata\_host\_start(struct ata\_host \*** *host***);**

## ARGUMENTS

*host*

ATA host to start ports for

## DESCRIPTION

Start and then freeze ports of *host*. Started status is recorded in host-\>flags, so this function can be called multiple times. Ports are guaranteed to get started only once. If host-\>ops isn't initialized yet, its set to the first non-dummy port ops.

LOCKING: Inherited from calling layer (may sleep).

## RETURN

0 if all ports are started successfully, -errno otherwise.

## AUTHOR

**Jeff Garzik**

Author.

## COPYRIGHT
