Lines Matching refs:SpaprVioDevice

46     SpaprVioDevice *dev = VIO_SPAPR_DEVICE(qdev);  in spapr_vio_get_dev_name()
68 SpaprVioDevice *spapr_vio_find_by_reg(SpaprVioBus *bus, uint32_t reg) in spapr_vio_find_by_reg()
71 SpaprVioDevice *dev = NULL; in spapr_vio_find_by_reg()
74 dev = (SpaprVioDevice *)kid->child; in spapr_vio_find_by_reg()
83 static int vio_make_devnode(SpaprVioDevice *dev, in vio_make_devnode()
165 SpaprVioDevice *dev = spapr_vio_find_by_reg(spapr->vio_bus, reg); in h_reg_crq()
204 static target_ulong free_crq(SpaprVioDevice *dev) in free_crq()
219 SpaprVioDevice *dev = spapr_vio_find_by_reg(spapr->vio_bus, reg); in h_free_crq()
235 SpaprVioDevice *dev = spapr_vio_find_by_reg(spapr->vio_bus, reg); in h_send_crq()
256 SpaprVioDevice *dev = spapr_vio_find_by_reg(spapr->vio_bus, reg); in h_enable_crq()
267 int spapr_vio_send_crq(SpaprVioDevice *dev, uint8_t *crq) in spapr_vio_send_crq()
310 static void spapr_vio_quiesce_one(SpaprVioDevice *dev) in spapr_vio_quiesce_one()
318 void spapr_vio_set_bypass(SpaprVioDevice *dev, bool bypass) in spapr_vio_set_bypass()
336 SpaprVioDevice *dev; in rtas_set_tce_bypass()
368 SpaprVioDevice *dev = NULL; in rtas_quiesce()
376 dev = (SpaprVioDevice *)kid->child; in rtas_quiesce()
383 static SpaprVioDevice *reg_conflict(SpaprVioDevice *dev) in reg_conflict()
387 SpaprVioDevice *other; in reg_conflict()
407 SpaprVioDevice *dev = VIO_SPAPR_DEVICE(qdev); in spapr_vio_busdev_reset()
473 SpaprVioDevice *dev = (SpaprVioDevice *)qdev; in spapr_vio_busdev_realize()
484 SpaprVioDevice *other = reg_conflict(dev); in spapr_vio_busdev_realize()
551 SpaprVioDevice *dev = spapr_vio_find_by_reg(spapr->vio_bus, reg); in h_vio_signal()
621 VMSTATE_UINT32_EQUAL(reg, SpaprVioDevice, NULL),
622 VMSTATE_UINT32_EQUAL(irq, SpaprVioDevice, NULL),
625 VMSTATE_UINT64(signal_state, SpaprVioDevice),
626 VMSTATE_UINT64(crq.qladdr, SpaprVioDevice),
627 VMSTATE_UINT32(crq.qsize, SpaprVioDevice),
628 VMSTATE_UINT32(crq.qnext, SpaprVioDevice),
645 .instance_size = sizeof(SpaprVioDevice),
662 SpaprVioDevice const *dev1, *dev2; in type_init()
664 dev1 = (SpaprVioDevice *)*(DeviceState **)p1; in type_init()
665 dev2 = (SpaprVioDevice *)*(DeviceState **)p2; in type_init()
713 SpaprVioDevice *dev = (SpaprVioDevice *)(qdevs[i]); in spapr_dt_vdevice()
729 SpaprVioDevice *dev; in spapr_vio_stdout_path()