---
name: "ata_hsm_move"
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_hsm_move"
---

# ata\_hsm\_move(9)

move the HSM to the next state.

## NAME

ata\_hsm\_move - move the HSM to the next state.

## SYNOPSIS

**int ata\_hsm\_move(struct ata\_port \*** *ap***, struct ata\_queued\_cmd \*** *qc***, u8** *status***, int** *in\_wq***);**

## ARGUMENTS

*ap*

the target ata\_port

*qc*

qc on going

*status*

current device status

*in\_wq*

1 if called from workqueue, 0 otherwise

## RETURNS

1 when poll next status needed, 0 otherwise.

## AUTHOR

**Jeff Garzik**

-

  Author.

## COPYRIGHT
