Lines Matching refs:AHCIDevice
42 static bool ahci_write_fis_d2h(AHCIDevice *ad);
43 static void ahci_init_d2h(AHCIDevice *ad);
45 static bool ahci_map_clb_address(AHCIDevice *ad);
46 static bool ahci_map_fis_address(AHCIDevice *ad);
47 static void ahci_unmap_clb_address(AHCIDevice *ad);
48 static void ahci_unmap_fis_address(AHCIDevice *ad);
224 static void ahci_trigger_irq(AHCIState *s, AHCIDevice *d, in ahci_trigger_irq()
264 static int ahci_cond_start_engines(AHCIDevice *ad) in ahci_cond_start_engines()
598 AHCIDevice *ad = opaque; in ahci_check_cmd_bh()
606 static void ahci_init_d2h(AHCIDevice *ad) in ahci_init_d2h()
626 static void ahci_set_signature(AHCIDevice *ad, uint32_t sig) in ahci_set_signature()
640 AHCIDevice *d = &s->dev[port]; in ahci_reset_port()
715 static bool ahci_map_fis_address(AHCIDevice *ad) in ahci_map_fis_address()
729 static void ahci_unmap_fis_address(AHCIDevice *ad) in ahci_unmap_fis_address()
741 static bool ahci_map_clb_address(AHCIDevice *ad) in ahci_map_clb_address()
756 static void ahci_unmap_clb_address(AHCIDevice *ad) in ahci_unmap_clb_address()
770 AHCIDevice *ad = ncq_tfs->drive; in ahci_write_fis_sdb()
804 static void ahci_write_fis_pio(AHCIDevice *ad, uint16_t len, bool pio_fis_i) in ahci_write_fis_pio()
847 static bool ahci_write_fis_d2h(AHCIDevice *ad) in ahci_write_fis_d2h()
910 static int ahci_populate_sglist(AHCIDevice *ad, QEMUSGList *sglist, in ahci_populate_sglist()
1066 AHCIDevice *ad = ncq_tfs->drive; in execute_ncq_command()
1105 AHCIDevice *ad = &s->dev[port]; in process_ncq_command()
1343 AHCIDevice *ad = DO_UPCAST(AHCIDevice, dma, dma); in ahci_pio_transfer()
1403 AHCIDevice *ad = DO_UPCAST(AHCIDevice, dma, dma); in ahci_start_dma()
1420 AHCIDevice *ad = DO_UPCAST(AHCIDevice, dma, dma); in ahci_restart()
1437 AHCIDevice *ad = DO_UPCAST(AHCIDevice, dma, dma); in ahci_dma_prepare_buf()
1458 AHCIDevice *ad = DO_UPCAST(AHCIDevice, dma, dma); in ahci_commit_buf()
1466 AHCIDevice *ad = DO_UPCAST(AHCIDevice, dma, dma); in ahci_dma_rw_buf()
1491 AHCIDevice *ad = DO_UPCAST(AHCIDevice, dma, dma); in ahci_cmd_done()
1542 s->dev = g_new0(AHCIDevice, ports); in ahci_realize()
1546 AHCIDevice *ad = &s->dev[i]; in ahci_realize()
1565 AHCIDevice *ad = &s->dev[i]; in ahci_uninit()
1625 VMSTATE_IDE_BUS(port, AHCIDevice),
1626 VMSTATE_IDE_DRIVE(port.ifs[0], AHCIDevice),
1627 VMSTATE_UINT32(port_state, AHCIDevice),
1628 VMSTATE_UINT32(finished, AHCIDevice),
1629 VMSTATE_UINT32(port_regs.lst_addr, AHCIDevice),
1630 VMSTATE_UINT32(port_regs.lst_addr_hi, AHCIDevice),
1631 VMSTATE_UINT32(port_regs.fis_addr, AHCIDevice),
1632 VMSTATE_UINT32(port_regs.fis_addr_hi, AHCIDevice),
1633 VMSTATE_UINT32(port_regs.irq_stat, AHCIDevice),
1634 VMSTATE_UINT32(port_regs.irq_mask, AHCIDevice),
1635 VMSTATE_UINT32(port_regs.cmd, AHCIDevice),
1636 VMSTATE_UINT32(port_regs.tfdata, AHCIDevice),
1637 VMSTATE_UINT32(port_regs.sig, AHCIDevice),
1638 VMSTATE_UINT32(port_regs.scr_stat, AHCIDevice),
1639 VMSTATE_UINT32(port_regs.scr_ctl, AHCIDevice),
1640 VMSTATE_UINT32(port_regs.scr_err, AHCIDevice),
1641 VMSTATE_UINT32(port_regs.scr_act, AHCIDevice),
1642 VMSTATE_UINT32(port_regs.cmd_issue, AHCIDevice),
1643 VMSTATE_BOOL(done_first_drq, AHCIDevice),
1644 VMSTATE_INT32(busy_slot, AHCIDevice),
1645 VMSTATE_BOOL(init_d2h_sent, AHCIDevice),
1646 VMSTATE_STRUCT_ARRAY(ncq_tfs, AHCIDevice, AHCI_MAX_CMDS,
1655 struct AHCIDevice *ad; in ahci_state_post_load()
1742 vmstate_ahci_device, AHCIDevice),