ata_dev_phys_link
Prev | Chapter 5. libata Core Internals | Next

## Name

ata_dev_phys_link — find physical link for a device

## Synopsis

`struct ata_link * ata_dev_phys_link (` | struct ata_device * dev`)`;

## Arguments

`dev`

  ATA device to look up physical link for

## Description

Look up physical link which `dev` is attached to. Note that this is different from `dev`->link only when `dev` is on slave link. For all other cases, it's the same as `dev`->link.

## LOCKING

Don't care.

## RETURNS

Pointer to the found physical link.

Prev | Up | Next
Chapter 5. libata Core Internals | Home | ata_force_cbl