Lines Matching defs:group
55 #define COMBINER_GROUP_BASE(group) (((group) / 4) * 0x10)
56 #define COMBINER_GROUP_MASK(group) (0xff << (((group) % 4) * 8))
58 #define COMBINER_IESR_REG(group) (COMBINER_GROUP_BASE(group) + 0x00)
59 #define COMBINER_IECR_REG(group) (COMBINER_GROUP_BASE(group) + 0x04)
60 #define COMBINER_ISTR_REG(group) (COMBINER_GROUP_BASE(group) + 0x08)
61 #define COMBINER_IMSR_REG(group) (COMBINER_GROUP_BASE(group) + 0x0c)
182 exynos_combiner_new_irq(struct exynos_combiner_irq_group *group,
189 n->irq_next = group->irq_entries;
192 group->irq_entries = n;
231 printf("%s: Unexpected irq (%d) on group %d\n", __func__,
250 const u_int group = be32toh(specifier[0]);
253 groupp = exynos_combiner_get_group(sc, group);
255 groupp = exynos_combiner_new_group(sc, group);
258 sc->sc_phandle, group, ipl /* XXX */, flags, func, NULL,
262 sc->sc_phandle, group, ipl /* XXX */, FDT_INTR_MPSAFE,
278 iesr = bus_space_read_4(sc->sc_bst, sc->sc_bsh, COMBINER_IESR_REG(group));
279 iesr |= __SHIFTIN((1 << intr), COMBINER_GROUP_MASK(group));
280 bus_space_write_4(sc->sc_bst, sc->sc_bsh, COMBINER_IESR_REG(group), iesr);
297 /* 1st cell is the combiner group number */
298 /* 2nd cell is the interrupt number within the group */
300 const u_int group = be32toh(specifier[0]);
303 snprintf(buf, buflen, "interrupt combiner group %d intr %d", group, intr);