Query: ata_host_start
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
ATA_HOST_START(9) libata Library ATA_HOST_START(9)NAMEata_host_start - start and freeze ports of an ATA hostSYNOPSISint ata_host_start(struct ata_host * host);ARGUMENTShost ATA host to start ports forDESCRIPTIONStart 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.LOCKINGInherited from calling layer (may sleep).RETURNS0 if all ports are started successfully, -errno otherwise.AUTHORJeff Garzik Author.COPYRIGHTKernel Hackers Manual 3.10 June 2014 ATA_HOST_START(9)