---
name: "ata_dev_set_xfermode"
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_set_xfermode"
---

# ata\_dev\_set\_xfermode(9)

Issue SET FEATURES - XFER MODE command

## NAME

ata\_dev\_set\_xfermode - Issue SET FEATURES - XFER MODE command

## SYNOPSIS

**unsigned int ata\_dev\_set\_xfermode(struct ata\_device \*** *dev***);**

## ARGUMENTS

*dev*

Device to which command will be sent

## DESCRIPTION

Issue SET FEATURES - XFER MODE command to device *dev* on port *ap*.

LOCKING: PCI/etc. bus probe sem.

## RETURN

0 on success, AC\_ERR\_\* mask otherwise.

## AUTHOR

**Jeff Garzik**

Author.

## COPYRIGHT
