---
name: "ata_dev_phys_link"
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_dev_phys_link"
---

# ata\_dev\_phys\_link(9)

find physical link for a device

## 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.

## RETURN

Pointer to the found physical link.

## AUTHOR

**Jeff Garzik**

Author.

## COPYRIGHT
