An ATA command type.
More...
An ATA command type.
Definition at line 133 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 139 of file ata.c.
◆ cmd_lba48
| uint8_t ata_command_type::cmd_lba48 |
Command for LBA48-capable devices.
Definition at line 141 of file ata.c.
◆ data_in
Initialise data-in buffer.
- Parameters
-
| atacmd | ATA command |
| xferbuf | Data transfer buffer |
| buffer | Available buffer |
| len | Available buffer length |
Definition at line 150 of file ata.c.
◆ data_out
Initialise data-out buffer.
- Parameters
-
| atacmd | ATA command |
| xferbuf | Data transfer buffer |
| buffer | Available buffer |
| len | Available buffer length |
Definition at line 161 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 170 of file ata.c.
Referenced by atacmd_done().
The documentation for this struct was generated from the following file: