/src/sys/arch/arm/acpi/ |
gicv3_acpi.c | 191 const int redist = sc->sc_gic.sc_bsh_r_count; local in function:gicv3_acpi_map_gicr 192 if (bus_space_subregion(sc->sc_gic.sc_bst, bsh, off, GICR_SIZE, &sc->sc_gic.sc_bsh_r[redist]) != 0) { 197 aprint_debug_dev(sc->sc_gic.sc_dev, "redist at 0x%" PRIx64 " [GICR]\n", gicr->BaseAddress + off); 201 /* If this is the last redist in this region, skip to the next one */ 202 const uint32_t typer = bus_space_read_4(sc->sc_gic.sc_bst, sc->sc_gic.sc_bsh_r[redist], GICR_TYPER); 242 const int redist = sc->sc_gic.sc_bsh_r_count; local in function:gicv3_acpi_map_gicc 243 if (bus_space_map(sc->sc_gic.sc_bst, gicc->GicrBaseAddress, GICR_SIZE, 0, &sc->sc_gic.sc_bsh_r[redist]) != 0) { 249 aprint_debug_dev(sc->sc_gic.sc_dev, "redist at 0x%" PRIx64 " [GICC]\n", gicc->GicrBaseAddress);
|
gicv3_acpi.c | 191 const int redist = sc->sc_gic.sc_bsh_r_count; local in function:gicv3_acpi_map_gicr 192 if (bus_space_subregion(sc->sc_gic.sc_bst, bsh, off, GICR_SIZE, &sc->sc_gic.sc_bsh_r[redist]) != 0) { 197 aprint_debug_dev(sc->sc_gic.sc_dev, "redist at 0x%" PRIx64 " [GICR]\n", gicr->BaseAddress + off); 201 /* If this is the last redist in this region, skip to the next one */ 202 const uint32_t typer = bus_space_read_4(sc->sc_gic.sc_bst, sc->sc_gic.sc_bsh_r[redist], GICR_TYPER); 242 const int redist = sc->sc_gic.sc_bsh_r_count; local in function:gicv3_acpi_map_gicc 243 if (bus_space_map(sc->sc_gic.sc_bst, gicc->GicrBaseAddress, GICR_SIZE, 0, &sc->sc_gic.sc_bsh_r[redist]) != 0) { 249 aprint_debug_dev(sc->sc_gic.sc_dev, "redist at 0x%" PRIx64 " [GICC]\n", gicc->GicrBaseAddress);
|
/src/sys/arch/arm/fdt/ |
gicv3_fdt.c | 210 int n, r, max_redist, redist; local in function:gicv3_fdt_map_registers 240 for (reg_off = 1, redist = 0, n = 0; n < redistributor_regions; n++, reg_off++) { 251 if (bus_space_subregion(sc->sc_gic.sc_bst, bsh, region_off, redistributor_stride, &gic->sc_bsh_r[redist++]) != 0) { 256 /* If this is the last redist in this region, skip to the next one */ 257 const uint32_t typer = bus_space_read_4(sc->sc_gic.sc_bst, gic->sc_bsh_r[redist - 1], GICR_TYPER); 262 gic->sc_bsh_r_count = redist;
|
gicv3_fdt.c | 210 int n, r, max_redist, redist; local in function:gicv3_fdt_map_registers 240 for (reg_off = 1, redist = 0, n = 0; n < redistributor_regions; n++, reg_off++) { 251 if (bus_space_subregion(sc->sc_gic.sc_bst, bsh, region_off, redistributor_stride, &gic->sc_bsh_r[redist++]) != 0) { 256 /* If this is the last redist in this region, skip to the next one */ 257 const uint32_t typer = bus_space_read_4(sc->sc_gic.sc_bst, gic->sc_bsh_r[redist - 1], GICR_TYPER); 262 gic->sc_bsh_r_count = redist;
|