Home | History | Annotate | Download | only in rockchip

Lines Matching defs:ranges

402 	/* Default bus ranges */
451 const u_int *ranges;
464 ranges = fdtbus_get_prop(sc->sc_phsc.sc_phandle, "ranges", &ranges_len);
465 if (ranges == NULL)
471 switch (be32toh(ranges[i]) & 0x03000000) {
483 addr = ((uint64_t)be32toh(ranges[i + 1]) << 32) + be32toh(ranges[i + 2]);
484 aaddr = ((uint64_t)be32toh(ranges[i + 3]) << 32) + be32toh(ranges[i + 4]);
485 size = be32toh(ranges[i + 6]);
523 device_printf(sc->sc_phsc.sc_dev, "can't map ranges\n");