1ATA_DO_SIMPLE_CMD(9) libata Core Internals ATA_DO_SIMPLE_CMD(9)
2
3
4
6 ata_do_simple_cmd - execute simple internal command
7
9 unsigned int ata_do_simple_cmd(struct ata_device * dev, u8 cmd);
10
12 dev
13 Device to which the command is sent
14
15 cmd
16 Opcode to execute
17
19 Execute a ´simple´ command, that only consists of the opcode ´cmd´
20 itself, without filling any other registers
21
23 Kernel thread context (may sleep).
24
26 Zero on success, AC_ERR_* mask on failure
27
29 Jeff Garzik
30 Author.
31
33Kernel Hackers Manual 2.6. June 2019 ATA_DO_SIMPLE_CMD(9)