Lines Matching refs:nb_cpus
369 for (i = 0; i < opp->nb_cpus; i++) { in openpic_update_irq()
377 if (i == opp->nb_cpus) { in openpic_update_irq()
449 uint32_t normal_mask = (1UL << opp->nb_cpus) - 1; in write_IRQreg_idr()
452 int crit_shift = IDR_EP_SHIFT - opp->nb_cpus; in write_IRQreg_idr()
474 for (i = 0; i < opp->nb_cpus; i++) { in write_IRQreg_idr()
596 for (idx = 0; idx < opp->nb_cpus; idx++) { in openpic_gbl_write()
977 if (idx < 0 || idx >= opp->nb_cpus) { in openpic_cpu_write_internal()
1119 if (idx < 0 || idx >= opp->nb_cpus) { in openpic_cpu_read_internal()
1262 ((opp->nb_cpus - 1) << FRR_NCPU_SHIFT) | in openpic_reset()
1296 for (i = 0; i < opp->nb_cpus; i++) { in openpic_reset()
1480 VMSTATE_UINT32_EQUAL(nb_cpus, OpenPICState, NULL),
1481 VMSTATE_STRUCT_VARRAY_UINT32(dst, OpenPICState, nb_cpus, 0,
1537 if (opp->nb_cpus > MAX_CPU) { in openpic_realize()
1539 TYPE_OPENPIC, "nb_cpus", (uint64_t)opp->nb_cpus, in openpic_realize()
1586 if (opp->nb_cpus != 1) { in openpic_realize()
1595 for (i = 0; i < opp->nb_cpus; i++) { in openpic_realize()
1613 DEFINE_PROP_UINT32("nb_cpus", OpenPICState, nb_cpus, 1),