Home | History | Annotate | Download | only in hw

Lines Matching full:opaque

155 static void gic_set_irq(void *opaque, int irq, int level)
157 gic_state *s = (gic_state *)opaque;
241 static uint32_t gic_dist_readb(void *opaque, target_phys_addr_t offset)
243 gic_state *s = (gic_state *)opaque;
351 static uint32_t gic_dist_readw(void *opaque, target_phys_addr_t offset)
354 val = gic_dist_readb(opaque, offset);
355 val |= gic_dist_readb(opaque, offset + 1) << 8;
359 static uint32_t gic_dist_readl(void *opaque, target_phys_addr_t offset)
363 gic_state *s = (gic_state *)opaque;
369 val = gic_dist_readw(opaque, offset);
370 val |= gic_dist_readw(opaque, offset + 2) << 16;
374 static void gic_dist_writeb(void *opaque, target_phys_addr_t offset,
377 gic_state *s = (gic_state *)opaque;
512 static void gic_dist_writew(void *opaque, target_phys_addr_t offset,
515 gic_dist_writeb(opaque, offset, value & 0xff);
516 gic_dist_writeb(opaque, offset + 1, value >> 8);
519 static void gic_dist_writel(void *opaque, target_phys_addr_t offset,
522 gic_state *s = (gic_state *)opaque;
557 gic_dist_writew(opaque, offset, value & 0xffff);
558 gic_dist_writew(opaque, offset + 2, value >> 16);
647 static void gic_save(QEMUFile *f, void *opaque)
649 gic_state *s = (gic_state *)opaque;
681 static int gic_load(QEMUFile *f, void *opaque, int version_id)
683 gic_state *s = (gic_state *)opaque;