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

# ata\_scsi\_mode\_select\_xlat(9)

Simulate MODE SELECT 6, 10 commands

## NAME

ata\_scsi\_mode\_select\_xlat - Simulate MODE SELECT 6, 10 commands

## SYNOPSIS

**unsigned int ata\_scsi\_mode\_select\_xlat(struct ata\_queued\_cmd \*** *qc***);**

## ARGUMENTS

*qc*

Storage for translated ATA taskfile

## DESCRIPTION

Converts a MODE SELECT command to an ATA SET FEATURES taskfile. Assume this is invoked for direct access devices (e.g. disks) only. There should be no block descriptor for other device types.

LOCKING: spin\_lock\_irqsave(host lock)

## AUTHOR

**Jeff Garzik**

Author.

## COPYRIGHT
