---
name: "ata_down_xfermask_limit"
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_down_xfermask_limit"
---

# ata\_down\_xfermask\_limit(9)

adjust dev xfer masks downward

## NAME

ata\_down\_xfermask\_limit - adjust dev xfer masks downward

## SYNOPSIS

**int ata\_down\_xfermask\_limit(struct ata\_device \*** *dev***, unsigned int** *sel***);**

## ARGUMENTS

*dev*

Device to adjust xfer masks

*sel*

ATA\_DNXFER\_\* selector

## DESCRIPTION

Adjust xfer masks of *dev* downward. Note that this function does not apply the change. Invoking **ata\_set\_mode** afterwards will apply the limit.

LOCKING: Inherited from caller.

## RETURN

0 on success, negative errno on failure

## AUTHOR

**Jeff Garzik**

Author.

## COPYRIGHT
