Lines Matching defs:cmd
37 uint8_t cmd; /* Command Code */ member
407 void ahci_port_check_error(AHCIQState *ahci, AHCICommand *cmd) in ahci_port_check_error()
464 void ahci_port_check_interrupts(AHCIQState *ahci, AHCICommand *cmd) in ahci_port_check_interrupts()
485 void ahci_port_check_nonbusy(AHCIQState *ahci, AHCICommand *cmd) in ahci_port_check_nonbusy()
533 void ahci_port_check_pio_sanity(AHCIQState *ahci, AHCICommand *cmd) in ahci_port_check_pio_sanity()
563 void ahci_port_check_cmd_sanity(AHCIQState *ahci, AHCICommand *cmd) in ahci_port_check_cmd_sanity()
576 uint8_t slot, AHCICommandHeader *cmd) in ahci_get_command_header()
590 uint8_t slot, AHCICommandHeader *cmd) in ahci_set_command_header()
606 AHCICommandHeader cmd; in ahci_destroy_command() local
626 void ahci_write_fis(AHCIQState *ahci, AHCICommand *cmd) in ahci_write_fis()
689 AHCICommand *cmd; in ahci_exec() local
755 AHCICommand *cmd; in ahci_guest_io_halt() local
767 void ahci_guest_io_resume(AHCIQState *ahci, AHCICommand *cmd) in ahci_guest_io_resume()
781 AHCICommand *cmd; in ahci_guest_io() local
837 static void command_header_init(AHCICommand *cmd) in command_header_init()
856 static void command_table_init(AHCICommand *cmd) in command_table_init()
889 void ahci_command_enable_atapi_dma(AHCICommand *cmd) in ahci_command_enable_atapi_dma()
904 AHCICommand *cmd; in ahci_command_create() local
939 AHCICommand *cmd = ahci_command_create(CMD_PACKET); in ahci_atapi_command_create() local
954 AHCICommand *cmd = ahci_atapi_command_create(CMD_ATAPI_TEST_UNIT_READY, 0, false); in ahci_atapi_test_ready() local
966 static int copy_buffer(AHCIQState *ahci, AHCICommand *cmd, in copy_buffer()
996 AHCICommand *cmd = ahci_atapi_command_create(CMD_ATAPI_START_STOP_UNIT, 0, false); in ahci_atapi_eject() local
1008 AHCICommand *cmd = ahci_atapi_command_create(CMD_ATAPI_START_STOP_UNIT, 0, false); in ahci_atapi_load() local
1018 void ahci_command_free(AHCICommand *cmd) in ahci_command_free()
1025 void ahci_command_set_flags(AHCICommand *cmd, uint16_t cmdh_flags) in ahci_command_set_flags()
1030 void ahci_command_clr_flags(AHCICommand *cmd, uint16_t cmdh_flags) in ahci_command_clr_flags()
1035 static void ahci_atapi_command_set_offset(AHCICommand *cmd, uint64_t lba) in ahci_atapi_command_set_offset()
1062 void ahci_command_set_offset(AHCICommand *cmd, uint64_t lba_sect) in ahci_command_set_offset()
1093 void ahci_command_set_buffer(AHCICommand *cmd, uint64_t buffer) in ahci_command_set_buffer()
1098 static void ahci_atapi_set_size(AHCICommand *cmd, uint64_t xbytes) in ahci_atapi_set_size()
1136 void ahci_command_set_sizes(AHCICommand *cmd, uint64_t xbytes, in ahci_command_set_sizes()
1168 void ahci_command_set_size(AHCICommand *cmd, uint64_t xbytes) in ahci_command_set_size()
1173 void ahci_command_set_prd_size(AHCICommand *cmd, unsigned prd_size) in ahci_command_set_prd_size()
1178 void ahci_command_adjust(AHCICommand *cmd, uint64_t offset, uint64_t buffer, in ahci_command_adjust()
1186 void ahci_command_commit(AHCIQState *ahci, AHCICommand *cmd, uint8_t port) in ahci_command_commit()
1246 void ahci_command_issue_async(AHCIQState *ahci, AHCICommand *cmd) in ahci_command_issue_async()
1255 void ahci_command_wait(AHCIQState *ahci, AHCICommand *cmd) in ahci_command_wait()
1272 void ahci_command_issue(AHCIQState *ahci, AHCICommand *cmd) in ahci_command_issue()
1278 void ahci_command_verify(AHCIQState *ahci, AHCICommand *cmd) in ahci_command_verify()
1295 uint8_t ahci_command_slot(AHCICommand *cmd) in ahci_command_slot()