---
name: "ATA_SCSI_RBUF_SET"
section: "9"
platform: "linux"
package: "linux-manual-2.6.24"
version: "2.6.24-6~etchnhalf.9etch3"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/ATA_SCSI_RBUF_SET"
---

# ATA\_SCSI\_RBUF\_SET(9)

helper to set values in SCSI response buffer

## NAME

ATA\_SCSI\_RBUF\_SET - helper to set values in SCSI response buffer

## SYNOPSIS

**ATA\_SCSI\_RBUF\_SET(***idx***,** *val***);**

## ARGUMENTS

*idx*

byte index into SCSI response buffer

*val*

value to set

## DESCRIPTION

To be used by SCSI command simulator functions. This macros expects two local variables, u8 \*rbuf and unsigned int buflen, are in scope.

## LOCKING

None.

## AUTHOR

**Jeff Garzik**

-

  Author.

## COPYRIGHT
