---
name: "ata_mode_string"
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_mode_string"
---

# ata\_mode\_string(9)

convert xfer\_mask to string

## NAME

ata\_mode\_string - convert xfer\_mask to string

## SYNOPSIS

**const char \* ata\_mode\_string(unsigned long** *xfer\_mask***);**

## ARGUMENTS

*xfer\_mask*

mask of bits supported; only highest bit counts.

## DESCRIPTION

Determine string which represents the highest speed (highest bit in *modemask*).

LOCKING: None.

## RETURN

Constant C string representing highest speed listed in *mode\_mask*, or the constant C string “\<n/a\>”.

## AUTHOR

**Jeff Garzik**

Author.

## COPYRIGHT
