Lines Matching defs:imap
681 const u_int *imap, *imask;
689 imap = fdtbus_get_prop(sc->sc_phandle, "interrupt-map", &imaplen);
692 if (imap == NULL || imask == NULL || imasklen != 16)
705 const int map_ihandle = fdtbus_get_phandle_from_native(be32toh(imap[4]));
713 if ((imap[0] & imask[0]) == match[0] &&
714 (imap[1] & imask[1]) == match[1] &&
715 (imap[2] & imask[2]) == match[2] &&
716 (imap[3] & imask[3]) == match[3]) {
721 imap += (5 + addr_cells + interrupt_cells);
735 const u_int *imap;
738 imap = fdtbus_get_prop(sc->sc_phandle, "interrupt-map", &imaplen);
739 if (imap == NULL)
752 intc = fdtbus_get_phandle_from_native(be32toh(imap[int_cells + addr_cells]));
759 imap += addr_cells + int_cells + 1;
768 return imap;
771 imap += iaddr_cells + iint_cells;