Home | History | Annotate | Download | only in fdt

Lines Matching defs:imap

464 	const u_int *imap, *imask;
472 imap = fdtbus_get_prop(sc->sc_phandle, "interrupt-map", &imaplen);
474 if (imap == NULL || imask == NULL || imasklen != 16)
489 const int map_ihandle = fdtbus_get_phandle_from_native(be32toh(imap[4]));
497 if ((imap[0] & imask[0]) == match[0] &&
498 (imap[1] & imask[1]) == match[1] &&
499 (imap[2] & imask[2]) == match[2] &&
500 (imap[3] & imask[3]) == match[3]) {
505 imap += (5 + addr_cells + interrupt_cells);
518 const u_int *imap;
520 imap = fdtbus_get_prop(sc->sc_phandle, "interrupt-map", &imaplen);
521 KASSERT(imap != NULL);
525 const int map_ihandle = fdtbus_get_phandle_from_native(be32toh(imap[4]));
535 return imap + 5 + addr_cells;
538 imap += (5 + addr_cells + interrupt_cells);