|
smartmontools SVN Rev 3317
Utility to control and monitor storage systems with "S.M.A.R.T."
|
ATA pass through input parameters. More...
#include <dev_interface.h>

Public Types | |
| enum | { no_data = 0, data_in, data_out } |
Public Member Functions | |
| void | set_data_in (void *buf, unsigned nsectors) |
| Prepare for 28-bit DATA IN command. | |
| void | set_data_out (const void *buf, unsigned nsectors) |
| Prepare for 28-bit DATA OUT command. | |
| void | set_data_in_48bit (void *buf, unsigned nsectors) |
| Prepare for 48-bit DATA IN command. | |
| ata_cmd_in () | |
Public Attributes | |
| ata_in_regs_48bit | in_regs |
| Input registers. | |
| ata_out_regs_flags | out_needed |
| True if output register value needed. | |
| enum ata_cmd_in:: { ... } | direction |
| I/O direction. | |
| void * | buffer |
| Pointer to data buffer. | |
| unsigned | size |
| Size of buffer. | |
ATA pass through input parameters.
Definition at line 442 of file dev_interface.h.
| anonymous enum |
Definition at line 446 of file dev_interface.h.
| ata_cmd_in::ata_cmd_in | ( | ) |
Definition at line 125 of file dev_interface.cpp.
| void ata_cmd_in::set_data_in | ( | void * | buf, |
| unsigned | nsectors | ||
| ) | [inline] |
Prepare for 28-bit DATA IN command.
Definition at line 451 of file dev_interface.h.
| void ata_cmd_in::set_data_in_48bit | ( | void * | buf, |
| unsigned | nsectors | ||
| ) | [inline] |
Prepare for 48-bit DATA IN command.
Definition at line 469 of file dev_interface.h.
| void ata_cmd_in::set_data_out | ( | const void * | buf, |
| unsigned | nsectors | ||
| ) | [inline] |
Prepare for 28-bit DATA OUT command.
Definition at line 460 of file dev_interface.h.
| void* ata_cmd_in::buffer |
Pointer to data buffer.
Definition at line 447 of file dev_interface.h.
| enum { ... } ata_cmd_in::direction |
I/O direction.
Input registers.
Definition at line 444 of file dev_interface.h.
True if output register value needed.
Definition at line 445 of file dev_interface.h.
| unsigned ata_cmd_in::size |
Size of buffer.
Definition at line 448 of file dev_interface.h.
1.7.4