Lines Matching refs:OpenPICState

205 static void IRQ_check(OpenPICState *opp, IRQQueue *q)  in IRQ_check()
230 static int IRQ_get_next(OpenPICState *opp, IRQQueue *q) in IRQ_get_next()
238 static void IRQ_local_pipe(OpenPICState *opp, int n_CPU, int n_IRQ, in IRQ_local_pipe()
325 static void openpic_update_irq(OpenPICState *opp, int n_IRQ) in openpic_update_irq()
390 OpenPICState *opp = opaque; in openpic_set_irq()
426 static inline uint32_t read_IRQreg_idr(OpenPICState *opp, int n_IRQ) in read_IRQreg_idr()
431 static inline uint32_t read_IRQreg_ilr(OpenPICState *opp, int n_IRQ) in read_IRQreg_ilr()
440 static inline uint32_t read_IRQreg_ivpr(OpenPICState *opp, int n_IRQ) in read_IRQreg_ivpr()
445 static inline void write_IRQreg_idr(OpenPICState *opp, int n_IRQ, uint32_t val) in write_IRQreg_idr()
490 static inline void write_IRQreg_ilr(OpenPICState *opp, int n_IRQ, uint32_t val) in write_IRQreg_ilr()
503 static inline void write_IRQreg_ivpr(OpenPICState *opp, int n_IRQ, uint32_t val) in write_IRQreg_ivpr()
542 static void openpic_gcr_write(OpenPICState *opp, uint64_t val) in openpic_gcr_write()
565 OpenPICState *opp = opaque; in openpic_gbl_write()
625 OpenPICState *opp = opaque; in openpic_gbl_read()
685 OpenPICState *opp = tmr->opp; in qemu_timer_cb()
748 OpenPICState *opp = opaque; in openpic_tmr_write()
792 OpenPICState *opp = opaque; in openpic_tmr_read()
831 OpenPICState *opp = opaque; in openpic_src_write()
855 OpenPICState *opp = opaque; in openpic_src_read()
884 OpenPICState *opp = opaque; in openpic_msi_write()
910 OpenPICState *opp = opaque; in openpic_msi_read()
968 OpenPICState *opp = opaque; in openpic_cpu_write_internal()
1055 static uint32_t openpic_iack(OpenPICState *opp, IRQDest *dst, int cpu) in openpic_iack()
1111 OpenPICState *opp = opaque; in openpic_cpu_read_internal()
1255 OpenPICState *opp = OPENPIC(d); in openpic_reset()
1324 static void fsl_common_init(OpenPICState *opp) in fsl_common_init()
1373 static void map_list(OpenPICState *opp, const MemReg *list, int *count) in map_list()
1453 OpenPICState *opp = (OpenPICState *)opaque; in openpic_post_load()
1471 VMSTATE_UINT32(gcr, OpenPICState),
1472 VMSTATE_UINT32(vir, OpenPICState),
1473 VMSTATE_UINT32(pir, OpenPICState),
1474 VMSTATE_UINT32(spve, OpenPICState),
1475 VMSTATE_UINT32(tfrr, OpenPICState),
1476 VMSTATE_UINT32(max_irq, OpenPICState),
1477 VMSTATE_STRUCT_VARRAY_UINT32(src, OpenPICState, max_irq, 0,
1479 VMSTATE_UINT32_EQUAL(nb_cpus, OpenPICState, NULL),
1480 VMSTATE_STRUCT_VARRAY_UINT32(dst, OpenPICState, nb_cpus, 0,
1482 VMSTATE_STRUCT_ARRAY(timers, OpenPICState, OPENPIC_MAX_TMR, 0,
1484 VMSTATE_STRUCT_ARRAY(msi, OpenPICState, MAX_MSI, 0,
1486 VMSTATE_UINT32(irq_ipi0, OpenPICState),
1487 VMSTATE_UINT32(irq_tim0, OpenPICState),
1488 VMSTATE_UINT32(irq_msi, OpenPICState),
1495 OpenPICState *opp = OPENPIC(obj); in openpic_init()
1503 OpenPICState *opp = OPENPIC(dev); in openpic_realize()
1609 DEFINE_PROP_UINT32("model", OpenPICState, model, OPENPIC_MODEL_FSL_MPIC_20),
1610 DEFINE_PROP_UINT32("nb_cpus", OpenPICState, nb_cpus, 1),
1628 .instance_size = sizeof(OpenPICState),