'\" t .\" Title: ata_dev_phys_link .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: June 2017 .\" Manual: libata Core Internals .\" Source: Kernel Hackers Manual 4.11.3 .\" Language: English .\" .TH "ATA_DEV_PHYS_LINK" "9" "June 2017" "Kernel Hackers Manual 4\&.11\&" "libata Core Internals" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" ata_dev_phys_link \- find physical link for a device .SH "SYNOPSIS" .HP \w'struct\ ata_link\ *\ ata_dev_phys_link('u .BI "struct ata_link * ata_dev_phys_link(struct\ ata_device\ *\ " "dev" ");" .SH "ARGUMENTS" .PP \fIstruct ata_device * dev\fR .RS 4 ATA device to look up physical link for .RE .SH "DESCRIPTION" .PP Look up physical link which \fIdev\fR is attached to\&. Note that this is different from \fIdev\fR\->link only when \fIdev\fR is on slave link\&. For all other cases, it\*(Aqs the same as \fIdev\fR\->link\&. .PP LOCKING: Don\*(Aqt care\&. .SH "RETURN" .PP Pointer to the found physical link\&. .SH "AUTHOR" .PP \fBJeff Garzik\fR .RS 4 Author. .RE .SH "COPYRIGHT" .br