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()
601 AHCIDevice *ad = opaque; in ahci_check_cmd_bh()
609 static void ahci_init_d2h(AHCIDevice *ad) in ahci_init_d2h()
629 static void ahci_set_signature(AHCIDevice *ad, uint32_t sig) in ahci_set_signature()
643 AHCIDevice *d = &s->dev[port]; in ahci_reset_port()
718 static bool ahci_map_fis_address(AHCIDevice *ad) in ahci_map_fis_address()
732 static void ahci_unmap_fis_address(AHCIDevice *ad) in ahci_unmap_fis_address()
744 static bool ahci_map_clb_address(AHCIDevice *ad) in ahci_map_clb_address()
759 static void ahci_unmap_clb_address(AHCIDevice *ad) in ahci_unmap_clb_address()
773 AHCIDevice *ad = ncq_tfs->drive; in ahci_write_fis_sdb()
807 static void ahci_write_fis_pio(AHCIDevice *ad, uint16_t len, bool pio_fis_i) in ahci_write_fis_pio()
850 static bool ahci_write_fis_d2h(AHCIDevice *ad) in ahci_write_fis_d2h()
913 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()
1543 s->dev = g_new0(AHCIDevice, ports); in ahci_realize()
1547 AHCIDevice *ad = &s->dev[i]; in ahci_realize()
1566 AHCIDevice *ad = &s->dev[i]; in ahci_uninit()
1626 VMSTATE_IDE_BUS(port, AHCIDevice),
1627 VMSTATE_IDE_DRIVE(port.ifs[0], AHCIDevice),
1628 VMSTATE_UINT32(port_state, AHCIDevice),
1629 VMSTATE_UINT32(finished, AHCIDevice),
1630 VMSTATE_UINT32(port_regs.lst_addr, AHCIDevice),
1631 VMSTATE_UINT32(port_regs.lst_addr_hi, AHCIDevice),
1632 VMSTATE_UINT32(port_regs.fis_addr, AHCIDevice),
1633 VMSTATE_UINT32(port_regs.fis_addr_hi, AHCIDevice),
1634 VMSTATE_UINT32(port_regs.irq_stat, AHCIDevice),
1635 VMSTATE_UINT32(port_regs.irq_mask, AHCIDevice),
1636 VMSTATE_UINT32(port_regs.cmd, AHCIDevice),
1637 VMSTATE_UINT32(port_regs.tfdata, AHCIDevice),
1638 VMSTATE_UINT32(port_regs.sig, AHCIDevice),
1639 VMSTATE_UINT32(port_regs.scr_stat, AHCIDevice),
1640 VMSTATE_UINT32(port_regs.scr_ctl, AHCIDevice),
1641 VMSTATE_UINT32(port_regs.scr_err, AHCIDevice),
1642 VMSTATE_UINT32(port_regs.scr_act, AHCIDevice),
1643 VMSTATE_UINT32(port_regs.cmd_issue, AHCIDevice),
1644 VMSTATE_BOOL(done_first_drq, AHCIDevice),
1645 VMSTATE_INT32(busy_slot, AHCIDevice),
1646 VMSTATE_BOOL(init_d2h_sent, AHCIDevice),
1647 VMSTATE_STRUCT_ARRAY(ncq_tfs, AHCIDevice, AHCI_MAX_CMDS,
1656 struct AHCIDevice *ad; in ahci_state_post_load()
1744 vmstate_ahci_device, AHCIDevice),