Lines Matching refs:AHCIDevice

45 static bool ahci_write_fis_d2h(AHCIDevice *ad);
46 static void ahci_init_d2h(AHCIDevice *ad);
48 static bool ahci_map_clb_address(AHCIDevice *ad);
49 static bool ahci_map_fis_address(AHCIDevice *ad);
50 static void ahci_unmap_clb_address(AHCIDevice *ad);
51 static void ahci_unmap_fis_address(AHCIDevice *ad);
227 static void ahci_trigger_irq(AHCIState *s, AHCIDevice *d, in ahci_trigger_irq()
267 static int ahci_cond_start_engines(AHCIDevice *ad) in ahci_cond_start_engines()
602 AHCIDevice *ad = opaque; in ahci_check_cmd_bh()
610 static void ahci_init_d2h(AHCIDevice *ad) in ahci_init_d2h()
630 static void ahci_set_signature(AHCIDevice *ad, uint32_t sig) in ahci_set_signature()
644 AHCIDevice *d = &s->dev[port]; in ahci_reset_port()
719 static bool ahci_map_fis_address(AHCIDevice *ad) in ahci_map_fis_address()
733 static void ahci_unmap_fis_address(AHCIDevice *ad) in ahci_unmap_fis_address()
745 static bool ahci_map_clb_address(AHCIDevice *ad) in ahci_map_clb_address()
760 static void ahci_unmap_clb_address(AHCIDevice *ad) in ahci_unmap_clb_address()
774 AHCIDevice *ad = ncq_tfs->drive; in ahci_write_fis_sdb()
808 static void ahci_write_fis_pio(AHCIDevice *ad, uint16_t len, bool pio_fis_i) in ahci_write_fis_pio()
851 static bool ahci_write_fis_d2h(AHCIDevice *ad) in ahci_write_fis_d2h()
914 static int ahci_populate_sglist(AHCIDevice *ad, QEMUSGList *sglist, in ahci_populate_sglist()
1067 AHCIDevice *ad = ncq_tfs->drive; in execute_ncq_command()
1106 AHCIDevice *ad = &s->dev[port]; in process_ncq_command()
1345 AHCIDevice *ad = DO_UPCAST(AHCIDevice, dma, dma); in ahci_pio_transfer()
1405 AHCIDevice *ad = DO_UPCAST(AHCIDevice, dma, dma); in ahci_start_dma()
1422 AHCIDevice *ad = DO_UPCAST(AHCIDevice, dma, dma); in ahci_restart()
1439 AHCIDevice *ad = DO_UPCAST(AHCIDevice, dma, dma); in ahci_dma_prepare_buf()
1460 AHCIDevice *ad = DO_UPCAST(AHCIDevice, dma, dma); in ahci_commit_buf()
1468 AHCIDevice *ad = DO_UPCAST(AHCIDevice, dma, dma); in ahci_dma_rw_buf()
1493 AHCIDevice *ad = DO_UPCAST(AHCIDevice, dma, dma); in ahci_cmd_done()
1545 s->dev = g_new0(AHCIDevice, ports); in ahci_realize()
1549 AHCIDevice *ad = &s->dev[i]; in ahci_realize()
1568 AHCIDevice *ad = &s->dev[i]; in ahci_uninit()
1628 VMSTATE_IDE_BUS(port, AHCIDevice),
1629 VMSTATE_IDE_DRIVE(port.ifs[0], AHCIDevice),
1630 VMSTATE_UINT32(port_state, AHCIDevice),
1631 VMSTATE_UINT32(finished, AHCIDevice),
1632 VMSTATE_UINT32(port_regs.lst_addr, AHCIDevice),
1633 VMSTATE_UINT32(port_regs.lst_addr_hi, AHCIDevice),
1634 VMSTATE_UINT32(port_regs.fis_addr, AHCIDevice),
1635 VMSTATE_UINT32(port_regs.fis_addr_hi, AHCIDevice),
1636 VMSTATE_UINT32(port_regs.irq_stat, AHCIDevice),
1637 VMSTATE_UINT32(port_regs.irq_mask, AHCIDevice),
1638 VMSTATE_UINT32(port_regs.cmd, AHCIDevice),
1639 VMSTATE_UINT32(port_regs.tfdata, AHCIDevice),
1640 VMSTATE_UINT32(port_regs.sig, AHCIDevice),
1641 VMSTATE_UINT32(port_regs.scr_stat, AHCIDevice),
1642 VMSTATE_UINT32(port_regs.scr_ctl, AHCIDevice),
1643 VMSTATE_UINT32(port_regs.scr_err, AHCIDevice),
1644 VMSTATE_UINT32(port_regs.scr_act, AHCIDevice),
1645 VMSTATE_UINT32(port_regs.cmd_issue, AHCIDevice),
1646 VMSTATE_BOOL(done_first_drq, AHCIDevice),
1647 VMSTATE_INT32(busy_slot, AHCIDevice),
1648 VMSTATE_BOOL(init_d2h_sent, AHCIDevice),
1649 VMSTATE_STRUCT_ARRAY(ncq_tfs, AHCIDevice, AHCI_MAX_CMDS,
1658 struct AHCIDevice *ad; in ahci_state_post_load()
1746 vmstate_ahci_device, AHCIDevice),