Query: ata_do_simple_cmd
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
ATA_DO_SIMPLE_CMD(9) libata Core Internals ATA_DO_SIMPLE_CMD(9)NAMEata_do_simple_cmd - execute simple internal commandSYNOPSISunsigned int ata_do_simple_cmd(struct ata_device * dev, u8 cmd);ARGUMENTSdev Device to which the command is sent cmd Opcode to executeDESCRIPTIONExecute a 'simple' command, that only consists of the opcode 'cmd' itself, without filling any other registersLOCKINGKernel thread context (may sleep).RETURNSZero on success, AC_ERR_* mask on failureAUTHORJeff Garzik Author.COPYRIGHTKernel Hackers Manual 3.10 June 2014 ATA_DO_SIMPLE_CMD(9)