---
name: "atapi_xlat"
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/atapi_xlat"
---

# atapi\_xlat(9)

Initialize PACKET taskfile

## NAME

atapi\_xlat - Initialize PACKET taskfile

## SYNOPSIS

**unsigned int atapi\_xlat(struct ata\_queued\_cmd \*** *qc***);**

## ARGUMENTS

*qc*

command structure to be initialized

## DESCRIPTION

LOCKING: spin\_lock\_irqsave(host lock)

## RETURN

Zero on success, non-zero on failure.

## AUTHOR

**Jeff Garzik**

Author.

## COPYRIGHT
