Home
last modified time | relevance | path

Searched refs:SpaprVioDevice (Results 1 – 9 of 9) sorted by relevance

/openbmc/qemu/include/hw/ppc/
H A Dspapr_vio.h31 OBJECT_DECLARE_TYPE(SpaprVioDevice, SpaprVioDeviceClass,
43 int(*SendFunc)(struct SpaprVioDevice *vdev, uint8_t *crq);
53 void (*realize)(SpaprVioDevice *dev, Error **errp);
54 void (*reset)(SpaprVioDevice *dev);
55 int (*devnode)(SpaprVioDevice *dev, void *fdt, int node_off);
56 const char *(*get_dt_compatible)(SpaprVioDevice *dev);
59 struct SpaprVioDevice { struct
84 static inline void spapr_vio_irq_pulse(SpaprVioDevice *dev) in spapr_vio_irq_pulse()
136 int spapr_vio_send_crq(SpaprVioDevice *dev, uint8_t *crq);
144 SpaprVioDevice *spapr_vty_get_default(SpaprVioBus *bus);
[all …]
H A Dspapr.h884 struct SpaprVioDevice *vdev; /* for @bypass migration compatibility only */
/openbmc/qemu/hw/ppc/
H A Dspapr_vio.c71 SpaprVioDevice *dev = NULL; in spapr_vio_find_by_reg()
74 dev = (SpaprVioDevice *)kid->child; in spapr_vio_find_by_reg()
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()
473 SpaprVioDevice *dev = (SpaprVioDevice *)qdev; in spapr_vio_busdev_realize()
662 SpaprVioDevice const *dev1, *dev2; in type_init()
713 SpaprVioDevice *dev = (SpaprVioDevice *)(qdevs[i]); in spapr_dt_vdevice()
[all …]
H A Dspapr_rtas.c60 SpaprVioDevice *sdev = vty_lookup(spapr, 0); in rtas_display_character()
/openbmc/qemu/hw/char/
H A Dspapr_vty.c16 SpaprVioDevice sdev;
55 static int vty_getchars(SpaprVioDevice *sdev, uint8_t *buf, int max) in vty_getchars()
81 void vty_putchars(SpaprVioDevice *sdev, uint8_t *buf, int len) in vty_putchars()
90 static void spapr_vty_realize(SpaprVioDevice *sdev, Error **errp) in spapr_vty_realize()
111 SpaprVioDevice *sdev; in h_put_term_char()
138 SpaprVioDevice *sdev; in h_get_term_char()
207 SpaprVioDevice *spapr_vty_get_default(SpaprVioBus *bus) in spapr_vty_get_default()
209 SpaprVioDevice *sdev, *selected; in spapr_vty_get_default()
244 SpaprVioDevice *vty_lookup(SpaprMachineState *spapr, target_ulong reg) in vty_lookup()
246 SpaprVioDevice *sdev; in vty_lookup()
/openbmc/qemu/hw/tpm/
H A Dtpm_spapr.c70 SpaprVioDevice vdev;
126 static inline int spapr_tpm_send_crq(struct SpaprVioDevice *dev, TpmCrq *crq) in spapr_tpm_send_crq()
131 static int tpm_spapr_do_crq(struct SpaprVioDevice *dev, uint8_t *crq_data) in tpm_spapr_do_crq()
280 static const char *tpm_spapr_get_dt_compatible(SpaprVioDevice *dev) in tpm_spapr_get_dt_compatible()
294 static void tpm_spapr_reset(SpaprVioDevice *dev) in tpm_spapr_reset()
374 static void tpm_spapr_realizefn(SpaprVioDevice *dev, Error **errp) in tpm_spapr_realizefn()
/openbmc/qemu/hw/net/
H A Dspapr_llan.c99 SpaprVioDevice sdev;
207 SpaprVioDevice *sdev = VIO_SPAPR_DEVICE(dev); in spapr_vlan_receive()
299 static void spapr_vlan_reset(SpaprVioDevice *sdev) in spapr_vlan_reset()
319 static void spapr_vlan_realize(SpaprVioDevice *sdev, Error **errp) in spapr_vlan_realize()
381 static int spapr_vlan_devnode(SpaprVioDevice *dev, void *fdt, int node_off) in spapr_vlan_devnode()
445 SpaprVioDevice *sdev = spapr_vio_find_by_reg(spapr->vio_bus, reg); in h_register_logical_lan()
507 SpaprVioDevice *sdev = spapr_vio_find_by_reg(spapr->vio_bus, reg); in h_free_logical_lan()
637 SpaprVioDevice *sdev = spapr_vio_find_by_reg(spapr->vio_bus, reg); in h_add_logical_lan_buffer()
687 SpaprVioDevice *sdev = spapr_vio_find_by_reg(spapr->vio_bus, reg); in h_send_logical_lan()
753 SpaprVioDevice *dev = spapr_vio_find_by_reg(spapr->vio_bus, reg); in h_multicast_ctrl()
[all …]
/openbmc/qemu/hw/nvram/
H A Dspapr_nvram.c44 SpaprVioDevice sdev;
145 static void spapr_nvram_realize(SpaprVioDevice *dev, Error **errp) in spapr_nvram_realize()
200 static int spapr_nvram_devnode(SpaprVioDevice *dev, void *fdt, int node_off) in spapr_nvram_devnode()
/openbmc/qemu/hw/scsi/
H A Dspapr_vscsi.c96 SpaprVioDevice vdev;
1131 static int vscsi_do_crq(struct SpaprVioDevice *dev, uint8_t *crq_data) in vscsi_do_crq()
1203 static void spapr_vscsi_reset(SpaprVioDevice *dev) in spapr_vscsi_reset()
1214 static void spapr_vscsi_realize(SpaprVioDevice *dev, Error **errp) in spapr_vscsi_realize()
1236 static int spapr_vscsi_devnode(SpaprVioDevice *dev, void *fdt, int node_off) in spapr_vscsi_devnode()