ata_link_offline
Prev | Chapter 4. libata Library | Next

## Name

ata_link_offline — test whether the given link is offline

## Synopsis

`bool ata_link_offline (` | struct ata_link * link`)`;

## Arguments

`link`

  ATA link to test

## Description

Test whether `link` is offline. This is identical to `ata_phys_link_offline` when there's no slave link. When there's a slave link, this function should only be called on the master link and will return true if both M/S links are offline.

## LOCKING

None.

## RETURNS

True if the port offline status is available and offline.

Prev | Up | Next
ata_link_online | Home | ata_host_suspend