---
name: "ata_xfer_mask2mode"
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_xfer_mask2mode"
---

# ata\_xfer\_mask2mode(9)

Find matching XFER\_\* for the given xfer\_mask

## NAME

ata\_xfer\_mask2mode - Find matching XFER\_\* for the given xfer\_mask

## SYNOPSIS

**u8 ata\_xfer\_mask2mode(unsigned long** *xfer\_mask***);**

## ARGUMENTS

*xfer\_mask*

xfer\_mask of interest

## DESCRIPTION

Return matching XFER\_\* value for *xfer\_mask*. Only the highest bit of *xfer\_mask* is considered.

LOCKING: None.

## RETURN

Matching XFER\_\* value, 0xff if no match found.

## AUTHOR

**Jeff Garzik**

Author.

## COPYRIGHT
