An ATA command type.
More...
An ATA command type.
Definition at line 132 of file ata.c.
◆ name
| const char* ata_command_type::name |
◆ priv_len
| size_t ata_command_type::priv_len |
◆ cmd_lba
Command for non-LBA48-capable devices.
Definition at line 138 of file ata.c.
◆ cmd_lba48
| uint8_t ata_command_type::cmd_lba48 |
Command for LBA48-capable devices.
Definition at line 140 of file ata.c.
◆ data_in
Calculate data-in buffer.
- Parameters
-
| atacmd | ATA command |
| buffer | Available buffer |
| len | Available buffer length |
- Return values
-
| data_in | Data-in buffer |
| data_in_len | Data-in buffer length |
Definition at line 150 of file ata.c.
◆ data_out
Calculate data-out buffer.
- Parameters
-
| atacmd | ATA command |
| buffer | Available buffer |
| len | Available buffer length |
- Return values
-
| data_out | Data-out buffer |
| data_out_len | Data-out buffer length |
Definition at line 163 of file ata.c.
◆ done
| void( * ata_command_type::done) (struct ata_command *atacmd, int rc) |
Handle ATA command completion.
- Parameters
-
| atacmd | ATA command |
| rc | Reason for completion |
Definition at line 172 of file ata.c.
Referenced by atacmd_done().
The documentation for this struct was generated from the following file: