atapi_cmd_type
Prev | Chapter 4. libata Library | Next

## Name

atapi_cmd_type — Determine ATAPI command type from SCSI opcode

## Synopsis

`int atapi_cmd_type (` | u8 opcode`)`;

## Arguments

`opcode`

  SCSI opcode

## Description

Determine ATAPI command type from `opcode`.

## LOCKING

None.

## RETURNS

ATAPI_{READ|WRITE|READ_CD|PASS_THRU|MISC}

Prev | Up | Next
ata_dev_next | Home | ata_tf_to_fis