---
name: "ata_get_xlat_func"
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_get_xlat_func"
---

# ata\_get\_xlat\_func(9)

check if SCSI to ATA translation is possible

## NAME

ata\_get\_xlat\_func - check if SCSI to ATA translation is possible

## SYNOPSIS

**ata\_xlat\_func\_t ata\_get\_xlat\_func(struct ata\_device \*** *dev***, u8** *cmd***);**

## ARGUMENTS

*dev*

ATA device

*cmd*

SCSI command opcode to consider

## DESCRIPTION

Look up the SCSI command given, and determine whether the SCSI command is to be translated or simulated.

## RETURN

Pointer to translation function if possible, **NULL** if not.

## AUTHOR

**Jeff Garzik**

Author.

## COPYRIGHT
