other versions
- jessie 3.16.56-1+deb8u1
ATA_DO_SIMPLE_CMD(9) | libata Core Internals | ATA_DO_SIMPLE_CMD(9) |
NAME¶
ata_do_simple_cmd - execute simple internal commandSYNOPSIS¶
unsigned int
ata_do_simple_cmd(struct ata_device * dev,
u8 cmd);
ARGUMENTS¶
devDevice to which the command is sent
cmd
Opcode to execute
DESCRIPTION¶
Execute a 'simple' command, that only consists of the opcode 'cmd' itself, without filling any other registersLOCKING¶
Kernel thread context (may sleep).RETURNS¶
Zero on success, AC_ERR_* mask on failureAUTHOR¶
Jeff GarzikAuthor.
COPYRIGHT¶
May 2018 | Kernel Hackers Manual 3.16 |