1ATA_DO_SIMPLE_CMD(9)         libata Core Internals        ATA_DO_SIMPLE_CMD(9)
2
3
4

NAME

6       ata_do_simple_cmd - execute simple internal command
7

SYNOPSIS

9       unsigned int ata_do_simple_cmd(struct ata_device * dev, u8 cmd);
10

ARGUMENTS

12       dev
13           Device to which the command is sent
14
15       cmd
16           Opcode to execute
17

DESCRIPTION

19       Execute a ´simple´ command, that only consists of the opcode ´cmd´
20       itself, without filling any other registers
21

LOCKING

23       Kernel thread context (may sleep).
24

RETURNS

26       Zero on success, AC_ERR_* mask on failure
27

AUTHOR

29       Jeff Garzik
30           Author.
31
33Kernel Hackers Manual 2.6.         June 2019              ATA_DO_SIMPLE_CMD(9)
Impressum