Lines Matching refs:SpaprVioDevice
31 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
80 SpaprVioDevice *spapr_vio_find_by_reg(SpaprVioBus *bus, uint32_t reg); argument
84 static inline void spapr_vio_irq_pulse(SpaprVioDevice *dev) in spapr_vio_irq_pulse()
91 static inline bool spapr_vio_dma_valid(SpaprVioDevice *dev, uint64_t taddr, in spapr_vio_dma_valid()
97 static inline int spapr_vio_dma_read(SpaprVioDevice *dev, uint64_t taddr, in spapr_vio_dma_read()
105 static inline int spapr_vio_dma_write(SpaprVioDevice *dev, uint64_t taddr, in spapr_vio_dma_write()
113 static inline int spapr_vio_dma_set(SpaprVioDevice *dev, uint64_t taddr, in spapr_vio_dma_set()
136 int spapr_vio_send_crq(SpaprVioDevice *dev, uint8_t *crq);
138 SpaprVioDevice *vty_lookup(SpaprMachineState *spapr, target_ulong reg);
139 void vty_putchars(SpaprVioDevice *sdev, uint8_t *buf, int len);
144 SpaprVioDevice *spapr_vty_get_default(SpaprVioBus *bus);
149 VMSTATE_STRUCT(_f, _s, 0, vmstate_spapr_vio, SpaprVioDevice)
151 void spapr_vio_set_bypass(SpaprVioDevice *dev, bool bypass);