smartmontools SVN Rev 5645
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 465 of file dev_interface.h.
anonymous enum |
Enumerator | |
---|---|
no_data | |
data_in | |
data_out |
Definition at line 469 of file dev_interface.h.
ata_cmd_in::ata_cmd_in | ( | ) |
Definition at line 124 of file dev_interface.cpp.
|
inline |
Prepare for 28-bit DATA IN command.
Definition at line 474 of file dev_interface.h.
|
inline |
Prepare for 48-bit DATA IN command.
Definition at line 492 of file dev_interface.h.
|
inline |
Prepare for 28-bit DATA OUT command.
Definition at line 483 of file dev_interface.h.
void* ata_cmd_in::buffer |
Pointer to data buffer.
Definition at line 470 of file dev_interface.h.
enum { ... } ata_cmd_in::direction |
I/O direction.
ata_in_regs_48bit ata_cmd_in::in_regs |
Input registers.
Definition at line 467 of file dev_interface.h.
ata_out_regs_flags ata_cmd_in::out_needed |
True if output register value needed.
Definition at line 468 of file dev_interface.h.
unsigned ata_cmd_in::size |
Size of buffer.
Definition at line 471 of file dev_interface.h.