Lines Matching defs:imap
483 const u_int *imap, *imask;
491 imap = fdtbus_get_prop(sc->sc_phandle, "interrupt-map", &imaplen);
493 if (imap == NULL || imask == NULL || imasklen != 16)
508 const int map_ihandle = fdtbus_get_phandle_from_native(be32toh(imap[4]));
516 if ((imap[0] & imask[0]) == match[0] &&
517 (imap[1] & imask[1]) == match[1] &&
518 (imap[2] & imask[2]) == match[2] &&
519 (imap[3] & imask[3]) == match[3]) {
524 imap += (5 + addr_cells + interrupt_cells);
537 const u_int *imap;
539 imap = fdtbus_get_prop(sc->sc_phandle, "interrupt-map", &imaplen);
540 KASSERT(imap != NULL);
544 const int map_ihandle = fdtbus_get_phandle_from_native(be32toh(imap[4]));
554 return imap + 5 + addr_cells;
557 imap += (5 + addr_cells + interrupt_cells);