Lines Matching refs:AHCIQState
52 static void ahci_test_port_spec(AHCIQState *ahci, uint8_t port);
53 static void ahci_test_pci_spec(AHCIQState *ahci);
54 static void ahci_test_pci_caps(AHCIQState *ahci, uint16_t header,
56 static void ahci_test_satacap(AHCIQState *ahci, uint8_t offset);
57 static void ahci_test_msicap(AHCIQState *ahci, uint8_t offset);
58 static void ahci_test_pmcap(AHCIQState *ahci, uint8_t offset);
81 static void verify_state(AHCIQState *ahci, uint64_t hba_old) in verify_state()
115 static void ahci_migrate(AHCIQState *from, AHCIQState *to, const char *uri) in ahci_migrate()
135 memcpy(to, from, sizeof(AHCIQState)); in ahci_migrate()
141 memset(from, 0x00, sizeof(AHCIQState)); in ahci_migrate()
155 static AHCIQState *ahci_vboot(const char *cli, va_list ap) in ahci_vboot()
157 AHCIQState *s; in ahci_vboot()
159 s = g_new0(AHCIQState, 1); in ahci_vboot()
173 static AHCIQState *ahci_boot(const char *cli, ...) in ahci_boot()
175 AHCIQState *s; in ahci_boot()
197 static void ahci_shutdown(AHCIQState *ahci) in ahci_shutdown()
212 static AHCIQState *ahci_boot_and_enable(const char *cli, ...) in ahci_boot_and_enable()
214 AHCIQState *ahci; in ahci_boot_and_enable()
248 static void ahci_test_pci_spec(AHCIQState *ahci) in ahci_test_pci_spec()
360 static void ahci_test_pci_caps(AHCIQState *ahci, uint16_t header, in ahci_test_pci_caps()
391 static void ahci_test_satacap(AHCIQState *ahci, uint8_t offset) in ahci_test_satacap()
426 static void ahci_test_msicap(AHCIQState *ahci, uint8_t offset) in ahci_test_msicap()
457 static void ahci_test_pmcap(AHCIQState *ahci, uint8_t offset) in ahci_test_pmcap()
476 static void ahci_test_hba_spec(AHCIQState *ahci) in ahci_test_hba_spec()
643 static void ahci_test_port_spec(AHCIQState *ahci, uint8_t port) in ahci_test_port_spec()
794 static void ahci_test_identify(AHCIQState *ahci) in ahci_test_identify()
852 static void ahci_test_io_rw_simple(AHCIQState *ahci, unsigned bufsize, in ahci_test_io_rw_simple()
890 static uint8_t ahci_test_nondata(AHCIQState *ahci, uint8_t ide_cmd) in ahci_test_nondata()
903 static void ahci_test_flush(AHCIQState *ahci) in ahci_test_flush()
908 static void ahci_test_max(AHCIQState *ahci) in ahci_test_max()
945 AHCIQState *ahci; in test_sanity()
956 AHCIQState *ahci; in test_pci_spec()
968 AHCIQState *ahci; in test_pci_enable()
980 AHCIQState *ahci; in test_hba_spec()
994 AHCIQState *ahci; in test_hba_enable()
1008 AHCIQState *ahci; in test_identify()
1023 AHCIQState *ahci; in test_dma_fragmented()
1073 static void make_dirty(AHCIQState* ahci, uint8_t port) in make_dirty()
1087 AHCIQState *ahci; in test_flush()
1103 AHCIQState *ahci; in test_flush_retry()
1134 AHCIQState *src, *dst; in test_migrate_sanity()
1155 AHCIQState *src, *dst; in ahci_migrate_simple()
1210 AHCIQState *ahci; in ahci_halted_io_test()
1275 AHCIQState *src, *dst; in ahci_migrate_halted_io()
1348 AHCIQState *src, *dst; in test_flush_migrate()
1397 AHCIQState *ahci; in test_max()
1406 AHCIQState *ahci; in test_reset()
1429 AHCIQState *ahci; in test_reset_pending_callback()
1512 AHCIQState *ahci; in test_ncq_simple()
1550 static int ahci_cb_cmp_buff(AHCIQState *ahci, AHCICommand *cmd, in ahci_cb_cmp_buff()
1571 AHCIQState *ahci; in ahci_test_cdrom()
1636 static void atapi_wait_tray(AHCIQState *ahci, bool open) in atapi_wait_tray()
1651 AHCIQState *ahci; in test_atapi_tray()
1846 AHCIQState *ahci; in test_io_rw_interface()