---
name: "ata_scsi_simulate"
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_scsi_simulate"
---

# ata\_scsi\_simulate(9)

simulate SCSI command on ATA device

## NAME

ata\_scsi\_simulate - simulate SCSI command on ATA device

## SYNOPSIS

**void ata\_scsi\_simulate(struct ata\_device \*** *dev***, struct scsi\_cmnd \*** *cmd***);**

## ARGUMENTS

*dev*

the target device

*cmd*

SCSI command being sent to device.

## DESCRIPTION

Interprets and directly executes a select list of SCSI commands that can be handled internally.

LOCKING: spin\_lock\_irqsave(host lock)

## AUTHOR

**Jeff Garzik**

Author.

## COPYRIGHT
