Home
last modified time | relevance | path

Searched refs:lba_sect (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/tests/qtest/libqos/
H A Dahci.c1062 void ahci_command_set_offset(AHCICommand *cmd, uint64_t lba_sect) in ahci_command_set_offset() argument
1067 ahci_atapi_command_set_offset(cmd, lba_sect); in ahci_command_set_offset()
1069 } else if (!cmd->props->data && !lba_sect) { in ahci_command_set_offset()
1073 g_assert_cmphex(lba_sect, <=, 0xFFFFFFF); in ahci_command_set_offset()
1075 g_assert_cmphex(lba_sect, <=, 0xFFFFFFFFFFFF); in ahci_command_set_offset()
1082 fis->lba_lo[0] = (lba_sect & 0xFF); in ahci_command_set_offset()
1083 fis->lba_lo[1] = (lba_sect >> 8) & 0xFF; in ahci_command_set_offset()
1084 fis->lba_lo[2] = (lba_sect >> 16) & 0xFF; in ahci_command_set_offset()
1088 fis->lba_hi[0] = (lba_sect >> 24) & 0xFF; in ahci_command_set_offset()
1089 fis->lba_hi[1] = (lba_sect >> 32) & 0xFF; in ahci_command_set_offset()
[all …]
H A Dahci.h633 void ahci_command_set_offset(AHCICommand *cmd, uint64_t lba_sect);
641 void ahci_command_adjust(AHCICommand *cmd, uint64_t lba_sect, uint64_t gbuffer,