---
name: "ata_qc_issue_prot"
section: "9"
platform: "linux"
package: "linux-manual-2.6.18"
version: "2.6.18.dfsg.1-26etch2"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/ata_qc_issue_prot"
---

# ata\_qc\_issue\_prot(9)

issue taskfile to device in proto-dependent manner

## NAME

ata\_qc\_issue\_prot - issue taskfile to device in proto-dependent manner

## SYNOPSIS

**unsigned int ata\_qc\_issue\_prot(struct ata\_queued\_cmd \*** *qc***);**

## ARGUMENTS

*qc*

command to issue to device

## DESCRIPTION

Using various libata functions and hooks, this function starts an ATA command. ATA commands are grouped into classes called “protocols”, and issuing each type of protocol is slightly different.

May be used as the **qc\_issue** entry in ata\_port\_operations.

## LOCKING

spin\_lock\_irqsave(host\_set lock)

## RETURNS

Zero on success, AC\_ERR\_\* mask on failure

## AUTHOR

**Jeff Garzik**

-

  Author.

## COPYRIGHT
