1ATA_HOST_START(9) libata Library ATA_HOST_START(9)
2
3
4
6 ata_host_start - start and freeze ports of an ATA host
7
9 int ata_host_start(struct ata_host * host);
10
12 host
13 ATA host to start ports for
14
16 Start and then freeze ports of host. Started status is recorded in
17 host->flags, so this function can be called multiple times. Ports are
18 guaranteed to get started only once. If host->ops isn't initialized
19 yet, its set to the first non-dummy port ops.
20
22 Inherited from calling layer (may sleep).
23
25 0 if all ports are started successfully, -errno otherwise.
26
28 Jeff Garzik
29 Author.
30
32Kernel Hackers Manual 3.10 June 2019 ATA_HOST_START(9)